:root {
    --ocean-dark: #3a5a5a;
    --ocean-soft: #7da09f;
    --sand-accent: #d4cbb8;
    --bg-light: #f7f8f7;
    --text-dark: #4a4a4a;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo { font-family: var(--font-heading); color: var(--ocean-dark); font-weight: 400; }

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

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo { font-size: 22px; letter-spacing: 3px; text-transform: uppercase; color: var(--ocean-dark); }

.nav-links { list-style: none; display: flex; gap: 35px; align-items: center; margin: 0; padding: 0;}
.nav-links a { text-decoration: none; color: var(--text-dark); font-size: 13px; text-transform: uppercase; letter-spacing: 1.5px; transition: color 0.3s ease; }
.nav-links a:hover { color: var(--ocean-soft); }

.btn-primary {
    display: inline-block;
    background-color: var(--ocean-dark);
    color: #ffffff !important;
    padding: 14px 32px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}
.btn-primary:hover { background-color: var(--ocean-soft); transform: translateY(-2px); }

/* Mobile Menu Button */
.mobile-menu-btn { display: none; font-size: 24px; color: var(--ocean-dark); cursor: pointer; }

/* Links & Pills */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 50px; background: #ffffff; color: var(--ocean-dark); font-weight: 600; text-decoration: none; border: 1px solid #eaeaea; box-shadow: 0 4px 10px rgba(0,0,0,0.03); transition: all 0.3s ease; }
.pill:hover { border-color: var(--ocean-soft); transform: translateY(-2px); color: var(--ocean-dark); }

.link-arrow { display: inline-block; margin-top: 30px; text-decoration: none; color: var(--ocean-dark); font-weight: 600; text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1.5px; transition: all 0.3s ease; border: 1px solid var(--ocean-dark); padding: 12px 24px; border-radius: 50px; }
.link-arrow:hover { background-color: var(--ocean-dark); color: #ffffff; }

/* Accordions */
.accordion { border: 1px solid #eaeaea; border-radius: 12px; overflow: hidden; margin-bottom: 15px; background: #fff; width: 100%; transition: border-color 0.3s ease;}
.accordion-header { padding: 20px; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--ocean-dark); }
.accordion-content { padding: 0 20px 20px; display: none; color: #555; font-size: 0.95rem; }
.accordion.active .accordion-content { display: block; }
.accordion-icon { transition: transform 0.3s ease; }
.accordion.active .accordion-icon { transform: rotate(180deg); }

/* Universal Layout Classes */
.page-container { padding: 60px 5%; max-width: 1200px; margin: 0 auto; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.text-center { text-align: center; }

/* Gallery Page Layout */
.section-title { font-size: 2.5rem; border-bottom: 2px solid var(--ocean-soft); padding-bottom: 15px; margin-bottom: 40px; color: var(--ocean-dark); }
.gallery-hero-img { width: 100%; height: 500px; object-fit: cover; border-radius: 16px; margin-bottom: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.gallery-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.gallery-split img { width: 100%; height: 400px; object-fit: cover; border-radius: 16px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.gallery-collage { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; margin-bottom: 60px; }
.gallery-collage img { width: 100%; height: 250px; object-fit: cover; border-radius: 12px; transition: transform 0.3s ease; }
.gallery-collage img:hover { transform: scale(1.03); }

/* Practitioner Alternating Rows */
.practitioner-row { display: flex; flex-wrap: wrap; gap: 60px; align-items: center; margin-bottom: 80px; }
.practitioner-text, .practitioner-img { flex: 1; min-width: 300px; }
.practitioner-img img { width: 100%; border-radius: 16px; box-shadow: 0 10px 40px rgba(0,0,0,0.08); object-fit: cover; height: 500px;}
.practitioner-text h3 { font-size: 2.5rem; margin-bottom: 5px; }
.practitioner-text h4 { font-size: 1rem; color: var(--ocean-soft); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 20px; }
@media (min-width: 769px) {
    .practitioner-row.reverse { flex-direction: row-reverse; }
}

/* Cards */
.booking-card { max-width: 600px; margin: 60px auto; background: #fff; padding: 40px 5%; border-radius: 24px; box-shadow: 0 10px 40px rgba(0,0,0,0.04); border: 1px solid #eaeaea; text-align: center; }
.booking-card h3 { font-size: 1.8rem; margin-bottom: 15px; line-height: 1.3;}
.booking-card p { color: #666; margin-bottom: 30px; font-size: 1rem; }
.booking-card .meta { font-size: 0.85rem; color: #888; margin-top: 20px; }

/* Footer */
footer { background-color: var(--ocean-dark); color: #ffffff; padding: 60px 5% 30px; text-align: center; margin-top: 60px; }
footer h4 { color: var(--sand-accent); margin-bottom: 15px; font-size: 1.3rem; letter-spacing: 2px; text-transform: uppercase; }
footer p { font-weight: 300; margin-bottom: 10px; font-size: 0.95rem;}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; max-width: 1000px; margin: 0 auto; text-align: center; }
.footer-bottom { margin-top: 40px; font-size: 0.85rem; opacity: 0.6; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px; }

/* ================================== */
/* MOBILE RESPONSIVE MEDIA QUERIES    */
/* ================================== */
@media (max-width: 768px) {
    /* Navbar */
    .mobile-menu-btn { display: block; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.05);
        border-top: 1px solid #eaeaea;
    }
    .nav-links.active { display: flex; }
    
    /* Ensure mobile book button contrasts with white background */
    .nav-links .btn-primary { 
        display: block; 
        width: 100%; 
        margin-top: 15px; 
        background-color: var(--ocean-dark); 
        color: #ffffff !important; 
    }

    /* Typography */
    h1 { font-size: 2.5rem !important; }
    h2 { font-size: 2rem !important; }
    
    /* Hero Adjustments */
    .hero-index { height: 70vh !important; }
    
    /* Grids */
    .gallery-split { grid-template-columns: 1fr; }
    .gallery-split img { height: 250px; }
    .gallery-hero-img { height: 250px; }
    .practitioner-img img { height: 350px; }
}
