/* ============================================================
   FTF - Festivali Teatrove Ferizaj
   Main Stylesheet
   ============================================================ */

/* 1. CSS Variables & Bootstrap Overrides
   2. Base & Typography
   3. Header
   4. Navigation Overlay
   5. Footer
   6. Footer Popup
   7. Cover Media
   8. Hero Slider
   9. Likes Button
   10. Events
   11. Partners
   12. Festivals / Productions / FTFKids
   13. Publications
   14. About
   15. Utilities
   ============================================================ */

/* ============================================================
   1. CSS VARIABLES & BOOTSTRAP OVERRIDES
   ============================================================ */
:root {
    /* Brand Colors */
    --bs-primary: #2BD5FF;
    --bs-primary-rgb: 43, 213, 255;
    --bs-secondary: #404040;
    --bs-secondary-rgb: 64, 64, 64;
    --bs-info: #F1F1F1;
    --bs-info-rgb: 241, 241, 241;

    /* Custom Theme */
    --color-primary: #2BD5FF;
    --color-secondary: #404040;
    --color-info: #F1F1F1;
    --color-dark: #111111;
    --color-light: #FFFFFF;

    /* Font */
    --font-main: 'Mohave', sans-serif;

    /* Header */
    --header-height: 80px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-med: 0.4s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Bootstrap primary overrides */
.btn-primary {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-dark);
}
.btn-primary:hover {
    background-color: #1ebce0;
    border-color: #1ebce0;
    color: var(--color-dark);
}
.text-primary { color: var(--color-primary) !important; }
.bg-primary { background-color: var(--color-primary) !important; }
.bg-secondary { background-color: var(--color-secondary) !important; }
.bg-info { background-color: var(--color-info) !important; }

/* ============================================================
   2. BASE & TYPOGRAPHY
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-weight: 300;
    color: var(--color-dark);
    background-color: var(--color-info);
    overflow-x: hidden;
    padding-top: var(--header-height);
    /* Padding bottom for fixed footer */
    padding-bottom: 56px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-main);
    font-weight: 700;
}

a {
    color: inherit;
    transition: opacity var(--transition-fast);
}
a:hover {
    /* opacity: 0.75; */
}

@media screen and (min-width: 1300px){
    .px-xl-10{
        padding-right: 6rem!important;
        padding-left: 6rem!important;
    }

    .p-xl-10{
        padding: 6rem!important;
    }

    .pt-xl-0{
        padding-top: 0!important;
    }

}

.prose-content {
    font-weight: 300;
    line-height: 1.7;
    font-size: clamp(0.95rem, 2vw, 1.1rem);
}
.prose-content h1,
.prose-content h2,
.prose-content h3 {
    font-weight: 700;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

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

/* ============================================================
   3. HEADER
   ============================================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: var(--color-light);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0,0,0,0.06);
    transition: box-shadow var(--transition-fast);
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-inner {
    height: 100%;
}

.header-logo {
    text-decoration: none;
    color: var(--color-dark);
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.site-name {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 1rem;
    text-transform: uppercase;
    color: var(--color-dark);
    max-width: 200px;
    line-height: 1.2;
    margin-top: .5rem;
}

.nav-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--color-dark);
    transition: opacity var(--transition-fast);
}
.nav-toggle:hover { opacity: 0.6; }

.nav-toggle:not(.active) .hamburger-icon ion-icon.icon-open{
    display: block;
}

.nav-toggle.active .hamburger-icon ion-icon.icon-close{
    display: block;
}

.nav-toggle .icon-close { display: none; }
.nav-toggle.active .icon-open { display: none; }
.nav-toggle.active .icon-close { display: block; }

/* ============================================================
   4. NAVIGATION OVERLAY
   ============================================================ */
.nav-overlay {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background: var(--color-light);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-med), visibility var(--transition-med);
    overflow-y: auto;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.main-nav .nav-link-item {
    display: block;
    font-family: var(--font-main);
    font-weight: 400;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: var(--color-dark);
    text-decoration: none;
    line-height: 1.2;
    margin-bottom: 0.4rem;
    transition: color var(--transition-fast), transform var(--transition-fast);
}

.main-nav .nav-link-item:hover,
.main-nav .nav-link-item.active {
    color: var(--color-primary);
}

.social-nav .social-link {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 0.875rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-dark);
    text-decoration: none;
}
.social-nav .social-link:hover {
    color: var(--color-primary);
}

/* ============================================================
   5. FOOTER
   ============================================================ */
.site-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 900;
}

.footer-push-content{
    height: 120px;
}

.footer-copyright {
    background: var(--color-light);
    border-top: 1px solid rgba(0,0,0,0.08);
}

.footer-copyright small {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
}

.footer-bottom {
    background: var(--color-secondary);
    color: var(--color-info);
}

.footer-link {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 20px;
    letter-spacing: 0;
    color: var(--color-info);
    text-decoration: none;
}
.footer-link:hover {
    color: var(--color-primary);
}

.footer-popup-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-info);
    padding: 8px;
    transition: color var(--transition-fast);
}
.footer-popup-toggle:hover { color: var(--color-primary); }

/* ============================================================
   6. FOOTER POPUP
   ============================================================ */
.footer-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-med), visibility var(--transition-med);
}

.footer-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.footer-popup-panel {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-secondary);
    color: var(--color-info);
    transform: translateY(100%);
    transition: transform var(--transition-slow);
    max-height: 90vh;
    overflow-y: auto;
}

.footer-popup-overlay.active .footer-popup-panel {
    transform: translateY(0);
}

.popup-close-row {
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-popup-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-info);
    transition: color var(--transition-fast);
}
.footer-popup-close:hover { color: var(--color-primary); }

.popup-section-title {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    color: var(--color-info);
}

.popup-img {
    max-height: 400px;
    object-fit: contain;
}

.popup-img-placeholder {
    background: rgba(255,255,255,0.1);
    height: 300px;
    border-radius: 2px;
}

.btn-popup {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    border-color: rgba(255,255,255,0.4);
    color: var(--color-info);
    padding: 0.5rem 2rem;
}

/* ============================================================
   7. COVER MEDIA
   ============================================================ */
.page-cover-section {
    position: relative;
    overflow: hidden;
}

.cover-media {
    width: 100%;
    height: 500px;
    max-height: 600px;
    min-height: 300px;
    position: relative;
    overflow: hidden;
}

.cover-image-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover-video-bg {
    min-width: 100%;
    min-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background-color: #000;
}

.vimeo-bg-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.vimeo-bg-iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 177.77vh; /* 16:9 ratio */
    height: 56.25vw;
    min-width: 100%;
    min-height: 100%;
    pointer-events: none;
}

.cover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    pointer-events: none;
}

/* ============================================================
   8. HERO SLIDER
   ============================================================ */
.hero-slider-section {
    padding: 0;
    margin-bottom: 0;
}

.slider-meta-col {
    padding: 0;
    background: var(--color-info);
    min-height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-title,
.slider-current-title h1 {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    margin: 0;
}

.slider-main-col {
    position: relative;
    overflow: hidden;
}

.home-slider .slide-item,
.about-slider .slide-item {
    outline: none;
}

.home-slider .slide-img,
.about-slider .slide-img {
    width: 100%;
    height: 50vw;
    max-height: 480px;
    min-height: 280px;
    object-fit: cover;
    display: block;
}

.home-slider a,
.home-slider a:hover {
    opacity: 1;
}

/* Custom Vertical Slider Bullets */
.slider-bullets-vertical {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
}

.slider-bullets-horizontal {
    display: flex;
    flex-direction: row;
    gap: 6px;
    align-items: center;
}

.slider-bullet {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #D9D9D9;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-bullet.active,
.slider-bullet.slick-active {
    background: var(--color-primary);
}

/* Slick overrides */
.slick-slide { outline: none; }
.slick-dots { display: none !important; }

/* Partners Carousel */
#partners-carousel .slick-track {
    display: flex;
    align-items: center;
}

.partner-slide {
    padding: 0 1.5rem;
    outline: none;
}

.partner-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
}

.partner-logo {
    max-height: 100px;
    width: auto;
    object-fit: contain;
}

/* ============================================================
   9. LIKES BUTTON
   ============================================================ */
.likes-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    color: inherit;
    transition: transform var(--transition-fast), color var(--transition-fast);
}

.likes-btn:hover {
    transform: scale(1.15);
    color: #e74c3c;
}

.likes-btn .icon-heart-filled {
    display: none;
    color: #e74c3c;
}

.likes-btn.liked .icon-heart-outline { display: none; }
.likes-btn.liked .icon-heart-filled { display: block; }

.likes-btn ion-icon {
    font-size: 2.6rem;
}

.likes-count {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 0.85rem;
    color: inherit;
    opacity: 0.6;
}

/* ============================================================
   10. EVENTS
   ============================================================ */
.events-section {
    background: var(--color-info);
}

.section-label {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 2rem;
    color: var(--color-dark);
}

.featured-event-section,
.events-grid-section {
    background: #ededeb;
}

.featured-event-section {
    padding: 0 0 4rem;
}

.featured-event-link {
    color: inherit;
}

.featured-event {
}

.featured-event-image {
    min-height: 100%;
}

.featured-event-image img,
.featured-event-image .img-placeholder {
    min-height: 24rem;
    height: 100%;
    object-fit: cover;
}

.featured-event-info {
    min-height: 100%;
    background: #fff;
    gap: 1.25rem;
}

.featured-event-title {
    margin: 0;
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 2rem;
    line-height: 0.98;
    color: var(--color-dark);
}

.featured-event-desc {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(0,0,0,0.56);
}

.featured-event-date {
    background: #f3f3f1;
    border-left: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 1.5rem 2rem;
}

.event-date-display {
    width: 100%;
    padding-top: 0.5rem;
}

.event-day-num {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: clamp(4rem, 8vw, 5.75rem);
    line-height: 0.9;
    color: rgba(0,0,0,0.58);
}

.event-month-year {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: clamp(1.5rem, 2vw, 2.2rem);
    line-height: 1;
    color: rgba(0,0,0,0.65);
}

.event-countdown {
    width: 100%;
    padding-top: 3rem;
}

.countdown-unit {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: end;
    margin-bottom: 1rem;
}

/* .countdown-val {
    display: none;
} */

.countdown-label {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1;
    color: rgba(0,0,0,0.62);
    text-transform: lowercase;
    letter-spacing: 0;
}

/* Event Cards Grid */
.events-grid-section {
    padding: 2rem 0 5rem;
}

.event-card {
    background: transparent;
    min-height: 9.75rem;
}

.event-card-link {
    color: inherit;
    gap: 0;
}

.event-card-main {
    flex: 1 1 auto;
    background: #fff;
    min-height: 9.75rem;
    padding: 1rem 1.25rem 1.35rem;
}

.event-card-side {
    width: min(22%, 5.25rem);
    background: #f3f3f1;
    padding: 0.9rem 0.7rem 0.65rem;
}

.event-card:hover .event-card-main,
.event-card:hover .event-card-side {
    background: #ffffff;
}

.event-card-day {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: clamp(3.5rem, 6vw, 4.5rem);
    line-height: 0.9;
    color: rgba(0,0,0,0.58);
}

.event-card-month-year {
    margin-top: 0.15rem;
    font-family: var(--font-main);
    font-weight: 300;
    font-size: clamp(0.95rem, 1.4vw, 1.2rem);
    line-height: 1.05;
    color: rgba(0,0,0,0.65);
}

.event-card-name {
    margin-top: 0.4rem;
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 0.8rem;
    line-height: 1.2;
    color: rgba(0,0,0,0.78);
}

.event-card-timeago {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.1rem;
}

.timeago,
.event-card-timeago small,
.event-card-location {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 0.8rem;
    line-height: 1.05;
    color: rgba(0,0,0,0.7);
}

.event-card-timeago small {
    color: rgba(0,0,0,0.65);
}

/* ============================================================
   11. PARTNERS
   ============================================================ */
.partners-section {
    padding: 0;
}

.partners-label-col {
    background: var(--color-secondary);
    padding: 2rem;
    min-height: 500px;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.partners-label-col .section-label {
    color: var(--color-info);
    font-size: 2rem;
    font-weight: 300;
}

/* About Partners List */
.about-partners-section {
    border-top: 1px solid rgba(0,0,0,0.08);
}

.about-partners-label {
    background: var(--color-secondary);
    min-height: 200px;
    position: relative;
}

.about-partners-label::after{
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid var(--color-secondary);
}

.about-partners-label h2 {
    font-size: 2rem;
}

.about-partners-label .section-label {
    color: var(--color-info);
    opacity: 1;
}

.partner-row {
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 0;
}

.partner-detail-logo {
    max-height: 140px;
    object-fit: contain;
}

.partner-title {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 2rem;
    text-transform: uppercase;
}

.partner-desc {
    font-weight: 300;
    font-size: 0.9rem;
    line-height: 1.6;
}

.partner-link {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid;
    padding-bottom: 1px;
    color: var(--color-primary);
}

/* ============================================================
   12. FESTIVALS / PRODUCTIONS / FTFKIDS
   ============================================================ */
.festivals-index-section {}

.festival-card {
    overflow: hidden;
    cursor: pointer;
    border-left: 1px solid #B5B5B5;
    padding-bottom: 2rem;
}

.festival-card-img {
    height: 280px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
    display: block;
}
.festival-card:hover .festival-card-img {
    transform: scale(1.04);
}

.festival-card-img-placeholder {
    min-height: 240px;
    background: var(--color-info);
}

.collection-logo-wrap {}
.collection-logo-placeholder svg {
    display: block;
    max-width: 80px;
    margin: 0 auto;
}

.festivals-logo-wrap{
    background-color: #252525;
    max-width: 100%;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.festivals-logo-wrap:not(.is-banner){
    min-height: 60vh;
}

/* Festival Single */
.collection-single-actions{
    min-height: 200px;
    margin-bottom: 2px;
}

.festival-single-meta {
    background: var(--color-info);
    border-right: 1px solid rgba(0,0,0,0.06);
}

.festival-single-title,
.pub-single-title {
    font-weight: 300;
    font-size: clamp(1.2rem, 2.5vw, 2rem);
    line-height: 1.1;
}

.share-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0;
    color: var(--color-dark);
    transition: color var(--transition-fast);
}
.share-btn:hover { color: var(--color-primary); }

.program-preview-img,
.poster-preview-img {
    width: 100%;
    object-fit: contain;
    border: 1px solid rgba(0,0,0,0.08);
}

.btn-download {
    font-weight: 300;
    font-size: 1.8rem;
    text-transform: uppercase;
    text-decoration: none;
    border: 0;
    color: var(--color-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    padding: 0.75rem 1rem;
    background-color: var(--bs-info);
    transition: background var(--transition-fast), color var(--transition-fast);
    cursor: pointer;
}
.btn-download:hover {
    background: var(--color-secondary);
    color: var(--color-light);
    text-decoration: none;
}
.btn-download ion-icon {
    transform: translateY(-5px);
}

/* Gallery */
.gallery-grid .gallery-thumb {
    height: 120px;
    object-fit: cover;
    cursor: pointer;
    transition: opacity var(--transition-fast);
}
.gallery-grid .gallery-thumb:hover { opacity: 0.85; }

/* ============================================================
   13. PUBLICATIONS
   ============================================================ */
.publications-header {
    background: var(--color-dark);
    color: var(--color-light);
}

.publications-page-title {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 4rem);
    letter-spacing: -0.01em;
}

.pub-count {
    font-weight: 300;
    opacity: 0.6;
}

.publication-row {
    border-bottom: 1px solid rgba(0,0,0,0.08);
    padding: 0.75rem 0;
    transition: background var(--transition-fast);
}
.publication-row:hover { background: var(--color-info); }

.pub-thumb {
    height: 70px;
    width: 100%;
    object-fit: cover;
}
.pub-thumb-placeholder {
    height: 70px;
    background: var(--color-info);
}

.pub-title {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 1rem;
    text-transform: none;
    letter-spacing: 0;
    margin: 0;
    line-height: 1.3;
    color: var(--color-dark);
}

.pub-logo {
    max-height: 36px;
    object-fit: contain;
    filter: grayscale(50%);
}

.pub-publisher-name {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.6;
}

.pub-date {
    font-family: var(--font-main);
    font-weight: 300;
    letter-spacing: 0.05em;
    opacity: 0.5;
}

/* Publication Single */
.publisher-block {
    background: var(--color-secondary);
}
.publisher-logo {
    max-height: 60px;
    max-width: 160px;
    object-fit: contain;
}
.publisher-name {
    color: var(--color-light);
}

.pub-gallery-img {
    height: 120px;
    object-fit: cover;
    cursor: pointer;
    transition: opacity var(--transition-fast);
}
.pub-gallery-img:hover { opacity: 0.85; }

.btn-external {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-bottom: 1px solid var(--color-primary);
    padding-bottom: 2px;
    color: var(--color-primary);
}

/* ============================================================
   14. ABOUT
   ============================================================ */
.about-slider-section {
    overflow: hidden;
}

.about-text-section {
    border-top: 1px solid rgba(0,0,0,0.08);
}

.section-heading {
    font-family: var(--font-main);
    font-weight: 300;
    font-size: clamp(1.5rem, 4vw, 3rem);
    text-transform: lowercase;
    letter-spacing: -0.01em;
}

/* ============================================================
   15. UTILITIES & RESPONSIVE
   ============================================================ */
.object-fit-cover {
    object-fit: cover;
}

/* Pagination */
.pagination-wrap .btn {
    font-family: var(--font-main);
    font-weight: 400;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 0;
}

/* Smooth menu animation for list items */
.nav-overlay.active .main-nav .nav-link-item {
    animation: fadeInRight 0.4s ease forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nav-overlay.active .main-nav li:nth-child(1) .nav-link-item { animation-delay: 0.05s; }
.nav-overlay.active .main-nav li:nth-child(2) .nav-link-item { animation-delay: 0.10s; }
.nav-overlay.active .main-nav li:nth-child(3) .nav-link-item { animation-delay: 0.15s; }
.nav-overlay.active .main-nav li:nth-child(4) .nav-link-item { animation-delay: 0.20s; }
.nav-overlay.active .main-nav li:nth-child(5) .nav-link-item { animation-delay: 0.25s; }
.nav-overlay.active .main-nav li:nth-child(6) .nav-link-item { animation-delay: 0.30s; }
.nav-overlay.active .main-nav li:nth-child(7) .nav-link-item { animation-delay: 0.35s; }
.nav-overlay.active .main-nav li:nth-child(8) .nav-link-item { animation-delay: 0.40s; }

/* Responsive adjustments */
@media (max-width: 991.98px) {
    body {
        padding-top: var(--header-height);
        padding-bottom: 56px;
    }

    .hero-slider-section .row {
        flex-direction: column;
    }

    .slider-meta-col {
        min-height: auto;
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .home-slider .slide-img {
        height: 56vw;
    }

    .featured-event .row {
        flex-direction: column;
    }

    .featured-event-date {
        align-items: center !important;
        padding: 1.5rem;
    }

    .event-countdown {
        padding-top: 1.5rem;
    }

    .countdown-unit {
        justify-items: center;
    }

    .festival-card-img {
        height: 200px;
    }
}

@media (max-width: 575.98px) {
    .site-name {
        display: none;
    }

    .pub-title {
        font-size: 0.85rem;
    }

    .event-card-main {
        padding: 1rem 0.85rem 1.15rem;
    }

    .event-card-side {
        width: 4.75rem;
        padding: 0.8rem 0.55rem 0.6rem;
    }

    .event-month-year {
        font-size: 1.3rem;
    }

    .event-card-month-year {
        font-size: 0.95rem;
    }
}

/* ============================================================
   LANGUAGE SELECTOR
   ============================================================ */
.language-selector {
    position: relative;
}

.lang-current {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-dark);
    padding: 0;
    transition: color var(--transition-fast);
    white-space: nowrap;
}

.lang-current {
    font-family: var(--font-main);
    font-weight: 400;
    cursor: pointer;
    border-width: 0 1px;
    border-style: solid;
    border-color: #B5B5B5;
    padding-right: 1rem;
    padding-left: 1rem;
}

.lang-current:hover {
    color: var(--color-primary);
}

/* The popup panel */
.lang-popup {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    background: var(--color-light);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    min-width: 200px;
    max-height: 320px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity var(--transition-fast),
                visibility var(--transition-fast),
                transform var(--transition-fast);
    z-index: 1050;
}

.lang-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-popup-inner {
    padding: 0.5rem 0;
}

/* Style the GTranslate links inside the popup */
.lang-popup .gtranslate_wrapper {
    display: flex;
    flex-direction: column;
}

.lang-popup .gtranslate_wrapper a.glink {
    display: block;
    padding: 0.4rem 1rem;
    font-family: var(--font-main);
    font-weight: 300;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--color-dark);
    text-decoration: none;
    transition: background var(--transition-fast), color var(--transition-fast);
    white-space: nowrap;
}

.lang-popup .gtranslate_wrapper a.glink:hover,
.lang-popup .gtranslate_wrapper a.glink.gt-current-lang {
    background: var(--color-info);
    color: var(--color-primary);
}

/* Hide the Google Translate select dropdown - we use the links version */
.lang-popup .goog-te-gadget,
#google_translate_element2 .goog-te-gadget {
    font-size: 0 !important;
}
.lang-popup .goog-te-combo {
    display: none;
}

.mt-px{
    margin-top: 2px;
}

.me-px{
    margin-right: 2px;
}

.mb-px{
    margin-bottom: 2px;
}

.ms-px{
    margin-left: 2px;
}

.contact-form-wrapper{
    background: #F8DE4B;
}

.contact-form-wrapper .form-control{
    border-radius: 0;
    border: #333;
    
}