/* PROJECT: Clearwax Luxury Aesthetic 
    STYLE: Navy & Gold Boutique (Complete File)
*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Montserrat:wght@300;400;600;700&display=swap');

/* 1. BRAND VARIABLES */
:root {
    --deep-navy: #0b1a27;    
    --gold: #c5a35d;         
    --luxury-cream: #f8f6f2; 
    --white: #FFFFFF;
    --hero-overlay: 11, 26, 39; 
}

/* 2. GLOBAL STYLES */
body {
    background-color: var(--luxury-cream);
    color: var(--deep-navy);
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.8;
}

h1, h2, h3, h4, h5 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--deep-navy);
}

/* 3. NAVIGATION */
.custom-nav {
    background: var(--white);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(197, 163, 93, 0.3);
    height: 90px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
}

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

.nav-menu { display: flex; list-style: none; margin: 0; padding: 0; }

.nav-menu li a {
    color: var(--deep-navy);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.75rem;
    padding: 10px 15px;
    transition: 0.3s;
}

.nav-menu li a:hover { color: var(--gold); }

/* 4. HERO SECTION */
.welling-style-hero {
    position: relative;
    padding: 120px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-image: url('https://media.istockphoto.com/id/1351992871/photo/ent-doctor-examining-patient.jpg');
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(var(--hero-overlay), 0.85) 0%, rgba(var(--hero-overlay), 0.4) 100%);
    z-index: 1;
}

.hero-inner-content { position: relative; z-index: 2; max-width: 650px; }

.sub-heading {
    color: var(--gold);
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-weight: 600;
}

.heading-divider {
    width: 50px; height: 1px;
    background-color: var(--gold);
    margin-bottom: 25px;
}

.heading-divider.center { margin: 0 auto 25px auto; }

.hero-inner-content h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 6vw, 4.5rem);
    color: var(--white);
    text-transform: none;
    letter-spacing: 0;
}

.price-box p {
    font-size: 1.1rem;
    border-left: 1px solid var(--gold);
    padding-left: 20px;
    color: var(--white);
}

/* 5. BUTTONS (REFINED SPACING) */
.button {
    padding: 18px 35px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 0px; 
    transition: all 0.4s ease;
    display: inline-block;
    text-decoration: none;
    /* Added margin-bottom for mobile stacking */
    margin-bottom: 10px; 
}

.button.primary {
    background-color: var(--gold);
    border: 1px solid var(--gold);
    color: var(--white) !important;
}

.button.primary:hover {
    background-color: var(--deep-navy);
    border-color: var(--deep-navy);
    transform: translateY(-3px);
}

.button.secondary {
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white) !important;
}

.button.secondary:hover {
    background-color: var(--white);
    color: var(--deep-navy) !important;
}

.button-group {
    display: flex;
    /* This creates 20px of space between the buttons */
    gap: 20px; 
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

/* Mobile specific centering and spacing tweak */
@media screen and (max-width: 768px) {
    .button-group {
        justify-content: center;
        gap: 15px;
    }
}

/* 6, 7. BIO & BOOKING CARD */
.bio-footer-text { border-top: 1px solid rgba(197, 163, 93, 0.2); margin-top: 2rem; padding-top: 2rem; }

.booking-card {
    background: var(--white);
    border: 1px solid rgba(197, 163, 93, 0.2);
    padding: 2.5rem;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.accent-line { position: absolute; top: 0; left: 0; width: 100%; height: 3px; background-color: var(--gold); }

.email-link {
    border: 1px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    padding: 10px 20px;
    font-size: 0.8rem;
    transition: 0.3s;
}

.email-link:hover { background: var(--gold); color: white; }

/* 8 & 9. CLINICAL INFO */
.clinical-info-box {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    border-top: 1px solid var(--gold);
    height: 100%;
}

.clinical-info-box h5 { color: var(--gold); margin-bottom: 1rem; }

/* 10. PRICING CARDS (Missing from previous version) */
.price-card {
    background: var(--white);
    border: 1px solid rgba(197, 163, 93, 0.2);
    overflow: hidden;
}

.price-header { background-color: var(--deep-navy); padding: 2rem; }
.price-header h4 { color: var(--white) !important; margin: 0; }
.price-value { display: block; font-size: 3.5rem; font-family: 'Cormorant Garamond', serif; color: var(--gold); margin: 1rem 0; }

//* 11. TESTIMONIAL QUOTE SECTION */
.testimonial-quote {
    padding: 4rem 0;
    text-align: center;
    background-color: var(--luxury-cream);
}

.quote-content {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 1rem;
}

.quote-title-row {
    display: flex;
    align-items: center;      /* Vertically centers quotes with the H4 */
    justify-content: center;   /* Centers the whole group horizontally */
    gap: 1rem;                /* Space between quotes and text */
    margin-bottom: 1rem;
}

.quote-mark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 5rem;          /* Large elegant luxury size */
    color: var(--gold);
    opacity: 0.4;
    line-height: 1;           /* Prevents the quote box from being too tall */
    display: inline-block;
}

.testimonial-quote h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-style: italic;
    color: var(--deep-navy);
    margin: 0;
    text-transform: none;     /* Luxury italic look (Sentences, not All Caps) */
    letter-spacing: 0;
}

.testimonial-quote p {
    font-size: 1.1rem;
    color: var(--deep-navy);
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
}

/* Mobile Tweak for Quotes */
@media screen and (max-width: 768px) {
    .quote-mark {
        font-size: 3rem;      /* Scale down for smaller screens */
    }
    .quote-title-row {
        gap: 0.5rem;
    }
}

/* 12. MOBILE MENU & TOGGLE LOGIC */

/* Ensure checkbox is always hidden */
.nav-toggle { 
    display: none !important; 
}

/* Hide hamburger icon by default (Desktop) */
.nav-toggle-label {
    display: none !important; 
    cursor: pointer;
    padding: 1rem;
    z-index: 1001;
}

/* Hamburger lines styling */
.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: var(--gold); 
    height: 2px;
    width: 25px;
    position: relative;
    transition: all 0.3s;
}

.nav-toggle-label span::before, 
.nav-toggle-label span::after {
    content: '';
    position: absolute;
}

.nav-toggle-label span::before { top: 8px; }
.nav-toggle-label span::after { bottom: 8px; }

/* 13. CONSOLIDATED RESPONSIVENESS */

/* Desktop view (769px and up) */
@media screen and (min-width: 769px) {
    .nav-menu {
        display: flex !important; /* Force menu to show on desktop */
    }
    .nav-toggle-label {
        display: none !important; /* Force hamburger to hide on desktop */
    }
}

/* Mobile view (768px and below) */
@media screen and (max-width: 768px) {
    
    .nav-toggle-label { 
        display: block !important; /* Show hamburger on mobile */
    }

    .nav-menu {
        display: none; /* Hide menu by default on mobile */
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--white);
        width: 100%;
        flex-direction: column;
        text-align: center;
        border-top: 1px solid var(--gold);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        z-index: 1000;
        padding: 1rem 0;
    }

    /* Logic to show menu when checkbox is checked */
    .nav-toggle:checked ~ .nav-menu {
        display: flex !important;
    }

    /* Animate Hamburger to 'X' when open */
    .nav-toggle:checked ~ .nav-toggle-label span { background: transparent !important; }
    .nav-toggle:checked ~ .nav-toggle-label span::before { transform: rotate(45deg); top: 0; }
    .nav-toggle:checked ~ .nav-toggle-label span::after { transform: rotate(-45deg); top: 0; }
    
    /* Layout tweaks for stacking content on mobile */
    .hero-inner-content { text-align: center; }
    .button-group { justify-content: center; }
    .bio-flex-container { flex-direction: column; text-align: center; }
}
/* 13. CONSOLIDATED RESPONSIVENESS */

@media screen and (max-width: 768px) {
    
    /* ... existing nav styles ... */

    /* Centering the Bio section text and buttons */
    .bio-text {
        text-align: center;
    }

    .bio-text .button {
        display: inline-block; /* Ensures button respects text-align center */
        margin-left: auto;
        margin-right: auto;
    }

    /* Centering the Book Appointment button and its surrounding text */
    .bio-footer-text {
        text-align: center;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .bio-footer-text .button {
        display: inline-block;
        margin-top: 1rem;
    }

    /* General layout stacking */
    .hero-inner-content { 
        text-align: center; 
    }
    
    .button-group { 
        justify-content: center; 
    }

    .bio-flex-container { 
        flex-direction: column; 
        text-align: center; 
    }
.maintenance-grid .cell {
    margin-bottom: 2rem; /* Adds space between the stacked boxes */
}

.maintenance-grid .cell:last-child {
    margin-bottom: 0; /* Removes extra space from the final box */
}

.clinical-info-box {
    text-align: center;
    /* Ensure the box takes up the full width available */
    width: 100%; 
}
}


/* 14. FOOTER */
footer { background: var(--deep-navy); color: var(--luxury-cream); padding: 4rem 1rem; text-align: center; border-top: 4px solid var(--gold); }
footer h4 { color: var(--gold) !important; }

/* 15. PATIENT JOURNEY (BEFORE & AFTER) */
.journey-section {
    background-color: var(--white);
    padding: 5rem 0;
    border-top: 1px solid rgba(197, 163, 93, 0.2);
    border-bottom: 1px solid rgba(197, 163, 93, 0.2);
}

.journey-box {
    background: var(--luxury-cream);
    padding: 3rem;
    height: 100%;
    border: 1px solid rgba(197, 163, 93, 0.1);
    position: relative;
}

/* Gold accent bar instead of icons */
.journey-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--gold);
}

.journey-box h3 {
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    color: var(--deep-navy);
}

.journey-box h4 {
    margin-top: 2rem;
    font-size: 1.1rem;
    color: var(--gold);
    border-bottom: 1px solid rgba(197, 163, 93, 0.3);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.journey-box p {
    font-size: 0.95rem;
    color: var(--deep-navy);
    margin-bottom: 1.2rem;
}

.journey-box ul {
    list-style: none;
    margin: 0 0 1.5rem 0;
    padding: 0;
}

.journey-box ul li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
}

/* Gold hyphen marker */
.journey-box ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

.journey-tip {
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--gold);
    margin-top: 1.5rem;
}

/* Mobile stacking adjustment */
@media screen and (max-width: 768px) {
    .journey-box {
        padding: 2rem;
        margin-bottom: 2rem;
    }
}