:root {
    --primary: #052d05;
    --primary-light: #a8c69a;
    --primary-dark: #4a5a4a;
    --accent: #d4a56a;
    --text: #2d2d2d;
    --text-light: #555555;
    --white: #ffffff;
    --off-white: #f9f7f2;
    --gray-light: #f3f3f3;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', 'Helvetica Neue', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background: var(--off-white);
    overflow-x: hidden;
}

main {
    padding-top: 86px;
}

body.menu-open {
    overflow: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    line-height: 1.3;
    color: var(--primary-dark);
}

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

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

section {
    padding: 6rem 0;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ============================================= */
/* HEADER & NAVIGATION (FINAL CORRECTED VERSION) */
/* ============================================= */

.main-header {
    background: rgba(255, 255, 255, 0.98);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: .8rem 0;
    transition: box-shadow 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .05);
}

.main-header.scrolled {
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    padding: 5px;
    border-radius: 8px;
    margin-right: 12px;
}

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

.logo-title {
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 700;
    color: var(--primary);
}

.logo-subtitle {
    font-size: .75rem;
    color: var(--text-light);
    font-style: italic;
    letter-spacing: .5px;
}

/* Mobile Menu (Default State) */
.nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.menu-open .nav-menu {
    transform: translateX(0);
}

.nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%; 
}

.nav-menu li {
    width: 100%;
    text-align: center;
}

.nav-menu a {
    color: var(--primary-dark);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    display: block;
}

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

/* Mobile Navigation Toggle (Hamburger/Close Icons) */
.nav-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
    padding: 10px;
    font-size: 2rem;
    color: var(--primary-dark);
}

.nav-toggle .icon-close { display: none; }
.menu-open .nav-toggle .icon-close { display: block; }
.menu-open .nav-toggle .icon-hamburger { display: none; }


/* Dropdown Menu Base Styles */
.dropdown {
    position: relative;
}

.dropdown > a {
    position: relative;
}

.dropdown > a::after {
    content: '›';
    /* FINAL UI POLISH: Bigger and better aligned */
    font-size: 1.6em;         /* Increased size */
    font-weight: 400;         /* Made it bolder */
    right: 2.5rem;            /* Moved it away from the edge */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease;
}

.dropdown.active > a::after,
.dropdown:hover > a::after {
    transform: translateY(-50%) rotate(90deg);
}


/* Prepare the dropdown menu for a smooth slide-down animation */
.dropdown-menu {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: rgba(0, 0, 0, 0.03);
    margin: 0;
    padding: 0;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

/* Animate the mobile dropdown to slide open */
.dropdown.active > .dropdown-menu {
    max-height: 250px;
    margin-top: 0.5rem;
}

/* Style the links within the dropdown for clean indentation */
.dropdown-menu li a {
    font-size: 1.1rem;
    padding: 0.75rem 2.5rem;
}


/* Desktop Navigation (for screens 850px and wider) */
@media (min-width: 850px) {
    .nav-toggle {
        display: none;
    }

    .nav-menu {
        position: static;
        flex-direction: row;
        height: auto;
        width: auto;
        background: none;
        transform: none;
    }

    .nav-menu > ul {
        display: flex;
        align-items: center;
        gap: 2.5rem;
        width: auto; 
    }

    .nav-menu li {
        width: auto;
        text-align: left;
    }

    .nav-menu a {
        font-size: 1.05rem;
        position: relative;
        padding: 0.5rem 0;
    }
    
    .dropdown > a {
        padding-right: 20px !important;
    }

    .nav-menu a::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--primary);
        transition: width 0.3s ease;
    }
    
    .dropdown > a::after {
        content: '▼';
        font-size: 0.6em;
        position: absolute;
        right: 0;
        top: 50%;
        font-weight: normal; 
        transform: translateY(-50%);
        transition: transform 0.3s ease;
        height: auto;
        width: auto;
        background: none;
        bottom: auto;
        left: auto;
    }

    .dropdown:hover > a::after {
        transform: translateY(-50%) rotate(180deg);
    }

    .nav-menu a:hover::after {
        width: 100%;
    }
    
    .dropdown > a:hover::after {
        width: auto;
    }

    .dropdown {
        width: auto;
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--white);
        padding: 0.5rem 0;
        margin: 10px 0 0 0;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-radius: 8px;
        min-width: 200px;
        z-index: 100;
    }

    .dropdown:hover .dropdown-menu {
        max-height: 250px;
    }

    .dropdown-menu li a {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        white-space: nowrap;
    }
    
    .dropdown-menu li a:hover {
        background: var(--off-white);
    }
    
    .dropdown-menu li a::after {
        display: none;
    }
}


/* ============================================= */
/* GENERAL SECTIONS & BUTTONS                    */
/* ============================================= */

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3.5rem;
    padding-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
}

.section-subtitle {
    font-size: 1.2rem;
    text-align: center;
    color: var(--text);
    max-width: 700px;
    margin: -2rem auto 4rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    color: #fff;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: .5px;
    text-decoration: none;
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(122, 158, 126, .3);
}

/* ============================================= */
/* PAGE SECTIONS                                 */
/* ============================================= */

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1544367567-0f2fcb009e0b?ixlib:rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,.1) 0, rgba(0,0,0,.3) 100%);
}

.hero-content {
    max-width: 800px;
    text-align: center;
    color: var(--white);
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    font-style: italic;
    opacity: .9;
}

/* Grids & Cards */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-item {
    text-align: center;
}

.benefit-item h2 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about { background: var(--white); }

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.about-image {
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
    overflow: hidden;
}

.about-image img, .about-image video {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 1;
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.therapy-grid, .conditions-grid, .classes-grid, .pricing-grid, .testimonial-grid {
    display: grid;
    gap: 2.5rem;
}

.therapy-grid, .classes-grid, .testimonial-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.conditions-grid, .pricing-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.therapy-card, .class-card, .pricing-card, .testimonial-card, .condition-group, .step, .location-card-deep {
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    padding: 2.5rem 2rem;
    transition: var(--transition);
}

.therapy-card:hover, .class-card:hover, .pricing-card:hover, .testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
}

.therapy-card h3, .class-card h3, .location-card-deep h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: var(--primary-dark);
}

.therapy-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 1.5rem;
}

.therapy-benefits span {
    background: rgba(122, 158, 126, .1);
    color: var(--primary);
    padding: .4rem .8rem;
    border-radius: 20px;
    font-size: .85rem;
    font-weight: 500;
}

.condition-group { padding: 1.5rem; background: var(--off-white); }
.condition-group h4 { color: var(--primary); margin-bottom: 1rem; font-size: 1.2rem; }

/* Beach Yoga Section */
.beach-yoga { overflow: hidden; }

.beach-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.beach-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* Schedule Table */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    background: var(--white);
    border-radius: 15px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.schedule-table th, .schedule-table td {
    padding: 1.2rem 1.5rem;
    text-align: left;
}

.schedule-table th {
    background: linear-gradient(45deg, var(--primary), var(--primary-light));
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    font-size: .9rem;
    letter-spacing: 0.5px;
}

.schedule-table td { border-bottom: 1px solid var(--gray-light); }
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:hover { background: rgba(122, 158, 126, .05); }

/* Pricing Cards */
.pricing-card { text-align: center; }
.pricing-card.featured { border: 3px solid var(--primary); transform: scale(1.05); }
.pricing-card .price { font-size: 2.5rem; font-weight: 700; color: var(--primary); margin: 1rem 0; }
.pricing-card .price span { font-size: 1rem; color: var(--text-light); font-weight: 400; }
.pricing-card ul { list-style: none; margin: 1.5rem 0; padding: 0; }
.pricing-card li { padding: .5rem 0; border-bottom: 1px solid var(--gray-light); }
.pricing-card li:last-child { border-bottom: none; }

/* Routine Steps */
.routine-steps { max-width: 600px; margin: 0 auto; }
.step { padding: 1.5rem; margin-bottom: 1rem; border-left: 4px solid var(--primary); }

/* FAQ Section */
.faq-section { background: var(--white); }
.faq-container { max-width: 900px; margin: 0 auto; }
.faq-item { margin-bottom: 1.5rem; background: var(--off-white); border-radius: 15px; box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); }
.faq-question { padding: 1.8rem 2rem; font-size: 1.3rem; font-weight: 600; color: var(--primary-dark); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-answer { padding: 0 2rem; color: var(--text); line-height: 1.8; max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out, padding 0.4s ease-out; }
.faq-item.active .faq-answer { max-height: 300px; padding: 0 2rem 1.8rem; }
.faq-question .faq-icon { transition: transform 0.3s ease; }
.faq-item.active .faq-question .faq-icon { transform: rotate(180deg); }

/* Testimonials Section */
.quote-icon svg { width: 40px; height: 40px; fill: var(--primary-light); opacity: 0.5; margin-bottom: 1rem; }
.testimonial-text { font-style: italic; line-height: 1.8; margin-bottom: 2rem; }
.testimonial-author { display: flex; align-items: center; }
.author-image { width: 60px; height: 60px; border-radius: 50%; margin-right: 1rem; border: 3px solid var(--primary-light); overflow: hidden; }
.author-image img { width: 100%; height: 100%; object-fit: cover; }
.author-details h4 { margin: 0; color: var(--primary-dark); }
.author-details p { margin: 0; color: var(--text-light); font-size: .9rem; }

/* Contact Section */
.contact { background: var(--primary-dark); padding: 6rem 0; color: var(--white); }
.contact .section-title { color: var(--white); }
.contact-content { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: flex-start; }
.contact-column h3 { color: var(--white); font-size: 2rem; font-weight: 600; margin-bottom: 1.5rem; }
.contact-column p { color: rgba(255, 255, 255, 0.85); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; }
.contact-column a { color: var(--white); font-weight: 600; text-decoration: underline; }
.contact-column a:hover { text-decoration: none; }
.whatsapp-info-box { background: rgba(0, 0, 0, 0.15); border-left: 4px solid var(--accent); padding: 1.5rem; margin: 2.5rem 0; border-radius: 8px; }
.whatsapp-info-box h4 { color: var(--white); margin-bottom: 1rem; font-size: 1.2rem; }
.whatsapp-info-box ul { list-style: none; padding-left: 0; color: rgba(255, 255, 255, 0.85); }
.whatsapp-info-box li { padding-left: 28px; position: relative; margin-bottom: 0.8rem; }
.whatsapp-info-box li::before { content: '✓'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.contact .cta-button { margin-top: 1.5rem; }

/* Google Reviews */
.google-reviews-container { background: var(--off-white); padding: 3rem 2rem; border-radius: 15px; margin-top: 3rem; text-align: center; }
.google-reviews-container h3 { font-family: 'Playfair Display', Georgia, serif; font-size: 2.5rem; font-weight: 600; line-height: 1.3; color: var(--primary-dark); margin-bottom: 1rem; }
.google-reviews-container .section-subtitle { font-size: 1.2rem; text-align: center; color: var(--text); max-width: 700px; margin: 0 auto 2rem auto; line-height: 1.8; }

/* Content Images */
.content-image { width: 100%; max-width: 500px; margin: 1.5rem auto; border-radius: 15px; box-shadow: var(--shadow); display: block; }
.step-image { width: 100%; border-radius: 10px; margin-top: 1rem; }

/* Yoga Pose Pages */
.pose-hero-image { max-width: 800px; width: 100%; margin: 1rem auto 4rem auto; border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.pose-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-bottom: 4rem; text-align: center; }
.pose-info-card { background: var(--white); padding: 1.5rem; border-radius: 15px; box-shadow: var(--shadow); }
.pose-info-card h4 { color: var(--primary); font-size: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 0.5rem; }
.pose-info-card p { font-size: 1.2rem; font-family: 'Playfair Display', serif; color: var(--text-dark); margin: 0; }
.pose-instructions { max-width: 800px; margin: 0 auto; }
.safety-notice { background: rgba(212, 165, 106, 0.1); border-left: 5px solid var(--accent); padding: 2rem; margin: 4rem auto 0 auto; max-width: 800px; border-radius: 0 8px 8px 0; }
.safety-notice h3 { color: var(--primary-dark); margin-bottom: 1rem; }
.safety-notice ul { list-style-position: outside; margin-left: 1.2rem; }

/* ============================================= */
/* FOOTER                                        */
/* ============================================= */

footer {
    background: var(--primary-dark);
    padding: 3rem 0 2rem;
    color: var(--white);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.yoga-alliance-badge a { display: inline-flex; align-items: center; text-decoration: none; color: var(--white); opacity: 0.9; transition: opacity 0.3s ease; }
.yoga-alliance-badge a:hover { opacity: 1; }
.yoga-alliance-badge img { margin-right: 12px; border-radius: 50%; object-fit: cover; border: 2px solid var(--white); }
.yoga-alliance-badge span { font-size: 0.95rem; font-weight: 500; }

.social-links { display: flex; gap: 1.5rem; }
.social-links a svg { width: 28px; height: 28px; fill: var(--white); transition: var(--transition); }
.social-links a:hover svg { fill: var(--primary-light); transform: translateY(-3px); }

.footer-links a { color: var(--white); margin: 0 1rem; text-decoration: none; opacity: 0.8; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }

.footer-text { opacity: .9; }
.footer-text a { color: var(--white); opacity: .8; text-decoration: none; }
.footer-text a:hover { opacity: 1; text-decoration: underline; }

/* ============================================= */
/* ANIMATIONS & RESPONSIVE DESIGN                */
/* ============================================= */

/* Scroll Animations */
.class-card, .therapy-card, .location-card, .about-content, .testimonial-card, .pricing-card, .beach-content {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.class-card.is-visible, .therapy-card.is-visible, .location-card.is-visible, .about-content.is-visible, .testimonial-card.is-visible, .pricing-card.is-visible, .beach-content.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.2rem; }
    .about-content, .beach-content { gap: 3rem; }
}

@media (max-width: 768px) {
    .section-title { font-size: 2.2rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.2rem; }
    .about-content, .beach-content, .contact-content { grid-template-columns: 1fr; gap: 3rem; }
    .about-image { order: -1; }
    .benefits-grid, .therapy-grid, .conditions-grid, .classes-grid, .testimonial-grid, .pricing-grid { grid-template-columns: 1fr; }
    .schedule-table { display: block; overflow-x: auto; white-space: nowrap; }
}

@media (max-width: 480px) {
    .section-title { font-size: 1.8rem; }
    .hero h1 { font-size: 2rem; }
    .cta-button { padding: 1rem 1.8rem; font-size: 1rem; }
    .logo-title { font-size: 1.2rem; }
    .therapy-card, .class-card, .pricing-card, .testimonial-card { padding: 1.8rem; }
}