/* ------------------ BASE ------------------ */
:root {
    --yellow: #F2D168;
    --orange: #D95A41;
    --primary: #C02641;
    --primary-dark: #620E0E;
    --primary-light: #A22E2E;
    --gold: #c99a45;
    --gold-light: #e1bd72;
    --cream: #faf7f1;
    --cream-dark: #f1eadf;
    --white: #ffffff;
    --text: #292522;
    --text-light: #716a63;
    --text-muted: #928b84;
    --border: rgba(70, 35, 30, 0.12);
    --shadow: 0 20px 50px rgba(50, 20, 20, 0.08);
    --container: calc(100% - 120px);
    --serif: "DM Serif Text", serif;
    --sans: "DM Sans", Arial, sans-serif;
    --transition: 300ms ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--sans);
    background: var(--cream);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

img {
    display: block;
    width: 100%;
    object-fit: cover;
}

a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
    border: none;
}

a:focus, button:focus{
    outline: none;
    background-color: var(--cream-dark);
    border: none;
    border-radius: 4px;
    padding: 6px;
}

.container {
    width: min(
        calc(100% - 80px),
        var(--container)
    );
    margin-inline: auto;
}

h1,
h2,
h3,
h4 {
    line-height: 1.05;
}

h1,
h2 {
    font-family: var(--serif);
    font-weight: 600;
}

h1 em,
h2 em {
    color: var(--primary);
    font-style: italic;
}

@media (max-width: 1050px) {
    .container {
        width: calc(100% - 60px);
    }
}

@media (max-width: 760px) {
    .container {
        width: calc(100% - 50px);
    }
}

@media (max-width: 400px) {
    .container {
        width: calc(100% - 36px);
    }
}


/* ------------------ NAVBAR ------------------ */

.site-header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(250, 247, 241, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
    border-color: var(--border);
    box-shadow: 0 8px 30px rgba(40, 20, 20, 0.05);
}

.nav-container {
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;            /* lets the logo shrink instead of pushing the toggle off-screen */
}

.logo-img {
    flex: 0 0 48px;          /* fixed size (was 10% of an auto-width parent) */
    width: 48px;
    height: 48px;
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    min-width: 0;
}

.logo-text strong {
    font-family: var(--sans);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.logo-text small {
    line-height: 1.25;
    margin-top: 4px;
    font-size: 0.7rem;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--text-light);
}


/* ------------------ MENU (DESKTOP) ------------------ */

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-left: auto;
}

.desktop-nav a {
    position: relative;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    transition: color var(--transition);
}

.desktop-nav a::before {
    content: "";
    position: absolute;
    top: -18px;
    left: 50%;
    width: 25px;
    height: 25px;
    background-image: url("../images/nav-hover-icon.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0;
    transform: translateX(-50%) translateY(8px) scale(0.4);
    transition: opacity 0.25s ease, transform 0.45s cubic-bezier(.22, 1, .36, 1);
}

.desktop-nav a:hover::before,
.desktop-nav a.active::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--primary);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 18px;
    background: var(--primary);
    color: var(--white);
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    transition: background var(--transition), transform var(--transition);
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.nav-cta i {
    font-size: 10px;
}


/* ------------------ MENU (MOBILE) ------------------ */

.menu-toggle {
    display: none;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    background: transparent;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 19px;
    height: 1.5px;
    background: var(--primary);
    transition: transform var(--transition);
}

.mobile-nav {
    display: none;
}


/* ------------------ BUTTONS ------------------ */

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 36px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 3px;
    font-size: 1rem;
    font-weight: 700;
    transition: transform var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--primary);
}

.btn-outline:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--white);
    color: var(--primary);
}

.btn-light:hover {
    transform: translateY(-2px);
    background: var(--cream);
}

.link-style {
            color: var(--primary);
            text-decoration: underline;
        }

/* ------------------ SECTION DEFAULT ------------------ */

.section-padding {
    padding-block: 120px;
}

.section-heading.centered {
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
}

.section-heading.centered .eyebrow {
    justify-content: center;
}

.section-heading h2 {
    font-size: clamp(44px, 5vw, 64px);
    letter-spacing: -1px;
}

.section-heading-small h2{
    font-size: 2rem;
    letter-spacing: -1px;
}

.section-heading-small p{
    margin: 15px 0;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.9;
}

.section-heading p {
    margin: 24px 0;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.9;
}

.section-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
}


/* ------------------ FOOTER ------------------ */

.site-footer {
    background: #280202;

    color: var(--white);

    padding-top: 75px;
}

.footer-main {
    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr;

    gap: 80px;

    padding-bottom: 60px;
}

.footer-brand {
    max-width: 350px;
}

.logo-symbol{
    height: 80px;
    width: 80px;
}

.footer-logo .logo-text strong {
    color: var(--white);
}

.footer-logo .logo-text small {
    color: rgba(255, 255, 255, 0.5);
}

.footer-brand p {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 12px;
    line-height: 1.9;
}

.social-links {
    display: flex;
    gap: 9px;
    margin-top: 10px;
}

.social-links a {
    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 50%;

    color: rgba(255, 255, 255, 0.7);

    font-size: 11px;

    transition:
        background var(--transition),
        color var(--transition);
}

.social-links a:hover {
    background: var(--gold);
    color: var(--primary-dark);
}

.footer-column {
    display: flex;
    flex-direction: column;

    gap: 12px;
}

.footer-column h4 {
    margin-bottom: 8px;

    color: var(--gold-light);

    font-size: 11px;

    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-column a,
.footer-column span {
    color: rgba(255, 255, 255, 0.6);

    font-size: 11px;

    transition: color var(--transition);
}

.footer-column a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-block: 22px;

    border-top: 1px solid rgba(255, 255, 255, 0.1);

    color: rgba(255, 255, 255, 0.4);

    font-size: 9px;
}


/* ------------------ HOME PAGE ------------------ */

.hero-desktop {
    min-height: 90vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-mobile {
    display: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.35;
    background-image: radial-gradient(rgba(114, 33, 58, 0.09) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
}

.hero-desktop::before {
    content: "";
    position: absolute;
    width: 650px;
    height: 650px;
    top: -250px;
    right: -180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 154, 69, 0.15), transparent 68%);
}

.hero-container {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
    gap: 90px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-desktop h1 {
    max-width: 620px;
    font-size: clamp(2rem, 6vw, 4rem);
    letter-spacing: -2px;
}

.hero-description {
    max-width: 520px;
    margin-top: 28px;
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.8;
}

.hero-visual {
    position: relative;
    min-height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-wrapper {
    width: min(100%, 530px);
    height: 600px;
    position: relative;
    overflow: hidden;
    border-radius: 260px 260px 8px 8px;
    z-index: 2;
}

.hero-image-wrapper img {
    height: 100%;
    scale: 1.5;
    transition: transform 1s ease;
}

.hero-image-wrapper:hover img {
    transform: scale(1.04);
}

.hero-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(40, 15, 20, 0.25));
}

.intro {
    background: var(--white);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    border-bottom: 1px solid rgba(114, 33, 58, 0.3);
    padding-bottom: 5px;
    transition: gap var(--transition);
}

.text-link:hover {
    gap: 17px;
}

.text-link i {
    font-size: 10px;
}

.events-preview {
    background: var(--cream);
}

.events-page {
    background: #fff;
    padding-bottom: 50px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 60px;
}

.main-grid{
    margin: 0;
    padding: 0 0 120px;
}

.event-card {
    background: var(--white);
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
}

.event-card:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow);
}

.event-image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.event-image img {
    height: 100%;
    transition: transform 700ms ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-date {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 55px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.event-date strong {
    font-family: var(--serif);
    font-size: 25px;
    line-height: 1;
}

.event-date span {
    margin-top: 3px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1px;
}

.event-content {
    padding: 25px;
}

.event-content h3 {
    margin-top: 8px;
    font-family: var(--serif);
    font-size: 1.6rem;
    color: var(--primary);
}

.event-content p {
    margin: 10px 0 20px;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
}

.mobile-link {
    display: none;
}

.faq-section {
    width: 100%;
    margin: 0 auto;
    padding: 110px 0;
    background: #fff;
}

        .faq-list {
            width: 100%;
            margin: 40px 0;
            border-top: 1px solid rgba(40, 40, 40, 0.13);
        }

        .faq-item {
            position: relative;
            border-bottom: 1px solid rgba(40, 40, 40, 0.13);
            padding: 28px 24px;
            transition: background-color 0.35s ease, border-color 0.35s ease;
        }

        .faq-item:hover {
            background-color: rgba(124, 32, 83, 0.025);
        }

        .faq-question {
            position: relative;
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            border: none;
            outline: none;
            background: transparent;
            cursor: pointer;
            text-align: left;
            color: #252525;
            transition: color 0.3s ease, padding 0.4s cubic-bezier(.22, 1, .36, 1);
        }

        .faq-question-text {
            padding-right: 35px;
            font-size: 16px;
            font-weight: 500;
            line-height: 1.5;
            letter-spacing: 0.1px;
            transition: color 0.3s ease, transform 0.35s ease;
        }

        .faq-question:hover .faq-question-text {
            color: var(--primary);
        }

        .faq-icon {
            position: relative;
            flex: 0 0 24px;
            width: 24px;
            height: 24px;
            margin-left: 20px;
        }

        .faq-icon span {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 14px;
            height: 1px;
            background: var(--primary);
            transform: translate(-50%, -50%);
            transition: transform 0.4s cubic-bezier(.22, 1, .36, 1), opacity 0.25s ease;
        }

        .faq-icon span:nth-child(2) {
            transform: translate(-50%, -50%) rotate(90deg);
        }

        .faq-answer {
            display: grid;
            grid-template-rows: 0fr;
            overflow: hidden;
            transition: grid-template-rows 0.55s cubic-bezier(.22, 1, .36, 1);
        }

        .faq-answer-inner {
            min-height: 0;
            overflow: hidden;
            opacity: 0;
            transform: translateY(-8px);
            transition: opacity 0.35s ease, transform 0.45s cubic-bezier(.22, 1, .36, 1);
        }

        .faq-answer-inner p {
            max-width: 720px;
            margin: 0;
            padding-top: 10px;
            font-size: 14px;
            line-height: 1.4;
            color: #777777;
        }

        .faq-answer-inner p a {
            color: var(--primary);
            text-decoration: underline;
        }

        .faq-item.faq-active .faq-answer {
            grid-template-rows: 1fr;
        }

        .faq-item.faq-active .faq-answer-inner {
            opacity: 1;
            transform: translateY(0);
        }

        .faq-item.faq-active
        .faq-icon span:nth-child(2) {
            opacity: 0;
            transform: translate(-50%, -50%) rotate(90deg) scaleY(0);
        }

        .faq-item.faq-active
        .faq-question {
            color: var(--primary);
        }

        .faq-question:focus-visible {
            outline: 1px solid var(--primary);
            outline-offset: -2px;
        }


/* ------------------ PAGE COMMON ------------------ */        

.page-title-section{
    padding: 60px 0;
    background: #fff;
}

.page-content-section{
    padding: 40px 0 150px;
    background: #fff;
}


/* ------------------ CONTACT PAGE ------------------ */  

.enquiry-wrapper {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 70px;
    align-items: start;
}

.enquiry-form {
    width: 100%;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #393939;
    letter-spacing: 0.5px;
    margin-bottom: 9px;
}

        .form-group input,
        .form-group textarea {
            width: 100%;
            border: 1px solid #dedede;
            background: #ffffff;
            padding: 15px 17px;
            font-family: "Montserrat", sans-serif;
            font-size: 13px;
            color: #393939;
            outline: none;
            transition: 0.3s ease;
            border-radius: 2px;
        }

        .form-group input {
            height: 52px;
        }

        .form-group textarea {
            min-height: 150px;
            resize: vertical;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(124, 32, 83, 0.06);
        }

        .form-group input::placeholder,
        .form-group textarea::placeholder {
            color: #aaa;
        }


        /* ================================
           SEND BUTTON
        ================================= */

        .send-enquiry-btn {
            width: 100%;
            height: 54px;
            border: none;
            background: #7c2053;
            color: #ffffff;
            font-family: "Montserrat", sans-serif;
            font-size: 12px;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            cursor: pointer;
            transition: 0.3s ease;

            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
        }

        .send-enquiry-btn:hover {
            background: #4a148c;
            transform: translateY(-2px);
        }

        .send-enquiry-btn i {
            font-size: 13px;
        }


        /* ================================
           CONTACT INFORMATION
        ================================= */

        .direct-contact {
            background: var(--cream);
            padding: 40px;
            border-left: 3px solid var(--primary);
        }

        .direct-contact .small-title {
            color: var(--primary);
            font-size: 11px;
            font-weight: 700;
            letter-spacing: 2px;
            text-transform: uppercase;
            margin-bottom: 10px;
        }

        .direct-contact h3 {
            font-family: "Playfair Display", serif;
            font-size: 30px;
            font-weight: 600;
            color: #393939;
            margin-bottom: 15px;
        }

        .direct-contact > p {
            color: #777;
            font-size: 13px;
            line-height: 1.8;
            margin-bottom: 30px;
        }


        /* ================================
           CONTACT ITEMS
        ================================= */

        .contact-item {
            display: flex;
            align-items: flex-start;
            gap: 17px;
            padding: 20px 0;
            border-top: 1px solid #e7e2e7;
        }

        .contact-item:first-of-type {
            border-top: none;
        }

        .contact-icon {
            width: 42px;
            height: 42px;
            min-width: 42px;

            display: flex;
            align-items: center;
            justify-content: center;

            background: #ffffff;
            color: var(--primary);
            border: 1px solid #eadfe6;
            border-radius: 50%;
        }

        .contact-content span {
            display: block;
            font-size: 10px;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: #999;
            margin-bottom: 5px;
        }

        .contact-content a,
        .contact-content p {
            color: #393939;
            font-size: 13px;
            line-height: 1.6;
            text-decoration: none;
        }

        .contact-content a:hover {
            color: var(--primary);
        }


        /* ================================
           FORM STATUS MESSAGE
        ================================= */

        .form-status {
            display: none;
            margin-top: 15px;
            padding: 13px 15px;
            font-size: 12px;
            line-height: 1.6;
            border-radius: 2px;
        }

        .form-status.success {
            display: block;
            background: #f0f8f3;
            color: #28613d;
            border: 1px solid #cce7d5;
        }

        .form-status.error {
            display: block;
            background: #fff4f4;
            color: #9b3030;
            border: 1px solid #efd0d0;
        }


        /* ================================
           RESPONSIVE
        ================================= */

        @media (max-width: 900px) {

            .enquiry-section {
                padding: 70px 6%;
            }

            .enquiry-wrapper {
                grid-template-columns: 1fr;
                gap: 50px;
            }

            .enquiry-heading h2 {
                font-size: 38px;
            }

        }


        @media (max-width: 600px) {

            .enquiry-section {
                padding: 60px 20px;
            }

            .enquiry-heading {
                margin-bottom: 40px;
            }

            .enquiry-heading h2 {
                font-size: 32px;
            }

            .enquiry-heading p {
                font-size: 13px;
            }

            .direct-contact {
                padding: 30px 25px;
            }

            .direct-contact h3 {
                font-size: 26px;
            }

        }


/* ------------------ Cultural programme ------------------ */

        /* --- Video Cards --- */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 20px;
}

.video-card {
    background: var(--white);
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    height: 180px;
}

.video-card .video-thumbnail {
    position: relative;
    cursor: pointer;
    overflow: hidden; /* Adjust to match your existing event-card borders */
}

.video-card .video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

/* Play button overlay on thumbnail */
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Slight darkening for the thumbnail */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.play-overlay i {
    font-size: 2rem;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.6);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding-left: 5px; /* centers the play triangle visually */
    transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

.video-thumbnail:hover .play-overlay {
    background: rgba(0, 0, 0, 0.4);
    opacity: 1;
}

.video-thumbnail:hover .play-overlay i {
    transform: scale(1.1);
    background: #fff;
    color: var(--primary);
}


/* --- Video Modal Overlay --- */
.video-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 0.5 opacity black background */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    /* Prevents the container from being taller than 80% of the screen height */
    max-height: 80vh; 
    background: #000;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    /* Centers the video inside the constrained box */
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content video {
    width: 100%;
    /* Locks the video height to the container */
    max-height: 80vh; 
    height: auto;
    border-radius: 8px;
    display: block;
    /* Ensures the video shrinks to fit without getting stretched or cut off */
    object-fit: contain; 
}

/* Close Button */
.close-video {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.close-video:hover {
    color: #cccccc;
}

/* Media Query for mobile close button placement */
@media (max-width: 768px) {

    .videos-grid{
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .close-video {
        top: -35px;
        right: 10px;
    }

    .video-card {
        flex-direction: column;
        height: auto;
    }
}
        
/* ------------------ ANIMATIONS ------------------ */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ------------------ RESPONSIVENESS ------------------ */

@media (max-width: 1050px) {

    .desktop-nav {
        gap: 20px;
    }

    .hero-container {
        gap: 50px;
    }

    .hero-image-wrapper {
        height: 540px;
    }

    .intro-grid {
        gap: 60px;
    }


}

/* ------------------ NAVBAR RESPONSIVE ------------------ */

@media (max-width: 900px) {

    .nav-container {
        height: 72px;
    }

    .desktop-nav,
    .nav-cta {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .mobile-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        max-height: calc(100vh - 72px);
        max-height: calc(100dvh - 72px);
        overflow-y: auto;
        padding: 20px 18px 25px;
        background: var(--cream);
        border-bottom: 1px solid var(--border);
        box-shadow: 0 15px 30px rgba(40, 20, 20, 0.08);

        /* hidden state: not focusable, not clickable, no shadow bleed */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-12px);
        transition: transform 300ms ease, opacity 300ms ease, visibility 0s linear 300ms;
    }

    .mobile-nav.open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
        transition: transform 300ms ease, opacity 300ms ease, visibility 0s;
    }

    .mobile-nav a {
        padding: 14px 8px;
        border-bottom: 1px solid var(--border);
        color: var(--text-light);
        font-size: 14px;
        font-weight: 600;
    }

    .mobile-nav a.active {
        color: var(--primary);
    }

    .mobile-nav-cta {
        margin-top: 12px;
        text-align: center;
        background: var(--primary);
        color: var(--white) !important;
        border: 0 !important;
    }
}

@media (max-width: 480px) {

    .nav-container {
        gap: 12px;
    }

    .logo {
        gap: 10px;
    }

    .logo-img {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .logo-text strong {
        font-size: 1.2rem;
    }

    .logo-text small {
        font-size: 0.7rem;
        letter-spacing: 0.3px;
    }
}

@media (max-width: 760px) {
    
    .hero-desktop {
        display: none;
    }
    
    .hero-mobile {
        min-height: calc(100vh - 72px);
        padding: 70px 15px;
        position: relative;
        display: flex;
        align-items: end;
        overflow: hidden;

        background-image: url("../images/durga-pujo.JPG");
        background-size: 350%;
        background-position: center;
        background-repeat: no-repeat;
        background-position: 49% 85%;
    }

    .hero-mobile::before {
        content: "";
        position: absolute;
        inset: 0;
        top: 40%;
        background: linear-gradient(rgba(40, 15, 20, 0), rgba(40, 15, 20, 1)); 
    }

    .hero-mobile > .container {
        position: relative;
        z-index: 1;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
        align-items: end;
    }

    .hero-mobile h1 {
        font-size: clamp(2rem, 10vw, 3rem);
        letter-spacing: 1px;
        color: var(--cream);
    }

    .hero-description {
        font-size: 14px;
        display: none;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }

    .hero-visual {
        min-height: 430px;
    }

    .hero-image-wrapper {
        width: 85%;
        height: 430px;
        margin-left: auto;
        border-radius:
            210px
            210px
            5px
            5px;
    }

    .scroll-indicator {
        display: none;
    }

    .section-padding {
        padding-block: 80px;
    }

    .section-heading h2 {
        font-size: 48px;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 50px;
        margin-top: 55px;
    }
    
    .intro-image img {
        height: 420px;
    }

    .intro-content {
        padding-right: 0;
    }

    .intro-content h3 {
        font-size: 43px;
    }

    .section-top {
        align-items: flex-start;
    }

    .desktop-link {
        display: none;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .event-image {
        height: 240px;
    }

    .mobile-link {
        display: inline-flex;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
        padding-bottom: 45px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
    }

    .faq-section {
        padding: 75px 0;
    }

    .faq-heading {
        margin-bottom: 45px;
    }

    .faq-heading h2 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .faq-heading p {
        font-size: 14px;
        line-height: 1.4;
    }

    .faq-item {
        padding: 23px 20px;
    }

    .faq-question-text {
        font-size: 1rem;
    }

    .faq-answer-inner p {
        font-size: 1rem;
        line-height: 1.4;
    }

    .faq-icon {
        flex-basis: 20px;
        width: 20px;
        height: 20px;
        margin-left: 10px;
    }

}

@media (max-width: 400px) {

    .logo-symbol {
        width: 35px;
        height: 35px;
    }

    .hero-mobile h1 {
        font-size: 48px;
    }

    .hero-image-wrapper {
        width: 90%;
        height: 390px;
    }

    .section-heading h2 {
        font-size: 43px;
    }

}