:root {
    /* Precise color palette from the design */
    --text-dark: #16222d;      /* Deep navy/graphite for main text */
    --text-muted: #4a545c;     /* Lighter slate for paragraphs */
    --gold: #b88a44;           /* Brand gold */
    --border-color: rgba(22, 34, 45, 0.1); /* Subtle lines */
    --bg-fallback: #E3D5C6;    /* Fallback color while image loads */
    
    /* Dark Navy Theme for Stats Bar */
    --bg-dark: #0d131a;        /* Deep navy background */
    --text-white: #ffffff;     /* White text */
    --text-light-gray: #9ba3af;/* Muted light gray text */
    --border-light: rgba(255, 255, 255, 0.08); /* Subtle light divider */

    /* Light Footer Theme */
    --bg-footer-light: #E3D5C6; /* Light cream footer background */
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    -webkit-font-smoothing: antialiased;
    background-color: var(--bg-fallback);
    overflow-x: clip; 
}

a { text-decoration: none; color: inherit; }

.container { max-width: 1440px; margin: 0 auto; padding: 0 60px; width: 100%; }

/* Page transition overlay from index.html */
.page-transition-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: var(--bg-fallback); z-index: 9999; opacity: 1; visibility: visible; transition: opacity 0.4s ease-in-out, visibility 0.4s; pointer-events: none; }
.page-transition-overlay.hidden { opacity: 0; visibility: hidden; }

/* ==========================================================================
   HERO BACKGROUND WRAPPER
   ========================================================================== */
.hero-bg-wrapper {
    /* Background image moved to inline style in blade.php */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.header { 
    padding: 40px 0; 
    width: 100%; 
    position: fixed; 
    top: 0;
    left: 0;
    z-index: 9998;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Solid background applied via JS when scrolling */
.header.scrolled {
    background-color: var(--bg-fallback);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    position: relative; 
    z-index: 2;
}

.nav-container::before {
    content: '';
    position: absolute;
    top: -40px; 
    bottom: -40px; 
    left: -100vw; 
    width: calc(100vw + 320px); 
    background: linear-gradient(90deg, rgba(232, 226, 213, 0.96) 0%, rgba(232, 226, 213, 0.96) calc(100% - 120px), rgba(232, 226, 213, 0) 100%);
    z-index: -1; 
    pointer-events: none;
}

.logo { position: relative; z-index: 10; }
.logo img { 
    height: 80px; 
    width: auto; 
    display: block; 
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.nav-links { display: flex; gap: 40px; align-items: center; position: relative; z-index: 10; }
.nav-links a { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--text-dark); position: relative; padding-bottom: 6px; transition: color 0.3s ease; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-links a.active::after { content: ''; position: absolute; bottom: 0; left: 0; width: 25px; height: 1.5px; background-color: var(--gold); }

.menu-toggle { display: none; flex-direction: column; justify-content: space-between; width: 26px; height: 18px; cursor: pointer; position: relative; z-index: 10; }
.menu-toggle span { display: block; height: 2px; width: 100%; background-color: var(--text-dark); transition: all 0.3s ease; }

/* ==========================================================================
   HERO CONTENT
   ========================================================================== */
.hero-main {
    flex-grow: 1;
    display: flex;
    align-items: center;
    padding-bottom: 80px;
    padding-top: 220px; 
}

.hero-text-box { max-width: 680px; }

.eyebrow {
    font-size: 10px;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5.2rem;
    line-height: 1.05;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 40px;
    letter-spacing: -1.5px;
}

h1 .gold-text { color: var(--gold); }

.hero-paragraphs p {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 25px;
    max-width: 95%;
    font-weight: 400;
}

.hero-paragraphs p:last-child { margin-bottom: 0; }

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-section {
    background-color: var(--bg-fallback);
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    margin-bottom: 120px;
}

.contact-info .intro-p {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 45px;
    max-width: 90%;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.info-item { display: flex; align-items: flex-start; gap: 20px; }

.info-icon {
    width: 32px;
    height: 32px;
    color: var(--gold);
    flex-shrink: 0;
}

.info-icon svg {
    width: 100%;
    height: 100%;
    stroke-width: 1.5;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.info-text { display: flex; flex-direction: column; }

.info-text strong {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: 8px;
    font-weight: 600;
}

.info-text span, .info-text a {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
    transition: color 0.3s ease;
}

.info-text a:hover { color: var(--gold); }

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 18px 20px;
    background: transparent;
    border: 1px solid rgba(22, 34, 45, 0.2);
    border-radius: 2px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--text-muted); }

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.3);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
}

.btn-submit {
    background-color: var(--gold);
    color: #ffffff;
    border: 1px solid var(--gold);
    padding: 16px 32px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    cursor: pointer;
    border-radius: 2px;
    transition: all 0.3s ease;
    align-self: flex-start;
    margin-top: 10px;
}

.btn-submit:hover { background-color: #8c683a; border-color: #8c683a; }

/* ==========================================================================
   COMMITMENT BANNER
   ========================================================================== */
.commitment-banner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 80px;
}

.commit-left h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    line-height: 1.2;
    color: var(--text-dark);
    font-weight: 500;
    letter-spacing: -0.5px;
}

.commit-right {
    border-left: 1px solid var(--gold);
    padding-left: 40px;
}

.commit-right p {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.8;
    max-width: 450px;
}

/* ==========================================================================
   BOTTOM STATS BAR
   ========================================================================== */
.stats-bar { width: 100%; background-color: var(--bg-dark); position: relative; z-index: 3; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 40px 0; }
.stat-item { padding: 0 40px; border-right: 1px solid var(--border-light); display: flex; flex-direction: column; }
.stat-item:last-child { border-right: none; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--gold); margin-bottom: 12px; font-weight: 500; }
.stat-text { font-size: 0.85rem; color: var(--text-white); line-height: 1.6; }
.stat-text span.light { color: var(--text-light-gray); display: block; }

/* ==========================================================================
   FOOTER 
   ========================================================================== */
footer { background-color: transparent; color: var(--text-muted); padding: 80px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.7fr 1fr; gap: 60px; margin-bottom: 60px; }

.footer-logo img { 
    height: 60px; 
    width: auto; 
    margin-bottom: 25px; 
    image-rendering: -webkit-optimize-contrast;
    image-rendering: high-quality;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.footer-logo p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.8; max-width: 340px; }
.footer-col h4 { font-size: 11px; color: var(--text-dark); letter-spacing: 1.5px; margin-bottom: 30px; font-weight: 600; text-transform: uppercase; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 30px; }
.footer-links a, .footer-contact p, .footer-contact a { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 15px; display: block; }
.footer-disclaimer { padding: 40px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.footer-disclaimer h4 { font-size: 11px; color: var(--text-dark); letter-spacing: 1.5px; margin-bottom: 20px; font-weight: 600; text-transform: uppercase; }
.footer-disclaimer p { font-size: 0.75rem; color: var(--text-muted); line-height: 1.9; text-align: justify; }
.footer-bottom { padding-top: 30px; display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-muted); }
.footer-bottom .dev-credit span { color: var(--gold); font-weight: 500; }

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 1200px) {
    h1 { font-size: 4.5rem; }
    .commit-left h2 { font-size: 2.2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
    .stat-item { padding: 0 30px; }
    .stat-item:nth-child(2) { border-right: none; }
}

@media (max-width: 992px) {
    .container { padding: 0 40px; }
    h1 { font-size: 3.8rem; }
    .hero-text-box { max-width: 100%; }
    .contact-grid { grid-template-columns: 1fr; gap: 60px; margin-bottom: 80px; }
    .commitment-banner { grid-template-columns: 1fr; gap: 40px; padding-top: 60px; }
    .commit-right { border-left: none; padding-left: 0; border-top: 1px solid var(--gold); padding-top: 30px; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .menu-toggle { display: flex; }
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background-color: var(--bg-fallback);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0,0,0,0.05);
    }
    .nav-links.nav-active { right: 0; }
    .nav-links a { font-size: 12px; }
    
    .menu-toggle.toggle-active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .menu-toggle.toggle-active span:nth-child(2) { opacity: 0; }
    .menu-toggle.toggle-active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

@media (max-width: 768px) {
    .container { padding: 0 24px; }
    .header { padding: 25px 0; }
    .hero-main { padding-top: 160px; } 
    .hero-bg-wrapper { min-height: 70vh; }
    
    .nav-container::before {
        top: -25px;
        bottom: -25px;
        width: calc(100vw + 240px);
    }

    h1 { font-size: 2.4rem; margin-bottom: 25px; letter-spacing: -0.5px; line-height: 1.15; }
    .commit-left h2 { font-size: 1.8rem; }
    
    .hero-paragraphs p, .intro-p, .commit-right p, .info-text span, .info-text a { font-size: 0.85rem; line-height: 1.6; max-width: 100%; }
    .info-text strong { font-size: 9px; }
    
    .contact-form input, .contact-form textarea { font-size: 0.85rem; padding: 14px 16px; }
    .btn-submit { font-size: 10px; padding: 14px 24px; width: 100%; justify-content: center; }
    
    .contact-section { padding: 70px 0; }
    
    .stats-grid { grid-template-columns: 1fr; gap: 30px 0; padding: 30px 0; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--border-light); padding: 0 0 25px 0; align-items: center; text-align: center; }
    .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
    .stat-number { font-size: 1.6rem; }
    .stat-text { font-size: 0.8rem; }
    
    .footer-links { grid-template-columns: 1fr; }
    .footer-logo p, .footer-links a, .footer-contact p, .footer-contact a { font-size: 0.8rem; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 15px; font-size: 0.75rem; }
    .footer-logo p { max-width: 100%; }
    .footer-disclaimer p { font-size: 0.65rem; line-height: 1.7; }
}

@media (max-width: 480px) {
    .hero-main { padding-top: 140px; } 
    h1 { font-size: 1.35rem; margin-bottom: 20px; line-height: 1.25; letter-spacing: 0; }
    .commit-left h2 { font-size: 1.4rem; }
    
    .eyebrow { font-size: 8px; margin-bottom: 20px; }
    .info-text strong { font-size: 8px; }
    
    .hero-paragraphs p, .intro-p, .commit-right p, .info-text span, .info-text a { font-size: 0.8rem; }
    
    .form-row { grid-template-columns: 1fr; gap: 20px; }
    .contact-form input, .contact-form textarea { font-size: 0.8rem; padding: 12px 14px; }
    
    .contact-section { padding: 50px 0; }
    .contact-grid { gap: 40px; margin-bottom: 40px; }
    .commitment-banner { gap: 30px; padding-top: 40px; }
    
    .stat-number { font-size: 1.4rem; }
    .logo img { height: 60px; } 
    
    footer { padding: 60px 0 30px; }
    .footer-grid { gap: 40px; margin-bottom: 40px; }
    .footer-disclaimer p { font-size: 0.6rem; }
    .footer-logo p, .footer-links a, .footer-contact p, .footer-contact a { font-size: 0.75rem; }
}