@font-face {
    font-family: 'Poppins';
    src: url('../fonts/poppins-semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --purple-dark: #572145;
    --purple-light: #a97c9a;
    --gold: #ffcb74;
    --dark-gray: #242323;
    --medium-gray: #2f2e2e;
    --peach: #f9c7b8;
    --white: #ffffff;
    --black: #000000;
    --content-width: 980px;
    --wide-width: 1200px;
    --nav-height: 48px;
    --section-padding: 64px 24px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
}

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

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

/* ===== HERO ===== */
.hero {
    background: var(--white);
    text-align: center;
    padding: 48px 24px 32px;
}

.hero__logo {
    max-width: 260px;
    margin: 0 auto 16px;
}

.hero__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 28px;
    color: var(--black);
    margin-bottom: 24px;
}

.hero__banner {
    width: 100%;
    max-width: var(--wide-width);
    margin: 0 auto 32px;
    border-radius: 2px;
    box-shadow: 0 4px 24px rgba(87, 33, 69, 0.15);
}

.hero__social {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    list-style: none;
}

.hero__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--dark-gray);
    transition: transform 0.2s, background 0.2s;
}

.hero__social a:hover {
    transform: scale(1.15);
    background: var(--purple-dark);
}

.hero__social svg {
    width: 22px;
    height: 22px;
    fill: var(--white);
}

/* ===== ANCHOR NAV ===== */
.anchor-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--purple-dark);
    border-bottom: 2px solid rgba(255, 203, 116, 0.3);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.anchor-nav__list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    list-style: none;
    max-width: var(--wide-width);
    margin: 0 auto;
    padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.anchor-nav__list::-webkit-scrollbar {
    display: none;
}

.anchor-nav__list a {
    display: block;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 14px;
    color: var(--white);
    padding: 14px 16px;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
    position: relative;
}

.anchor-nav__list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 2px;
    background: var(--gold);
    transition: transform 0.25s ease;
}

.anchor-nav__list a:hover,
.anchor-nav__list a.active {
    color: var(--gold);
}

.anchor-nav__list a.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* ===== SECTIONS ===== */
.section {
    padding: var(--section-padding);
    scroll-margin-top: var(--nav-height);
}

.section--white {
    background: var(--white);
}

.section--lavender {
    background: #e8d5e0;
}

.section--purple-light {
    background: var(--purple-light);
    color: var(--black);
}

.section--purple-dark {
    background: var(--purple-dark);
    color: var(--white);
}

.section--medium-gray {
    background: var(--medium-gray);
    color: var(--white);
}

.section__inner {
    max-width: var(--content-width);
    margin: 0 auto;
}

.section__heading {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 30px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-align: center;
    margin-bottom: 40px;
}

/* Markdown-rendered content */
.section__inner h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin: 32px 0 12px;
}

.section__inner table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
}

.section__inner table th,
.section__inner table td {
    padding: 4px 12px;
    text-align: left;
    font-size: 15px;
}

.section__inner table th:first-child,
.section__inner table td:first-child {
    font-weight: 700;
    white-space: nowrap;
    width: 140px;
}

.section__inner table thead {
    display: none;
}

.section__inner ul,
.section__inner ol {
    padding-left: 24px;
    margin-bottom: 16px;
}

.section__inner li {
    padding: 4px 0;
    font-size: 15px;
    line-height: 1.6;
}

.section__inner p {
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.7;
}

.section__inner strong {
    font-weight: 700;
}

.section__inner em {
    font-style: italic;
}

.section__inner a {
    color: inherit;
    text-decoration: underline;
}

/* ===== PROGRAM ===== */
.program-day {
    margin-bottom: 32px;
}

.program-day__title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 12px;
}

.program-day__items {
    list-style: none;
}

.program-day__items li {
    padding: 4px 0;
    font-size: 15px;
}

.program-day__items .time {
    font-weight: 700;
    display: inline-block;
    min-width: 110px;
}

.program__note {
    margin-top: 24px;
    font-style: italic;
    text-align: center;
    opacity: 0.85;
}

/* ===== PRICES ===== */
.prices__intro {
    text-align: center;
    margin-bottom: 32px;
    font-style: italic;
}

.prices__pass {
    margin-bottom: 24px;
}

.prices__pass-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.prices__pass-desc {
    font-size: 15px;
    opacity: 0.9;
}

.prices__parties {
    margin: 24px 0;
}

.prices__parties-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.prices__parties ul {
    list-style: disc;
    padding-left: 24px;
}

.prices__parties li {
    margin-bottom: 4px;
    font-size: 15px;
}

.prices__note {
    margin: 16px 0;
    font-size: 14px;
}

.prices__group {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.prices__group-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.prices__group-desc {
    font-size: 15px;
    margin-bottom: 12px;
}

.prices__group ul {
    list-style: none;
    margin-bottom: 12px;
}

.prices__group li {
    padding: 4px 0;
    font-size: 15px;
}

.prices__group li::before {
    content: "→ ";
    color: var(--purple-dark);
    font-weight: 700;
}

.prices__group-footer {
    font-size: 14px;
    margin-top: 12px;
}

.prices__group-footer a {
    color: var(--purple-dark);
    text-decoration: underline;
    font-weight: 700;
}

/* ===== TEACHERS & DJS ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 0 auto 48px;
}

.team-card {
    position: relative;
    aspect-ratio: 0.81;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: transform 0.25s, box-shadow 0.25s;
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.team-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 16px;
    background: rgba(87, 33, 69, 0.82);
    backdrop-filter: blur(4px);
    text-align: center;
    transform: translateY(0);
    transition: background 0.25s;
}

.team-card:hover .team-card__overlay {
    background: rgba(87, 33, 69, 0.95);
}

.team-card__name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--white);
    margin-bottom: 2px;
}

.team-card__country {
    font-size: 13px;
    color: var(--gold);
    letter-spacing: 0.5px;
}

.djs-section {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.djs-section h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.djs-section p {
    font-style: italic;
    opacity: 0.8;
}

/* ===== LOCATION ===== */
.location-carousel {
    margin-top: 32px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.location-carousel img {
    width: 100%;
    height: auto;
    display: block;
}

.location-carousel .swiper-button-prev,
.location-carousel .swiper-button-next {
    color: var(--white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.location-carousel .swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.6;
}

.location-carousel .swiper-pagination-bullet-active {
    opacity: 1;
}

.location__subtitle {
    text-align: center;
    font-size: 15px;
    margin-bottom: 8px;
}

.location__emphasis {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 20px;
    font-style: italic;
    margin-bottom: 8px;
}

.location__address {
    text-align: center;
    font-size: 16px;
    margin-bottom: 32px;
}

.location__gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.location__gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.location__gallery img:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

/* ===== ACCOMMODATION ===== */
.accommodation__hotel {
    text-align: center;
    margin-bottom: 24px;
}

.accommodation__hotel a {
    color: var(--black);
    text-decoration: underline;
    font-weight: 700;
}

.accommodation__desc {
    text-align: center;
    margin-bottom: 24px;
}

.accommodation__code {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 16px;
}

.accommodation__prices {
    list-style: none;
    text-align: center;
    margin-bottom: 24px;
}

.accommodation__prices li {
    padding: 6px 0;
    font-size: 15px;
}

.accommodation__booking {
    text-align: center;
    font-size: 15px;
}

.accommodation__booking a {
    text-decoration: underline;
    font-weight: 700;
}

/* ===== TRAVEL ===== */
.travel__intro {
    text-align: center;
    margin-bottom: 32px;
    font-size: 15px;
}

.travel__block {
    margin-bottom: 28px;
}

.travel__block-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 17px;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--purple-dark);
}

.travel__block ul {
    list-style: none;
    padding-left: 0;
}

.travel__block li {
    padding: 3px 0;
    font-size: 15px;
    padding-left: 16px;
    position: relative;
}

.travel__block li::before {
    content: "–";
    position: absolute;
    left: 0;
}

.travel__block a {
    color: var(--purple-dark);
    text-decoration: underline;
}

/* ===== CONDITIONS ===== */
.conditions__label {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--black);
    margin-bottom: 24px;
    padding: 12px;
    background: rgba(87, 33, 69, 0.08);
    border-radius: 4px;
}

.conditions__list {
    list-style: decimal;
    padding-left: 24px;
}

.conditions__list li {
    padding: 8px 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--black);
}

/* ===== REGISTRATION ===== */
.registration__text {
    text-align: center;
    margin-bottom: 24px;
    font-size: 16px;
}

.registration__alert {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: var(--purple-dark);
    margin-bottom: 32px;
    padding: 16px;
    background: rgba(87, 33, 69, 0.06);
    border: 2px solid var(--purple-light);
    border-radius: 6px;
}

.registration__cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.registration__cards img {
    height: 60px;
    width: auto;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.2s;
}

.registration__cards img:hover {
    opacity: 1;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-gray);
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 24px;
    font-size: 14px;
}

/* ===== LIGHTBOX ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.92);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.25s;
}

.lightbox.open {
    display: flex;
    opacity: 1;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.5);
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 24px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--purple-dark);
    color: var(--white);
    border: none;
    cursor: pointer;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
}

.scroll-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.scroll-top:hover {
    background: var(--gold);
    color: var(--purple-dark);
}

.scroll-top svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    :root {
        --nav-height: 44px;
        --section-padding: 48px 20px;
    }

    .hero__title {
        font-size: 22px;
    }

    .hero__logo {
        max-width: 180px;
    }

    .section__heading {
        font-size: 24px;
        letter-spacing: 2px;
        margin-bottom: 28px;
    }

    .anchor-nav__list a {
        padding: 12px 12px;
        font-size: 13px;
    }

    .team-grid {
        gap: 12px;
    }

    .team-card__overlay {
        padding: 10px 12px;
    }

    .team-card__name {
        font-size: 12px;
    }

    .team-card__country {
        font-size: 11px;
    }

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

    .registration__cards img {
        height: 48px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 40px 16px;
    }

    .hero {
        padding: 32px 16px 24px;
    }

    .hero__logo {
        max-width: 150px;
    }

    .hero__title {
        font-size: 19px;
    }

    .section__heading {
        font-size: 20px;
    }

    .program-day__items .time {
        min-width: 90px;
        font-size: 14px;
    }

    .program-day__items li {
        font-size: 14px;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
}
