/* Global Styles */
:root {
    --color-sage: #8DA399;
    --color-sage-dark: #6E8078;
    --color-sand: #F5F1E8;
    --color-sand-dark: #E0D8C8;
    --color-charcoal: #2C2C2C;
    --color-white: #FFFFFF;
    --color-text-light: #666666;

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    --container-width: 1200px;
    --transition-standard: all 0.3s ease;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-sans);
    background-color: var(--color-sand);
    color: var(--color-charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    margin-top: 0;
    font-weight: 400;
}

p {
    margin-bottom: 1.5rem;
    color: var(--color-text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-standard);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--color-charcoal);
}

/* Buttons */
.btn-primary {
    display: inline-block;
    background-color: var(--color-sage);
    color: var(--color-white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition-standard);
    border: 1px solid transparent;
}

.btn-primary:hover {
    background-color: var(--color-sage-dark);
    transform: translateY(-2px);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: var(--transition-standard);
    background-color: transparent;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 1rem 5%;
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-charcoal);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-charcoal);
}

.nav-links a:hover {
    color: var(--color-sage);
}

.btn-nav {
    border: 1px solid var(--color-charcoal);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
}

.btn-nav:hover {
    background-color: var(--color-charcoal);
    color: var(--color-white) !important;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background-color: var(--color-charcoal);
    transition: var(--transition-standard);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    /* Taller for parallax */
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-content {
    color: var(--color-white);
    max-width: 800px;
    padding: 0 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
}

/* Studio Section */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.split-layout.reverse {
    direction: rtl;
}

.split-layout.reverse>* {
    direction: ltr;
}

.text-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.text-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.image-content img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Classes Section */
.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.class-card {
    background-color: var(--color-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition-standard);
}

.class-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.class-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.class-card:hover img {
    transform: scale(1.05);
}

.class-info {
    padding: 1.5rem;
    text-align: center;
}

.class-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--color-sage-dark);
}

/* Instructors Section */
.instructors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    text-align: center;
}

.instructor-card {
    padding: 1rem;
}

.instructor-img {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.instructor-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.instructor-card:hover .instructor-img img {
    transform: scale(1.05);
}

.instructor-card h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.instructor-card p {
    color: var(--color-sage);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    background-color: var(--color-white);
}

.map-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.contact-info {
    padding: 2rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition-standard);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-sage);
}

/* Footer */
footer {
    background-color: var(--color-charcoal);
    color: var(--color-white);
    padding: 3rem 0;
    text-align: center;
}

.social-links {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
}

.social-links a:hover {
    color: var(--color-white);
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .split-layout {
        grid-template-columns: 1fr;
    }

    .split-layout.reverse {
        direction: ltr;
    }

    .nav-links {
        display: none;
        /* Mobile menu implementation would go here */
    }

    .mobile-menu-toggle {
        display: flex;
    }
}