﻿/* =========================================================
   DOCLOGICAL DESIGN SYSTEM
   Clean | Modular | Scalable | Enterprise-Ready
========================================================= */


/* =========================================================
   BRAND TOKENS
========================================================= */

:root {
    --brand-primary: #194760;
    --brand-primary-dark: #14384c;
    --brand-primary-darker: #0f2f3f;
    --brand-accent: #BD3D13;
    --brand-light: #f8f9fa;
    --brand-text-dark: #212529;
    --brand-muted: #6c757d;
    --transition-fast: 0.2s ease;
    --bs-primary: var(--brand-primary);
    --bs-primary-rgb: 25, 71, 96;
}


/* =========================================================
   CONTAINER WIDTH CONTROL
========================================================= */

@media (min-width: 1400px) {
    .container {
        max-width: 1200px;
    }
}



/* =========================================================
   GLOBAL TYPOGRAPHY & BEHAVIOR
========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--brand-text-dark);
}

h1, h2, h3, h4, h5 {
    font-weight: 600;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    transition: color var(--transition-fast);
}


/* =========================================================
   LAYOUT UTILITIES
========================================================= */

section {
    position: relative;
}

.text-brand {
    color: var(--brand-primary);
}

.text-accent {
    color: var(--brand-accent);
}


/* =========================================================
   HERO SYSTEM (Reusable Across Pages)
========================================================= */

.hero-header {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    color: #ffffff;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

    .hero-header .container {
        position: relative;
        z-index: 2;
    }

/* Home Hero */
.hero-home {
    background-image: linear-gradient( rgba(25,71,96,0.85), rgba(25,71,96,0.75) ), url("/images/DocLogHero.png");
}

/* Example for future scalability
.hero-services { background-image: linear-gradient(...), url("/images/services.jpg"); }
.hero-solutions { background-image: linear-gradient(...), url("/images/solutions.jpg"); }
.hero-terms { background-image: linear-gradient(...), url("/images/terms.jpg"); }
*/

/* Hero Credential Card */

.hero-cred {
    background: #ffffff;
    color: var(--brand-primary);
}

    .hero-cred p {
        margin-bottom: 0.5rem;
    }


/* =========================================================
   NAVIGATION
========================================================= */

.navbar-logo {
    max-height: 32px;
    max-width: 200px;
    width: auto;
    height: auto;
}


/* =========================================================
   BOOTSTRAP BUTTON OVERRIDES
========================================================= */

/* Solid Primary */
.btn-primary {
    --bs-btn-bg: var(--brand-primary);
    --bs-btn-border-color: var(--brand-primary);
    --bs-btn-color: #ffffff;
    --bs-btn-hover-bg: var(--brand-primary-dark);
    --bs-btn-hover-border-color: var(--brand-primary-dark);
    --bs-btn-active-bg: var(--brand-primary-darker);
    --bs-btn-active-border-color: var(--brand-primary-darker);
}

/* Outline Primary */
.btn-outline-primary {
    --bs-btn-color: var(--brand-primary);
    --bs-btn-border-color: var(--brand-primary);
    --bs-btn-hover-bg: var(--brand-primary);
    --bs-btn-hover-border-color: var(--brand-primary);
    --bs-btn-hover-color: #ffffff;
}


/* =========================================================
   COOKIE CONSENT BANNER
========================================================= */

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    border-top: 1px solid #dee2e6;
    z-index: 1050;
    padding: 0.75rem 0;
    display: none;
}


/* =========================================================
   FOOTER
========================================================= */

.footer-social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.footer-icon {
    font-size: 22px;
    color: var(--brand-primary);
    text-decoration: none;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

    .footer-icon:hover {
        color: var(--brand-accent);
        transform: translateY(-2px);
    }


/* =========================================================
   SCROLL TO TOP BUTTON
========================================================= */

.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1040;
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    border: none;
    background-color: var(--brand-primary);
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: background-color var(--transition-fast), transform var(--transition-fast);
}

    .scroll-top-btn:hover {
        background-color: var(--brand-primary-dark);
        transform: translateY(-2px);
    }

    .scroll-top-btn:focus {
        outline: 2px solid #000;
        outline-offset: 2px;
    }


/* =========================================================
   MEDIA RESPONSIVENESS ENHANCEMENTS
========================================================= */

@media (max-width: 992px) {
    .hero-header {
        min-height: 420px;
    }
}

@media (max-width: 576px) {
    .hero-header {
        min-height: 360px;
    }
}
