/* --- Global Styles & Variables --- */
:root {
    --primary-green: #8aa37b;
    --dark-green: #5c7457;
    --light-green: #c1d1b9;
    --text-dark: #3a3a3a;
    --text-light: #5f5f5f;
    --bg-light: #fdfcf9;
    --white: #ffffff;
    --border-color: #e8e6e1;
    --serif-font: 'Playfair Display', serif;
    --sans-serif-font: 'Poppins', sans-serif;
    --nav-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--sans-serif-font);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    font-family: var(--serif-font);
    color: var(--dark-green);
    line-height: 1.2;
    font-weight: 700;
}

h2 {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 50px;
}

p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

section {
    padding: 80px 0;
}

.logo {
    font-family: var(--serif-font);
    font-size: 1.8rem;
    color: var(--dark-green);
}

.logo span {
    font-family: var(--sans-serif-font);
    font-weight: 300;
    font-size: 1.3rem;
    color: var(--text-dark);
}

/* --- Navigation Bar --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(253, 252, 249, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

nav.scrolled {
    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-links { display: flex; list-style: none; gap: 35px; }
.nav-links a { text-decoration: none; color: var(--text-dark); font-weight: 500; font-size: 1rem; padding: 5px 0; position: relative; transition: color 0.3s; }
.nav-links a::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background-color: var(--primary-green); transition: width 0.3s ease; }
.nav-links a:hover { color: var(--dark-green); }
.nav-links a:hover::after { width: 100%; }

.hamburger { display: none; cursor: pointer; }
.hamburger div { width: 25px; height: 3px; background-color: var(--dark-green); margin: 5px; transition: all 0.3s ease; }

/* --- Hero Section --- */
.hero {
    padding-top: var(--nav-height);
    background-image: linear-gradient(to right, rgba(253, 252, 249, 0.9) 0%, rgba(253, 252, 249, 0.7) 100%), url('images/hero.jpg');
    background-size: cover;
    background-position: center 70%;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 { font-size: 4rem; margin-bottom: 20px; max-width: 800px; }
.hero p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 40px;
    color: var(--text-dark);
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background-color: var(--dark-green);
    color: var(--white);
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.cta-button:hover {
    background-color: var(--primary-green);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* --- Classes Section --- */
.classes-section { background-color: var(--white); }
.class-cards-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }

.class-card {
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.03);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}
.class-card:hover { transform: translateY(-8px); box-shadow: 0 12px 35px rgba(0,0,0,0.08); }
.card-content { padding: 35px; }
.class-card h3 { font-size: 1.9rem; margin-bottom: 15px; }
.class-card .price { font-size: 2.5rem; font-weight: 600; color: var(--primary-green); margin-bottom: 20px; line-height: 1; }
.class-card .price span { font-size: 1rem; font-weight: 400; color: var(--text-light); }
.class-card p { margin-bottom: 0; }
.class-card .offer, .class-card .contact-note, .class-card .schedule-note {
    padding: 15px 20px;
    margin-top: 20px;
    font-size: 0.9rem;
}
.class-card .offer { background-color: #f1f8ee; color: var(--dark-green); }
.class-card .offer i { color: #e9c43b; }
.class-card .contact-note, .class-card .schedule-note { background-color: #f5f5f5; color: var(--text-light); font-style: italic; }

/* --- Schedule Section --- */
.schedule-section { background-color: var(--bg-light); border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
.schedule-table { display: grid; grid-template-columns: repeat(6, 1fr); gap: 15px; }
.schedule-header {
    font-family: var(--serif-font);
    font-size: 1.5rem;
    color: var(--dark-green);
    text-align: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-green);
}
.schedule-day { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.schedule-day div {
    background: var(--white);
    border: 1px solid var(--border-color);
    padding: 12px 10px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    width: 100%;
    transition: all 0.3s ease;
}
.schedule-day div:hover { background-color: var(--light-green); color: var(--dark-green); border-color: var(--primary-green); }
.schedule-day .evening { background-color: var(--dark-green); color: var(--white); }
.schedule-day .evening:hover { background-color: var(--primary-green); }

/* --- Booking Section --- */
.booking-section { background-color: var(--white); }
.booking-section p { text-align: center; max-width: 600px; margin: -30px auto 40px auto; }
.calendly-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

/* --- Motto Section --- */
.motto-section {
    background-color: var(--bg-light);
    text-align: center;
    overflow: hidden;
}
.motto-section .container { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 400px; }
.motto-section h2 {
    font-family: var(--sans-serif-font);
    font-weight: 600;
    font-size: 5rem;
    letter-spacing: 8px;
    line-height: 1.1;
    margin: 0;
    padding: 0;
    color: var(--light-green);
}
.motto-section h2.highlight {
    color: var(--dark-green);
    z-index: 2;
}

/* --- Contact Section --- */
.contact-section p { text-align: center; max-width: 600px; margin: -30px auto 50px auto; }
.contact-info-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.contact-item {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contact-item:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.07); }
.contact-item i { font-size: 2.5rem; color: var(--primary-green); background-color: #f1f8ee; padding: 15px; border-radius: 50%; }
.contact-item .contact-text { text-align: left; }
.contact-item .contact-text p {margin-top: 20px;}
.contact-item h3 { font-size: 1.5rem; margin-bottom: 5px; }
.contact-item p { margin-bottom: 0; }
.contact-item a { color: var(--text-light); text-decoration: none; transition: color 0.3s; }
.contact-item a:hover { color: var(--primary-green); }

/* --- Footer --- */
.footer { background-color: var(--dark-green); color: var(--bg-light); text-align: center; padding: 40px 0; }
.footer-container { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; }
.logo-footer { font-family: var(--serif-font); font-size: 1.8rem; color: var(--white); }
.logo-footer span { font-family: var(--sans-serif-font); font-weight: 300; font-size: 1.3rem; color: var(--light-green); }
.copyright { font-size: 0.9rem; opacity: 0.7; }

/* --- Responsive Design --- */
@media screen and (max-width: 992px) {
    .schedule-table { grid-template-columns: repeat(3, 1fr); }
}

@media screen and (max-width: 768px) {
    h2 { font-size: 2.2rem; }
    .hero h1 { font-size: 2.8rem; }
    .hero p { font-size: 1.1rem; }
    .motto-section h2 { font-size: 3rem; }
    section { padding: 60px 0; }

    .nav-links { position: fixed; right: -100%; top: var(--nav-height); background: var(--bg-light); flex-direction: column; align-items: center; width: 100%; height: calc(100vh - var(--nav-height)); transition: right 0.5s ease-in-out; padding-top: 40px; gap: 40px; }
    .nav-links li { opacity: 0; }
    .hamburger { display: block; z-index: 1001; }
    .nav-active { right: 0; }
    .nav-active li { opacity: 1; transition: opacity 0.5s ease 0.3s; }

    .toggle .line1 { transform: rotate(-45deg) translate(-5px, 6px); }
    .toggle .line2 { opacity: 0; }
    .toggle .line3 { transform: rotate(45deg) translate(-5px, -6px); }
    
    .schedule-table { grid-template-columns: repeat(2, 1fr); }
    .contact-item { flex-direction: column; text-align: center; }
    .contact-item .contact-text { text-align: center; }
}

@media screen and (max-width: 480px) {
    .schedule-table { grid-template-columns: 1fr; }
    .schedule-header { display: none; } /* Hide headers on single column */
    .schedule-day {
        position: relative;
        padding-top: 25px; /* Space for day label */
        border-top: 2px solid var(--light-green);
        margin-top: 20px;
    }
    .schedule-day:first-child { border-top: none; margin-top: 0; }
    .schedule-day::before {
        content: attr(data-day);
        position: absolute;
        top: -5px;
        left: 0;
        font-family: var(--serif-font);
        color: var(--dark-green);
        font-size: 1.2rem;
    }
    /* Add data-day attributes to HTML for this to work, or use nth-child */
    .schedule-table > .schedule-day:nth-of-type(1)::before { content: 'Monday'; }
    .schedule-table > .schedule-day:nth-of-type(2)::before { content: 'Tuesday'; }
    .schedule-table > .schedule-day:nth-of-type(3)::before { content: 'Wednesday'; }
    .schedule-table > .schedule-day:nth-of-type(4)::before { content: 'Thursday'; }
    .schedule-table > .schedule-day:nth-of-type(5)::before { content: 'Friday'; }
    .schedule-table > .schedule-day:nth-of-type(6)::before { content: 'Saturday'; }
}