:root {
    --terracotta: #c46a4e;
    --clay: #d9906c;
    --cream: #faf4ef;
    --charcoal: #2c2c2c;
    --muted: #5e524b;
    --border-light: rgba(0,0,0,0.06);
    --shadow-card: 0 18px 35px -12px rgba(0,0,0,0.08);
    --radius: 1.25rem;
    --transition: 0.25s ease;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Inter', sans-serif;
    background: #fff;
    color: var(--charcoal);
    line-height: 1.5;
    overflow-x: hidden;
}
h1, h2, h3, .serif {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}
img {
    max-width: 100%;
    display: block;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}
.btn {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    background: var(--terracotta);
    color: #fff;
    box-shadow: 0 8px 18px rgba(196,106,78,0.3);
}
.btn:hover {
    background: #b5573c;
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(196,106,78,0.4);
}
.btn-outline {
    background: transparent;
    color: var(--charcoal);
    box-shadow: inset 0 0 0 2px var(--charcoal);
    box-shadow: none;
    border: 2px solid var(--charcoal);
}
.btn-outline:hover {
    background: var(--charcoal);
    color: #fff;
    box-shadow: 0 10px 22px rgba(0,0,0,0.15);
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.3s, backdrop-filter 0.3s;
}
.site-header.scrolled {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px -15px rgba(0,0,0,0.1);
}
.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: color 0.3s;
}
.scrolled .logo {
    color: var(--charcoal);
}
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}
.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.2s;
    position: relative;
}
.scrolled .nav-links a {
    color: var(--charcoal);
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--terracotta);
    transition: 0.25s;
}
.nav-links a:hover::after {
    width: 100%;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
}
.scrolled .menu-toggle {
    color: var(--charcoal);
}

.hero {
    height: 100vh;
    min-height: 650px;
    display: flex;
    align-items: center;
    position: relative;
    background: url('img/bg.jpg') center/cover no-repeat;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0% 100%);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.25) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin-left: 8%;
    color: #fff;
    animation: fadeUp 0.9s ease-out;
}
.hero-content h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    line-height: 1.15;
    margin-bottom: 1.2rem;
}
.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 0.8rem;
}
.section-sub {
    color: var(--muted);
    max-width: 600px;
    margin-bottom: 3rem;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.class-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: 0.35s;
    cursor: pointer;
    position: relative;
}
.class-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 45px -15px rgba(0,0,0,0.15);
}
.class-card img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}
.class-card-body {
    padding: 1.5rem;
}
.class-card-body h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}
.class-card-body p {
    color: var(--muted);
    font-size: 0.95rem;
}

.event-row {
    display: flex;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}
.event-card {
    flex: 1 1 300px;
    background: var(--cream);
    border-radius: 1.5rem;
    padding: 2rem 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s;
}
.event-date {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--terracotta);
    margin-bottom: 0.5rem;
}

.gallery-masonry {
    columns: 3 240px;
    column-gap: 1.2rem;
}
.gallery-masonry img {
    width: 100%;
    border-radius: 1rem;
    margin-bottom: 1.2rem;
    transition: 0.25s;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.2rem;
}
.gallery-item {
    border-radius: 1rem;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 12px 25px -10px rgba(0,0,0,0.1);
    transition: 0.3s;
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 35px -12px rgba(0,0,0,0.2);
}
.gallery-filter.active {
    background: var(--terracotta) !important;
    color: #fff !important;
    border-color: var(--terracotta) !important;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.lightbox.active {
    display: flex;
}
.lightbox img {
    max-width: 90%;
    max-height: 85vh;
    border-radius: 1rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    animation: modalPop 0.3s;
}
.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2.5rem;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
}
.testimonial {
    min-width: 320px;
    background: #fff;
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-card);
    scroll-snap-align: start;
}

.site-footer {
    background: #1e1b18;
    color: #ccc;
    padding: 4rem 2rem 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
    gap: 2.5rem;
    max-width: 1280px;
    margin: 0 auto;
}
.footer-grid h4 {
    color: #fff;
    margin-bottom: 1rem;
}
.footer-grid a {
    color: #aaa;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}
.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    color: #777;
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}
.modal.active {
    display: flex;
}
.modal-box {
    background: #fff;
    padding: 2.5rem;
    border-radius: 2rem;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: modalPop 0.3s;
}
.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
}
.form-group {
    margin-bottom: 1.2rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
}
.form-group input, .form-group select {
    width: 100%;
    padding: 0.8rem;
    border-radius: 12px;
    border: 1px solid #ddd;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: #1e1b18;
    color: #ccc;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    z-index: 8000;
    font-size: 0.9rem;
}
.cookie-banner a {
    color: var(--clay);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes modalPop {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    .nav-links {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        flex-direction: column;
        background: #fff;
        padding: 2rem;
        display: none;
        box-shadow: 0 20px 30px rgba(0,0,0,0.1);
    }
    .nav-links.open {
        display: flex;
    }
    .scrolled .nav-links {
        background: rgba(255,255,255,0.95);
    }
    .hero {
        clip-path: polygon(0 0, 100% 0, 100% 94%, 0% 100%);
    }
}