/* ===== CSS Variables ===== */
:root {
    --color-cream: #faf8f5;
    --color-cream-dark: #f5f0e8;
    --color-gold: #c9a959;
    --color-gold-light: #d4bc7a;
    --color-teal: #5a8a8a;
    --color-teal-dark: #4a7a7a;
    --color-brown: #4a4039;
    --color-brown-light: #6b5d52;
    --color-white: #ffffff;
    --font-heading: 'Josefin Sans', sans-serif;
    --font-body: 'Lato', sans-serif;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.7;
    color: var(--color-brown);
    background-color: var(--color-cream);
}

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

a {
    color: var(--color-teal);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-gold);
}

/* ===== Typography ===== */
h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 300;
    letter-spacing: 0.05em;
}

h1 {
    font-size: 2.5rem;
    color: var(--color-brown);
    margin-bottom: 1rem;
}

h2 {
    font-size: 2rem;
    color: var(--color-brown);
    margin-bottom: 1.5rem;
    text-align: center;
}

h3 {
    font-size: 1.3rem;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

/* ===== Header & Navigation ===== */
header {
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-brown);
    letter-spacing: 0.1em;
}

.logo a:hover {
    color: var(--color-gold);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-brown-light);
    letter-spacing: 0.05em;
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--color-brown);
}

/* ===== Banner ===== */
.banner {
    width: 100%;
    height: 650px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

.banner img {
    width: 100%;
    height: 650px;
    object-fit: cover;
    object-position: center top;
}

/* ===== Main Content ===== */
main {
    width: 100%;
    background-color: var(--color-cream);
    position: relative;
    z-index: 1;
}

main.has-banner {
    margin-top: 650px;
}

main section {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

section {
    padding: 4rem 2rem;
}

/* ===== Hero Section ===== */
.hero {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
    background-color: var(--color-white);
}

.hero-image img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    object-position: center 30%;
    border-radius: 20px;
    background-color: var(--color-cream-dark);
}

.hero-content h1 {
    color: var(--color-gold);
}

.hero-content p:first-of-type {
    font-size: 1.3rem;
    color: var(--color-teal);
    margin-bottom: 1.5rem;
}

/* ===== Lessons Section ===== */
.lessons {
    background-color: var(--color-cream);
    text-align: center;
}

.lessons .highlight {
    font-size: 1.2rem;
    color: var(--color-teal);
    font-weight: 400;
    margin-bottom: 2rem;
}

.lessons p {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.rates {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: 8px;
    max-width: 400px;
    margin: 2rem auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.rates ul {
    list-style: none;
}

.rates li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-cream-dark);
}

.rates li:last-child {
    border-bottom: none;
}

.cta {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-top: 2rem;
}

/* ===== Testimonials Section ===== */
.testimonials {
    background-color: var(--color-white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: start;
    margin-top: 2rem;
}

.testimonial-images {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    background-color: var(--color-cream-dark);
}

.testimonial-quotes {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

blockquote {
    padding: 1.5rem;
    background-color: var(--color-cream);
    border-left: 3px solid var(--color-gold);
    border-radius: 0 8px 8px 0;
}

blockquote p {
    font-style: italic;
    margin-bottom: 0.5rem;
}

blockquote cite {
    font-size: 0.9rem;
    color: var(--color-brown-light);
    font-style: normal;
}

/* ===== Contact Section ===== */
.contact {
    background-color: var(--color-cream);
}

.contact .highlight {
    text-align: center;
    font-size: 1.2rem;
    color: var(--color-teal);
    margin-bottom: 2rem;
}

.contact-info {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-cream-dark);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--color-white);
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-gold);
}

.contact-form input[name="subject"] {
    margin-bottom: 1rem;
}

.contact-form textarea {
    resize: vertical;
    margin-bottom: 1rem;
}

.contact-form button {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--color-gold);
    color: var(--color-white);
    border: none;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: var(--color-gold-light);
}

/* ===== Bio Page ===== */
.bio-hero {
    text-align: center;
    background-color: var(--color-white);
    padding-bottom: 2rem;
}

.bio-hero h1 {
    color: var(--color-gold);
}

.subtitle {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-brown-light);
    letter-spacing: 0.1em;
}

.bio-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: start;
    background-color: var(--color-cream);
}

.bio-image img {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background-color: var(--color-cream-dark);
    object-fit: cover;
    object-position: top;
}

.bio-text p {
    text-align: justify;
}

/* ===== Gallery Page ===== */
.gallery-hero {
    text-align: center;
    background-color: var(--color-white);
}

.gallery-hero h1 {
    color: var(--color-gold);
}

.gallery {
    background-color: var(--color-cream);
    padding-top: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    background-color: var(--color-cream-dark);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.gallery-banner {
    background-color: var(--color-cream);
    padding: 2rem;
}

.gallery-banner img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 20px;
}

.gallery-info {
    text-align: center;
    background-color: var(--color-cream);
    padding-top: 1rem;
}

.gallery-item img {
    cursor: pointer;
}

.video-item video {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    background-color: var(--color-brown);
}

/* ===== Lightbox ===== */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* ===== Video Modal ===== */
.video-thumbnail {
    width: 100%;
    height: 250px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 60px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.video-thumbnail:hover .play-button {
    background-color: rgba(0, 0, 0, 0.7);
}

.video-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 1000;
    cursor: pointer;
}

.video-container {
    width: 750px;
    max-width: 90%;
    cursor: default;
}

.video-container video {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

/* ===== Footer ===== */
footer {
    background-color: var(--color-brown);
    color: var(--color-cream);
    text-align: center;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--color-cream);
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
}

.social-links a:hover {
    color: var(--color-gold);
}

footer p {
    font-size: 0.9rem;
    color: var(--color-cream-dark);
    margin-bottom: 0;
}

/* ===== Responsive Design ===== */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
    }

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

    .testimonial-images {
        flex-direction: row;
    }

    .testimonial-images .testimonial-image {
        flex: 1;
    }

    .bio-content {
        grid-template-columns: 1fr;
    }

    .bio-image {
        max-width: 400px;
        margin: 0 auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    section {
        padding: 2rem 1rem;
    }

    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .banner {
        height: 350px;
    }

    .banner img {
        height: 350px;
    }

    main.has-banner {
        margin-top: 350px;
    }

    .hero-image img {
        height: 350px;
    }

    .bio-image img {
        width: 250px;
        height: 250px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

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

    .testimonial-images {
        flex-direction: column;
    }
}
