/* =========================================
   FESTIVALS PAGE
========================================= */

.inner-page {
    background: #faf9f6;
}


/* =========================================
   PAGE HERO
========================================= */

.page-hero {
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 70px 20px;
    background:
        linear-gradient(
            rgba(20, 16, 10, 0.72),
            rgba(20, 16, 10, 0.72)
        ),
        url("https://flhorvkvkxbodappjspg.supabase.co/storage/v1/object/public/kingdom-media/hero/hero-1.jpeg")
        center / cover no-repeat;
}

.page-hero-content {
    width: min(850px, 100%);
    color: #fff;
}

.page-label {
    display: inline-block;
    margin-bottom: 15px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #d4af37;
}

.page-hero h1 {
    margin: 0 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.05;
    font-weight: 600;
}

.page-hero p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.88);
}


/* =========================================
   INTRO
========================================= */

.page-intro {
    padding: 80px 20px 55px;
    background: #fff;
    text-align: center;
}

.section-container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.section-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #9b7620;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.page-intro h2 {
    margin: 0 0 20px;
    color: #201a12;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 600;
}

.page-intro p {
    max-width: 850px;
    margin: 0 auto;
    color: #625b50;
    font-size: 17px;
    line-height: 1.9;
}


/* =========================================
   FESTIVAL SECTIONS
========================================= */

.page-sections {
    padding: 35px 20px 90px;
    background: #faf9f6;
}

#festivalSections {
    display: flex;
    flex-direction: column;
    gap: 30px;
}


/* =========================================
   FESTIVAL CARD
========================================= */

.festival-section {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    min-height: 300px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8e1d4;
    border-radius: 8px;
    box-shadow: 0 8px 28px rgba(45, 35, 20, 0.06);
}

.festival-section-reverse {
    grid-template-columns: 1.15fr 0.85fr;
}

.festival-section-reverse .festival-section-image {
    order: 2;
}

.festival-section-reverse .festival-section-content {
    order: 1;
}


/* =========================================
   IMAGE
========================================= */

.festival-section-image {
    min-height: 300px;
    overflow: hidden;
    background: #eee9df;
}

.festival-section-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.festival-section:hover
.festival-section-image img {
    transform: scale(1.04);
}


/* =========================================
   CONTENT
========================================= */

.festival-section-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px;
}

.festival-label {
    display: inline-block;
    width: fit-content;
    margin-bottom: 12px;
    color: #a17b25;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.festival-section-content h2 {
    margin: 0 0 10px;
    color: #211a11;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.15;
}

.festival-section-content h3 {
    margin: 0 0 18px;
    color: #7a6a52;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}

.festival-section-content p {
    margin: 0;
    max-width: 650px;
    color: #5e584f;
    font-size: 16px;
    line-height: 1.85;
}


/* =========================================
   LOADING
========================================= */

.page-loading {
    padding: 60px 20px;
    text-align: center;
    color: #776f63;
    font-size: 15px;
}


/* =========================================
   EMPTY / ERROR MESSAGE
========================================= */

.festival-message {
    padding: 70px 25px;
    background: #fff;
    border: 1px solid #e8e1d4;
    border-radius: 8px;
    text-align: center;
}

.festival-message-icon {
    margin-bottom: 15px;
    color: #a17b25;
    font-size: 30px;
}

.festival-message h3 {
    margin: 0 0 10px;
    color: #211a11;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 28px;
}

.festival-message p {
    margin: 0;
    color: #716a60;
    line-height: 1.7;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 800px) {

    .page-hero {
        min-height: 320px;
        padding: 60px 20px;
    }

    .page-intro {
        padding: 60px 20px 40px;
    }

    .page-sections {
        padding: 25px 15px 60px;
    }

    .section-container {
        width: 100%;
    }

    .festival-section,
    .festival-section-reverse {
        display: flex;
        flex-direction: column;
    }

    .festival-section-reverse .festival-section-image,
    .festival-section-reverse .festival-section-content {
        order: initial;
    }

    .festival-section-image {
        min-height: 230px;
        max-height: 280px;
    }

    .festival-section-content {
        padding: 32px 25px;
    }

    .festival-section-content h2 {
        font-size: 29px;
    }

    .festival-section-content p {
        font-size: 15px;
        line-height: 1.75;
    }
}


@media (max-width: 480px) {

    .page-hero {
        min-height: 280px;
    }

    .page-hero h1 {
        font-size: 36px;
    }

    .page-hero p {
        font-size: 15px;
    }

    .page-intro h2 {
        font-size: 30px;
    }

    .festival-section-image {
        min-height: 200px;
    }

    .festival-section-content {
        padding: 28px 20px;
    }
}