/* ===================================
   Maitri Yoga - Main Stylesheet
   =================================== */

/* CSS Variables */
:root {
    --primary-color: #8B6F47;
    --secondary-color: #D4A574;
    --accent-color: #5D4E37;
    --text-dark: #2C2C2C;
    --text-light: #FFFFFF;
    --bg-light: #F9F7F4;
    --bg-cream: #FAF8F5;
    --border-color: #E5DDD5;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-hover: 0 4px 20px rgba(0,0,0,0.15);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

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

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

ul {
    list-style: none;
}

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

/* ===================================
   Header & Navigation
   =================================== */

header {
    background-color: var(--text-light);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
    background-color: var(--bg-cream);
}

/* Mobile Menu */
.burger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    transition: all 0.3s ease;
}

/* ===================================
   Hero Section
   =================================== */

.hero {
    background: linear-gradient(rgba(139, 111, 71, 0.7), rgba(93, 78, 55, 0.8)),
                url('img/BeZen.jpg') center/cover no-repeat;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding: 4rem 2rem;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
    letter-spacing: 2px;
}

.tagline {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 400;
}

.subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--secondary-color);
    color: var(--text-dark);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.cta-button:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ===================================
   Page Header
   =================================== */

.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-light);
    padding: 4rem 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.page-header p {
    font-size: 1.2rem;
}

/* ===================================
   About Section (Homepage)
   =================================== */

.about {
    padding: 5rem 2rem;
    background-color: var(--text-light);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

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

.about .about-image img {
    border-radius: 8px;
    box-shadow: var(--shadow);
    width: 100%;
    height: auto;
    display: block;
}

/* ===================================
   Benefits Section
   =================================== */

.benefits {
    padding: 5rem 2rem;
    background-color: var(--bg-cream);
}

.benefits h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.benefit-card {
    background-color: var(--text-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.benefit-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* ===================================
   Classes Section
   =================================== */

.classes-section {
    padding: 5rem 2rem;
    background-color: var(--text-light);
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.class-card {
    background-color: var(--bg-cream);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.class-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.class-header {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.class-header h2 {
    font-size: 1.5rem;
    margin: 0;
}

.class-level {
    background-color: var(--secondary-color);
    color: var(--text-dark);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.class-content {
    padding: 2rem;
}

.class-content > p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.class-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.class-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.class-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.class-info p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.class-info strong {
    color: var(--primary-color);
}

/* ===================================
   About Page
   =================================== */

.about-page {
    padding: 5rem 2rem;
    background-color: var(--text-light);
}

.about-intro {
    text-align: center;
    margin-bottom: 4rem;
}

.about-intro-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    max-width: 900px;
    margin: 0 auto;
}

.about-text {
    text-align: left;
}

.about-intro h2 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-intro .lead {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 300;
}

.about-page .about-image {
    text-align: center;
}

.about-page .about-image img {
    border-radius: 8px;
    width: 100%;
    max-width: 280px;
    height: 350px;
    object-fit: cover;
    object-position: center 20%;
    box-shadow: var(--shadow-hover);
    border: 5px solid var(--bg-cream);
}

.about-story {
    max-width: 900px;
    margin: 0 auto 5rem;
}

.story-section {
    margin-bottom: 2rem;
}

.story-section p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.story-section.highlight {
    background-color: var(--bg-cream);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.story-section.highlight p {
    margin: 0;
}

.story-section strong {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.story-section em {
    color: var(--accent-color);
}

.about-values {
    margin-top: 5rem;
}

.about-values h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 3rem;
}

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

.value-card {
    background-color: var(--bg-cream);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.value-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.value-card p {
    line-height: 1.7;
}

/* ===================================
   Schedule Section
   =================================== */

.schedule-section {
    padding: 5rem 2rem;
    background-color: var(--bg-cream);
}

.schedule-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

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

.schedule-card {
    background-color: var(--text-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.schedule-day {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.schedule-time {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.schedule-location {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.schedule-location strong {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.schedule-price {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--secondary-color);
    background-color: var(--bg-cream);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    display: inline-block;
}

.private-sessions {
    background-color: var(--text-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.private-sessions h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.private-sessions p {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* ===================================
   What to Bring Section
   =================================== */

.what-to-bring {
    padding: 4rem 2rem;
    background-color: var(--text-light);
}

.what-to-bring h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.bring-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.bring-item {
    text-align: center;
    padding: 1.5rem;
}

.bring-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ===================================
   Gallery Section
   =================================== */

.gallery-section {
    padding: 3rem 2rem;
    background-color: var(--text-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    overflow: hidden;
    border-radius: 8px;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close-lightbox {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--text-light);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.close-lightbox:hover {
    color: var(--secondary-color);
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s;
    user-select: none;
}

.next {
    right: 20px;
}

.prev {
    left: 20px;
}

.prev:hover, .next:hover {
    background-color: rgba(139, 111, 71, 0.8);
}

/* ===================================
   Contact Section
   =================================== */

.contact-section {
    padding: 5rem 2rem;
    background-color: var(--text-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info h2,
.contact-form-wrapper h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.contact-details {
    margin: 2rem 0;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--accent-color);
    text-decoration: underline;
}

.contact-item a:hover {
    color: var(--primary-color);
}

.social-links {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-link:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.contact-cta {
    background-color: var(--bg-cream);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.contact-cta h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-cta ul {
    list-style: none;
}

.contact-cta li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.contact-cta li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Contact Form */
.contact-form {
    background-color: var(--bg-cream);
    padding: 2rem;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.submit-button {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.form-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    display: none;
}

.form-status.success {
    background-color: #d4edda;
    color: #155724;
    display: block;
}

.form-status.error {
    background-color: #f8d7da;
    color: #721c24;
    display: block;
}

/* ===================================
   FAQ Section
   =================================== */

.faq-section {
    padding: 4rem 2rem;
    background-color: var(--bg-cream);
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background-color: var(--text-light);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ===================================
   CTA Section
   =================================== */

.cta-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-light);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-section .cta-button {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.cta-section .cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

/* ===================================
   Footer
   =================================== */

footer {
    background-color: var(--text-dark);
    color: var(--text-light);
    padding: 3rem 2rem 1rem;
}

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

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-light);
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===================================
   Responsive Design
   =================================== */

@media screen and (max-width: 768px) {
    .burger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--text-light);
        width: 100%;
        text-align: center;
        transition: right 0.3s ease;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-links.active {
        right: 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1.3rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-text {
        text-align: center;
    }

    .about-image img {
        max-width: 250px;
        height: 300px;
    }

    .classes-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .gallery-item img {
        height: 200px;
    }
}

@media screen and (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .benefits-grid,
    .bring-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}
