:root {
    --primary-bg: #ffffff; /* Pure white background */
    --secondary-bg: #f8fafc; /* Very light slate for alternating sections */
    --accent-navy: #0a192f; /* Deep Navy Blue */
    --accent-gold: #d4af37; /* Elegant gold */
    --accent-gold-hover: #e5c35b;
    --text-main: #0f172a; /* Dark navy text for readability */
    --text-muted: #475569; /* Slate gray for secondary text */
    --border-color: #e2e8f0; /* Light gray border */
    --glass-bg: rgba(255, 255, 255, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-main);
    line-height: 1.6;
    font-size: 1.05rem;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--accent-navy);
}

/* Header & Navigation */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: var(--accent-navy); /* Navy Blue Header */
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 2px;
}

.logo span {
    color: var(--accent-gold);
}

/* Split Header Layout */
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (min-width: 993px) {
    header.split-header {
        background: transparent;
        box-shadow: none;
        filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
        padding-bottom: 25px; /* Room for the triangle */
    }

    header.split-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: var(--accent-navy);
        clip-path: polygon(0 0, 100% 0, 100% 65%, 50% 100%, 0 65%);
        z-index: -1;
    }
    
    .nav-container {
        align-items: flex-start;
        padding-top: 1.5rem;
    }
    
    .nav-links {
        margin-top: 15px; /* Push links down slightly to center vertically in the 65% area */
    }
}

.nav-menus-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    flex: 1;
}

.logo-desktop img {
    height: 120px;
    width: auto;
    margin: 0 3rem; /* Space between logo and links */
    transition: all 0.3s ease;
}

.logo-mobile {
    display: none; /* Hidden on desktop */
}

.logo-mobile img {
    height: 60px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    align-items: center;
}

.nav-left {
    justify-content: flex-end;
    flex: 1;
}

.nav-right {
    justify-content: flex-start;
    flex: 1;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-gold);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.4s ease;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--accent-navy);
}

.btn-primary:hover {
    background-color: var(--accent-navy);
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.btn-outline {
    background-color: transparent;
    color: var(--accent-navy);
    border-color: var(--accent-navy);
}

.btn-outline:hover {
    background-color: var(--accent-navy);
    color: #ffffff;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 155px 2rem 0; /* Added top padding to prevent hiding behind header */
    background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.95)), url('../img/hero.png') center/cover;
}

.hero-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: var(--accent-navy);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-main);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Split Layout Section (Image + Text) */
.split-section {
    display: flex;
    min-height: 60vh;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--primary-bg);
}

.split-section.reverse {
    flex-direction: row-reverse;
    background-color: var(--secondary-bg);
}

.split-img {
    flex: 1;
    background-size: cover;
    background-position: center;
    min-height: 400px;
    position: relative;
}

.split-content {
    flex: 1;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.split-content h2 {
    font-size: 2.5rem;
    color: var(--accent-navy);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.split-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Sections */
.section {
    padding: 5rem 2rem;
    background-color: var(--primary-bg);
}

.section.bg-light {
    background-color: var(--secondary-bg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-navy);
}

.section-header p {
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Page Header (Inner pages) */
.page-header {
    padding: 6rem 2rem 3rem;
    background: var(--accent-navy); /* Fallback */
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    margin-top: 155px;
}

.page-header h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.page-header p {
    color: #f1f5f9;
    font-size: 1.4rem;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

.page-header.dark-header {
    background: linear-gradient(rgba(10, 25, 47, 0.85), rgba(10, 25, 47, 0.95)), url('../img/hero.png') center/cover;
    color: #ffffff;
}

.page-header.dark-header h1 {
    color: var(--accent-gold);
}

.page-header.dark-header p {
    color: #cbd5e1;
}

/* Clean Feature Grid */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 3rem;
    align-items: start;
}

/* Large Numbers for Process */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.process-item {
    position: relative;
    padding-top: 3rem;
    padding-left: 1.5rem;
    border-left: 1px solid var(--border-color);
}

.process-item .bg-num {
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 5rem;
    font-family: 'Playfair Display', serif;
    color: rgba(10, 25, 47, 0.05);
    line-height: 1;
    z-index: 0;
}

.process-item h4 {
    font-size: 1.3rem;
    color: var(--accent-navy);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.process-item p {
    color: var(--text-muted);
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

/* Cards */
.card {
    background: var(--primary-bg);
    border: 1px solid var(--border-color);
    padding: 2rem;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--accent-gold);
}

/* Footer */
footer {
    background: var(--accent-navy);
    color: #ffffff;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 2fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-hover {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-hover:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.8rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

/* Map Section */
.map-container {
    position: relative;
    width: 100%;
    height: 500px;
    background: var(--secondary-bg);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(80%) contrast(1.2) sepia(20%) hue-rotate(180deg);
}

.map-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(10, 25, 47, 0.9);
    padding: 2rem 3rem;
    border: 1px solid var(--accent-gold);
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    backdrop-filter: blur(8px);
}

.map-overlay h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

/* Disclaimer Banner */
#disclaimer-banner {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background-color: var(--accent-navy);
    color: #fff;
    padding: 1.5rem 2rem;
    z-index: 9999;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
    transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 3px solid var(--accent-gold);
}

#disclaimer-banner.show {
    bottom: 0;
}

.banner-content {
    max-width: 1000px;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.banner-text {
    font-size: 0.9rem;
    color: #cbd5e1;
}

.banner-text a {
    color: var(--accent-gold);
    text-decoration: underline;
}

.banner-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #fff;
    cursor: pointer;
}

.checkbox-container input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent-gold);
    cursor: pointer;
}

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }
.mb-4 { margin-bottom: 2rem; }

/* Hamburger Menu Icon (Hidden on Desktop) */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001; /* Keep above the mobile menu */
}

.menu-toggle .bar {
    width: 25px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease-in-out;
}

/* Hamburger Animation */
.menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}
.menu-toggle.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 992px) {
    .split-section { flex-direction: column !important; }
    .split-img { min-height: 300px; }
    .split-content { padding: 3rem 2rem; }
    .hero h1 { font-size: 2.5rem; }
    .section { padding: 4rem 2rem; }
    
    /* Mobile Header Layout */
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 2rem;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .logo-desktop {
        display: none !important; /* Hide big center logo on mobile */
    }
    
    .logo-mobile {
        display: flex; /* Show small logo on mobile */
    }
    
    /* Mobile Menu Container */
    .nav-menus-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--accent-navy);
        flex-direction: column;
        align-items: stretch;
        padding: 0;
        max-height: 0; /* Hidden by default */
        overflow: hidden;
        transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        border-top: 1px solid rgba(255,255,255,0.05);
    }
    
    /* When active, expand */
    .nav-menus-wrapper.active {
        max-height: 800px; /* Large enough to hold items */
        padding: 1rem 0;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
        gap: 0;
    }

    .nav-links li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: 1rem 2rem;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        font-size: 1.1rem;
    }
    
    .nav-links li:last-child a {
        border-bottom: none;
    }

    #disclaimer-banner { flex-direction: column; gap: 1rem; text-align: center; }
    .banner-content { flex-direction: column; gap: 1rem; }
    
    /* Footer Mobile Layout */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .footer-col {
        margin: 0 auto;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
}
