/* ==========================================================================
   CSS Variables & Foundation
   ========================================================================== */
:root {
    --primary-color: #0b1c31; /* Deep Navy Blue from logo */
    --secondary-color: #e3a743; /* Gold/Orange from logo */
    --accent-color: #c48b29; /* Darker Gold for hover states */
    --text-main: #333333;
    --text-light: #666666;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Oswald', sans-serif;
    
    --transition-speed: 0.3s;
    --border-radius: 6px;
    --box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    --box-shadow-hover: 0 10px 25px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 16px;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: 0.5em;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; }

p {
    margin-bottom: 1em;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Layout Helpers
   ========================================================================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-padding {
    padding: 5rem 0;
}

.align-center {
    text-align: center;
}

.bg-light {
    background-color: var(--bg-light);
}

.text-white {
    color: var(--white);
}

/* Typography Utilities */
.eyebrow {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--secondary-color);
    display: block;
    margin-bottom: 1rem;
}

.accent-color {
    color: var(--secondary-color);
}

.lead {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: var(--border-radius);
    transition: all var(--transition-speed);
    cursor: pointer;
    font-family: var(--font-heading);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-text {
    padding: 0;
    background: none;
    color: var(--primary-color);
    font-weight: 700;
    text-transform: none;
}

.btn-text:hover {
    color: var(--secondary-color);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    background-color: var(--white);
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--secondary-color);
    font-weight: 500;
}

.primary-navigation {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.primary-navigation a {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.2s;
}

.primary-navigation a:not(.btn):hover {
    color: var(--secondary-color);
}

.primary-navigation a.btn-primary {
    color: var(--white);
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 2000;
}

.hamburger {
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    position: relative;
    transition: all 0.3s ease-in-out;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 3px;
    background-color: var(--primary-color);
    transition: all 0.3s ease-in-out;
    left: 0;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Mobile Menu Active State */
.mobile-nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--white);
    padding: 6rem 0;
    position: relative;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
}

.hero-content h1 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 300;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 3rem;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2rem;
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    border: 1px solid rgba(255,255,255,0.2);
}

.badge strong {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.section-header {
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--box-shadow-hover);
}

.service-img-wrapper {
    height: 250px;
    overflow: hidden;
}

.service-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrapper img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-content h3 {
    color: var(--primary-color);
}

.service-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-content .btn-text {
    margin-top: auto;
    align-self: flex-start;
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
}

.feature-icon {
    background-color: var(--primary-color);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-item h4 {
    color: var(--primary-color);
}

.feature-item p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Graphic for right side */
.brand-graphic {
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    padding: 4rem;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    box-shadow: var(--box-shadow);
    background-image: linear-gradient(135deg, var(--primary-color) 0%, #153255 100%);
}

.stats-box {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: translateX(-30px);
}

.stats-box.secondary {
    transform: translateX(30px);
    background: var(--secondary-color);
    color: var(--white);
}

.stat-number {
    display: block;
    font-size: 3.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stats-box.secondary .stat-number {
    color: var(--white);
}

.stat-label {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* ==========================================================================
   Reviews Section
   ========================================================================== */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
    box-shadow: var(--box-shadow);
}

.stars {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.review-text {
    font-style: italic;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.reviewer {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
    text-transform: uppercase;
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white);
    background-image: radial-gradient(circle at center, #153255 0%, var(--primary-color) 100%);
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.cta-section .btn-primary:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background-color: #05101c; /* Very dark blue */
    color: #a0aec0;
    padding-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.site-footer h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.site-footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-about .logo-text {
    color: var(--white);
    margin-bottom: 1rem;
    display: block;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #a0aec0;
}

.footer-links a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 0.8rem;
}

.footer-contact strong {
    color: var(--white);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input {
    padding: 0.8rem 1rem;
    border: 1px solid #2d3748;
    background-color: rgba(255,255,255,0.05);
    border-radius: var(--border-radius);
    color: var(--white);
    font-family: var(--font-primary);
}

.contact-form input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.footer-bottom {
    background-color: #020810;
    padding: 1.5rem 0;
    border-top: 1px solid #1a202c;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUpAnim 0.8s forwards ease-out;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeUpAnim {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   Media Queries (Responsive Design)
   ========================================================================== */
@media (max-width: 1024px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .brand-graphic {
        padding: 3rem;
    }
    
    .stats-box {
        transform: translateX(0);
    }
    
    .stats-box.secondary {
        transform: translateX(0);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .mobile-nav-toggle {
        display: block;
    }

    .primary-navigation {
        position: fixed;
        z-index: 1000;
        inset: 0 0 0 30%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: min(20vh, 6rem) 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-out;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        align-items: flex-start;
    }

    .primary-navigation[data-visible="true"] {
        transform: translateX(0);
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

    .section-padding {
        padding: 4rem 0;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 480px) {
    .trust-badges {
        flex-direction: column;
        align-items: stretch;
    }
    
    .badge {
        text-align: center;
    }
    
    .primary-navigation {
        inset: 0 0 0 0; /* Full screen menu on very small devices */
    }
}
