@font-face {
    font-family: 'CircularBook';
    src: url('fonts/circular-book.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Big John';
    src: url('fonts/Big John  Slim Joe/BIG JOHN.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Big John Slim';
    src: url('fonts/Big John  Slim Joe/Slim Joe.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'CircularBook', sans-serif;
}

:root {
    --header-height: 80px;
}

html {
    scroll-behavior: smooth;
    background: #0d1117;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;

    overflow-x: hidden;

}

img {
    -webkit-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .nav-container,
    #footer,
    .container {
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .info-content {
        padding: 0 1rem;

    }
}

#custom-cursor {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255,255,255,0.8);

    border-radius: 50%;
    position: absolute;
    pointer-events: none;

    transform: translate(-50%, -50%);
    transition: transform 0.05s ease, width 0.2s ease, height 0.2s ease, border-color 0.2s ease;
}

button:hover~#custom-cursor,
a:hover~#custom-cursor {
    width: 50px;
    height: 50px;
    border-color: #e74c3c;

}

.text-programma {
    font-size: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;

}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
    background: #f5f5f5;
    background: radial-gradient(circle, rgba(208, 204, 204, 1) 0%, rgba(148, 187, 233, 0.52) 100%);

}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 50px;
    width: auto;
    max-width: 200px;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    flex-wrap: nowrap;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.82rem;
    white-space: nowrap;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #4361ee;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: #4361ee;
}

.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;

}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    color: black;
    background: rgba(255, 255, 255, 0.585);
    backdrop-filter: blur(10px);
    min-width: 200px;
    border-radius: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    border-radius: 15px;
}

.dropdown-item {
    display: block;
    padding: 1rem 1.5rem;
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    border-radius: 15px;
}

.dropdown-item:hover {
    background: rgba(67, 98, 238, 0);
    color: #8e8686;
    transform: translateX(5px);

}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;

}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: transform 0.3s ease, background 0.3s ease;
    border-radius: 2px;
}

@media (max-width: 992px) {

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 360px;
        height: 100dvh;
        background: linear-gradient(170deg, #05091a 0%, #0b1628 40%, #0d1f3c 70%, #0a1520 100%);
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 0 0 3rem 0;
        gap: 0;
        transition: right 0.45s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 60px rgba(0, 0, 0, 0.7), -1px 0 0 rgba(255, 255, 255, 0.1);
        z-index: 1001;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
    }

    .nav-menu::-webkit-scrollbar {
        width: 3px;
    }

    .nav-menu::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.12);
        border-radius: 2px;
    }


    .nav-menu::before {
        content: 'MAJATICA';
        display: flex;
        align-items: center;
        justify-content: center;
        height: 80px;
        min-height: 80px;
        font-family: 'Big John', 'Montserrat', sans-serif;
        font-size: 1.1rem;
        letter-spacing: 6px;
        color: #ffffff;
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        margin-bottom: 0.75rem;
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
        font-weight: bold;
    }

    .nav-menu.active {
        right: 0;
    }


    .nav-menu .nav-link,
    .nav-menu .nav-dropdown {
        opacity: 0;
        transform: translateX(24px);
        transition: opacity 0.35s ease, transform 0.35s ease, color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
    }

    .nav-menu.active .nav-link:nth-child(1),
    .nav-menu.active .nav-dropdown:nth-child(1) {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.06s;
    }

    .nav-menu.active .nav-link:nth-child(2),
    .nav-menu.active .nav-dropdown:nth-child(2) {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.12s;
    }

    .nav-menu.active .nav-link:nth-child(3),
    .nav-menu.active .nav-dropdown:nth-child(3) {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.18s;
    }

    .nav-menu.active .nav-link:nth-child(4),
    .nav-menu.active .nav-dropdown:nth-child(4) {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.24s;
    }

    .nav-menu.active .nav-link:nth-child(5),
    .nav-menu.active .nav-dropdown:nth-child(5) {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.30s;
    }

    .nav-menu.active .nav-link:nth-child(6),
    .nav-menu.active .nav-dropdown:nth-child(6) {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.36s;
    }

    .nav-menu.active .nav-link:nth-child(7),
    .nav-menu.active .nav-dropdown:nth-child(7) {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.42s;
    }

    .nav-menu.active .nav-link:nth-child(8),
    .nav-menu.active .nav-dropdown:nth-child(8) {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.48s;
    }


    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.55);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.35s ease, visibility 0.35s ease;
    }

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


    .nav-menu .nav-link {
        display: flex;
        align-items: center;
        gap: 0.85rem;
        padding: 0.95rem 1.6rem;
        font-size: 0.9rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.78);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
        position: relative;
        overflow: hidden;
    }


    .nav-menu .nav-link[href="index.html"]::before {
        content: '\f015';
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 0.85rem;
        color: #ffffff;
        min-width: 20px;
        text-align: center;
    }

    .nav-menu .nav-link[href="programma.html"]::before {
        content: '\f073';
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 0.85rem;
        color: #4ade80;
        min-width: 20px;
        text-align: center;
    }

    .nav-menu .nav-link[href="isole.html"]::before {
        content: '\f6fc';
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 0.85rem;
        color: #38bdf8;
        min-width: 20px;
        text-align: center;
    }

    .nav-menu .nav-link[href="interviste.html"]::before {
        content: '\f4ad';
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 0.85rem;
        color: #a78bfa;
        min-width: 20px;
        text-align: center;
    }

    .nav-menu .nav-link[href="produzioni.html"]::before {
        content: '\f001';
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 0.85rem;
        color: #f472b6;
        min-width: 20px;
        text-align: center;
    }

    .nav-menu .nav-link[href="informazioni.html"]::before {
        content: '\f05a';
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 0.85rem;
        color: #fb923c;
        min-width: 20px;
        text-align: center;
    }

    .nav-menu .nav-link[href="contatti.html"]::before {
        content: '\f0e0';
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 0.85rem;
        color: #34d399;
        min-width: 20px;
        text-align: center;
    }


    .nav-menu .nav-link::after {
        display: none;
    }

    .nav-menu .nav-link:hover,
    .nav-menu .nav-link.active {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.04);
        padding-left: 2rem;
    }


    .nav-dropdown {
        width: 100%;
    }

    .dropdown-toggle {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 0.85rem;
        padding: 0.95rem 1.6rem;
        font-size: 0.9rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.78);
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
        text-decoration: none;
        transition: color 0.2s ease, background 0.2s ease;
        position: relative;
    }


    .dropdown-toggle::before {
        content: '\f0c0';
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 0.85rem;
        color: #60a5fa;
        min-width: 20px;
        text-align: center;
        order: -1;
    }

    .dropdown-toggle:hover {
        color: #ffffff;
        background: rgba(255, 255, 255, 0.04);
    }

    .dropdown-toggle::after {
        display: none !important;
    }

    .dropdown-toggle .fa-chevron-down {
        font-size: 0.65rem;
        color: rgba(255, 255, 255, 0.3);
        transition: transform 0.3s ease;
        margin-left: auto;
    }

    .dropdown-menu {
        position: static !important;
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background: rgba(255, 255, 255, 0.02) !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0.3rem 0 0.6rem 0;
        margin: 0;
        min-width: unset;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .dropdown-item {
        color: rgba(255, 255, 255, 0.5) !important;
        padding: 0.65rem 1rem 0.65rem 3.5rem !important;
        font-size: 0.82rem !important;
        font-weight: 500 !important;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        border-radius: 0 !important;
        border: none !important;
        transition: color 0.2s ease, padding-left 0.2s ease !important;
        display: block;
    }

    .dropdown-item:hover {
        background: transparent !important;
        color: #ffffff !important;
        transform: none !important;
        padding-left: 4rem !important;
    }


    .nav-menu-social {
        display: flex;
        justify-content: center;
        gap: 1.2rem;
        padding: 1.5rem 1.6rem 0;
        margin-top: auto;
        border-top: 1px solid rgba(255, 255, 255, 0.07);
    }

    .nav-menu-social a {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.06);
        border: 1px solid rgba(255, 255, 255, 0.12);
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255, 255, 255, 0.6);
        font-size: 1rem;
        text-decoration: none;
        transition: background 0.2s, color 0.2s, border-color 0.2s;
    }

    .nav-menu-social a:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
        border-color: rgba(255, 255, 255, 0.2);
    }


    .nav-toggle {
        display: flex;
        flex-direction: column;
        z-index: 1002;
        cursor: pointer;
        gap: 4px;
        background: none;
        border: none;
        padding: 4px;
    }

    .nav-toggle span {
        background: #333;
        width: 25px;
        height: 3px;
        border-radius: 2px;
        transition: all 0.3s ease;
        display: block;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.3rem;
    }
}

#backToTop,
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 60px;
    width: 48px;
    height: 48px;
    background: rgba(67, 98, 238, 0.95);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
    z-index: 99999;
    cursor: pointer;
}

#backToTop.show,
.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#backToTop:hover,
.back-to-top:hover {
    transform: translateY(-3px);
    background: #2f56d9;
}

#backToTop i,
.back-to-top i {
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 480px) {

    #backToTop,
    .back-to-top {
        right: 16px;
        bottom: 48px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 768px) {

    html,
    body {
        overflow-x: hidden;
        max-width: 100vw;
        -webkit-text-size-adjust: 100%;
        -webkit-tap-highlight-color: transparent;
    }

    .nav-container,
    #footer,
    .container {
        max-width: 100vw;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .container {
        padding: 0 1rem;
    }

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

    .section-title {
        font-size: clamp(1.4rem, 5vw, 2rem);
    }

    .info-content {
        padding: 0 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 1rem;
    }
}

.hero {
    position: relative;
    width: 100%;
    height: calc(100vh - var(--header-height, 80px));
    margin-top: var(--header-height, 80px);
    background-color: #ffffff86;
    overflow: hidden;
}

#myVideo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
    opacity: 0.9;

    -webkit-playsinline: true;
    pointer-events: none;

    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    display: block;
    position: relative;


}

@keyframes whiteGlow {
    0% {
        box-shadow:
            0 10px 20px rgba(255, 255, 255, 0.4),
            0 20px 40px rgba(255, 255, 255, 0.3),
            0 30px 80px rgba(255, 255, 255, 0.2),
            0 40px 120px rgba(255, 255, 255, 0.1);
    }

    50% {
        box-shadow:
            0 10px 30px rgba(255, 255, 255, 0.8),
            0 20px 50px rgba(255, 255, 255, 0.7),
            0 30px 100px rgba(255, 255, 255, 0.6),
            0 40px 150px rgba(255, 255, 255, 0.5);
    }

    100% {
        box-shadow:
            0 10px 40px rgba(255, 255, 255, 1),
            0 20px 60px rgba(255, 255, 255, 0.9),
            0 30px 120px rgba(255, 255, 255, 0.8),
            0 40px 180px rgba(255, 255, 255, 0.7);
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0f172a4c;
    opacity: 0.15;
    z-index: 1;
    animation: pulse 15s infinite alternate;
    will-change: opacity;
}

@keyframes pulse {
    0% {
        opacity: 0.08;
    }

    100% {
        opacity: 0.22;
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.8) 0%, rgba(58, 12, 163, 0.8) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    color: #fff;
    max-width: 800px;
    padding: 0 2rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #7209b7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.hero-description {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.descrizione {
    font-style: oblique;
    text-align: center;

}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;

    color: #ff00ff;

    background-color: #000;

    box-shadow:
        0 0 5px #ffffff,
        0 0 10px #f5f3f5,
        0 0 20px #efeeef,
        0 0 40px #fdfdfd;
}

.btn-prod {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background-color: #d7d6d25f;
    color: #7c7171;
}

.btn-prod:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(251, 190, 36, 0.326);
}

.btn-primary {
    background: linear-gradient(135deg, #fbbe2444 0%, #f59f0b53 100%);
    color: #1a1a2e;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #1a1a2e;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: rgba(255,255,255,0.8);
    border: 2px solid rgba(255,255,255,0.8);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.8);
    color: #1a1a2e;
}

.hero .overlay .buttons .btn {
    font-family: 'Big John', "Rubik", sans-serif;
}

.modal .close,
#videoModal .close {
    font-family: 'Big John', "Rubik", sans-serif;
}

.program-section .day-header h1,
.program-section .event-time,
.program-section .day-date {
    font-family: 'Big John', "Rubik", sans-serif;
}

@media (max-width: 768px) {
    .buttons {
        flex-direction: column;

        align-items: center;

        width: 100%;
    }

    .btn {
        width: 80%;

        max-width: 300px;
        font-size: 0.9rem;

    }
}

@media (max-width: 768px) {
    .overlay {
        align-items: center;

        padding-top: 10vh;

        padding-bottom: 5vh;

    }

    .content {
        width: 90%;
        margin: 0 auto;
    }

    .logo {
        width: 70%;
        height: auto;
        margin-bottom: 1rem;
    }

}

.foto-tutti {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 14px;
}

.production-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    transition: all 0.5s ease;
}

.production-card .production-image {
    position: relative;
    flex: 1 1 300px;
    max-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.5s ease;
}

.production-card .production-image img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.5s ease, filter 0.5s ease;
}

.production-card .production-image:hover img {
    transform: scale(1.05);

}

.social-overlay {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 10px;
    z-index: 2;
}

.social-overlay a {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 1.1rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-overlay a:hover {
    background: #ffffff;
    transform: scale(1.1);
}

.production-content {
    flex: 2 1 400px;
    padding: 0 20px;
}

.production-content h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.production-content p {
    font-size: 1rem;
    color: #333;
}

.production-card:nth-child(even) {
    flex-direction: row-reverse;
}

.production-card:nth-child(odd) {
    flex-direction: row;
}

@media (max-width: 768px) {
    .production-card {
        flex-direction: column !important;
        text-align: center;
        margin-bottom: 5px;

    }

    .production-card .production-image,
    .production-content {
        max-width: 100%;
    }

    .social-overlay {
        bottom: 5px;
        right: 5px;
        gap: 8px;
    }

    .social-overlay a {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .production-card .production-image {
        max-width: 100%;
        flex: 1 1 100%;
    }
}

.partner-section {
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
    text-align: center;
    padding: 60px 20px;
    background: #f8f8f8;
}

.partner-section .section-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
    color: white;
}

.partner-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.partner-track {
    display: flex;
    width: calc(200%);

    animation: scrollPartners 700s linear infinite;
    will-change: transform;
}

.slide {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;

    margin-right: 40px;
}

.slide img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: grayscale(50%);
    opacity: 0.8;
    transition: all 0.2s ease;
}

.slide img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.partner-slider:hover .partner-track {
    animation-play-state: running;
}

@media (max-width: 768px) {
    .partner-track {
        animation-duration: 30s;

    }

    .slide {
        width: 100px;
        margin-right: 25px;

    }

    .slide img {
        width: 100%;
    }
}

.edizione-container {
    max-width: 900px;

    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: stretch;
    background: #fff;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.colonna {
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
}

.colonna.locandina img {
    width: 100%;
    height: auto;

    border-radius: 8px;
    display: block;
}

.youtube-player {
    position: relative;
    width: 100%;
    height: 100%;

    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.youtube-player iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    border: 0;
}

@media (max-width: 768px) {
    .edizione-container {
        flex-direction: column;
        max-width: 95%;
        padding: 0.5rem;
    }

    .youtube-player {
        height: auto;

        aspect-ratio: 1/ 1;
    }
}

.highlights {
    padding: 5rem 0;
    background: #e0dcdc;
}

.section-title {
    margin-top: 10px;
    letter-spacing: 3px;
    font-family: 'Big John', "Rubik", sans-serif;
    font-size: 2.5rem;
    text-align: center;
    font-weight: bolder;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: #fff;
    text-shadow:
        0 0 6px rgba(67, 170, 255, 0.7),
        0 0 18px rgba(67, 170, 255, 0.45),
        0 0 40px rgba(67, 170, 255, 0.22),
        0 0 80px rgba(67, 130, 255, 0.12),
        0 1px 0 rgba(0, 0, 0, 0.6);
}

.section-title-artist {

    font-family: 'Montserrat', serif;
    font-size: 1.5rem;
    text-shadow: 0 0 5px;
    text-align: center;
    margin-bottom: 1rem;
    color: #ffffff;

}

.section-titlenew {
    font-family: 'Montserrat', serif;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #c8bcbc;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 4rem;
}

.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.highlight-card {
    background: #fff;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.highlight-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255,255,255,0.8);
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

.highlight-card h3 {
    font-family: 'Montserrat', serif;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: #1a1a2e;
}

.highlight-card p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.highlight-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.highlight-link:hover {
    color: #f59e0b;
    transform: translateX(5px);
}

.info-section {
    padding: 5rem 0;
    background: #225560;
    color: #fff;

    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.info-section-cinema {
    padding: 5rem 0;
    background: #f8f9fa;
    color: #625b5b;
}

.info-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.info-content img {
    max-width: 100%;
    height: auto;
    display: block;

    box-shadow: 0 0 30px 15px rgba(255, 255, 150, 0.3),
        0 0 60px 30px rgba(255, 255, 150, 0.2);
    border-radius: 10px;

    transition: box-shadow 0.3s ease-in-out;
}

.info-content img:hover {
    box-shadow: 0 0 50px 25px rgba(255, 255, 180, 0.6),
        0 0 80px 40px rgba(255, 255, 150, 0.4);
}

.info-content img::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -20px;
    transform: translateX(-50%);
    width: 120%;
    height: 40px;
    background: radial-gradient(ellipse at center, rgba(255, 255, 200, 0.5), transparent);
    filter: blur(15px);
    z-index: -1;
}

@media (max-width: 768px) {
    .info-content {
        grid-template-columns: 1fr;

        gap: 2rem;
        text-align: center;
        text-align: justify;/
    }

    .info-content img {
        max-width: 100%;
        margin: 0 auto;

    }
}

.info-text h2 {
    font-family: 'Montserrat', serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #fbfbfb;
}

.info-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.info-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.cinema-incanto {

    border-radius: 400px;

}

.footer-uj {
    background-color: #310D20;

    color: #ddd;
    font-family: 'Poppins', sans-serif;
    padding: 50px 20px;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: auto;
    gap: 40px;
}

@media (max-width: 768px) {
    .logo {
        display: none !important;
    }
}

@media (max-width: 768px) {

    .footer-left,
    .footer-middle,
    .footer-right {
        flex: 100%;

        min-width: auto;

        text-align: center;

        margin-bottom: 20px;

    }

    .footer-logo img {
        display: inline-block;
        margin-left: auto;
        margin-right: auto;
    }
}

.footer-left,
.footer-middle,
.footer-right {
    flex: 1;
    min-width: 220px;
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .footer-logo {
        text-align: center;

    }

    .footer-logo img {
        display: inline-block;

        margin-left: auto;
        margin-right: auto;
    }
}

.footer-left p {
    margin: 5px 0;
    font-size: 0.95rem;
}

.footer-left a {
    color: #d6b481;

    text-decoration: none;
    transition: color 0.3s;
}

.footer-left a:hover {
    color: #fff;
}

.footer-middle h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.footer-middle ul {
    list-style: none;
    padding: 0;
}

.footer-middle li {
    margin: 6px 0;
}

.footer-middle a {
    color: #fffafa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-middle a:hover {
    color: #d6b481;
}

.footer-right h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.social-links-uj a {
    margin-right: 15px;
    color: #ddd;
    font-size: 1.2rem;
    transition: color 0.3s, transform 0.3s;
}

.social-links-uj a:hover {
    color: #d6b481;
    transform: scale(1.1);
}

.footer-legal {
    margin-top: 20px;
}

.footer-legal a {
    margin-right: 15px;
    color: #bbb;
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-legal a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #333;
    padding-top: 15px;
    font-size: 0.85rem;
    color: #999;
}

@media (max-width: 768px) {
    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-right,
    .footer-middle,
    .footer-left {
        min-width: auto;
    }

    .footer-legal a {
        display: block;
        margin: 8px 0;
    }
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: #1e293b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: rgba(255,255,255,0.8);
    color: #1a1a2e;
    transform: translateY(-2px);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    display: flex;
    opacity: 1;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
}

.video-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.video-modal-close:hover {
    color: rgba(255,255,255,0.8);
}

@media (max-width: 768px) {
    .modal-content {
        display: flex !important;
        flex-direction: column !important;

        width: 90% !important;

        max-width: 400px !important;

        height: auto !important;
        max-height: 80vh !important;

        aspect-ratio: unset !important;
        border-radius: 10px !important;
        overflow-y: auto;

        background: #000;
        margin: auto;

    }

    .video-container {
        width: 100%;
        aspect-ratio: 16/9;
    }

    .artists-info {
        width: 100%;
        padding: 10px;
        color: white;
        background: rgba(0, 0, 0, 0.3);
    }

    .video-modal-close {
        display: flex !important;
        justify-content: center;
        align-items: center;
        position: absolute !important;
        top: 10px !important;
        right: 10px !important;
        font-size: 2rem;
        color: white;
        cursor: pointer;
        z-index: 9999 !important;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 50%;
        padding: 8px 12px;
        touch-action: manipulation;
    }

    .video-modal-close::after {
        content: '';
        position: absolute;
        top: -5px;
        left: -5px;
        width: 30px;
        height: 30px;
        background: rgba(0, 0, 0, 0.3);
        border-radius: 50%;
        z-index: -1;
    }

    .video-modal-content {
        position: relative;

        width: 90%;
        max-width: 400px;
        max-height: 80vh;
        margin: auto;
        background: #000;
        border-radius: 10px;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
    }

    .video-modal-close {
        position: absolute;
        top: 10px;
        right: 10px;
        font-size: 1.8rem;
        color: white;
        cursor: pointer;
        z-index: 100;
    }
}

.video-play-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    padding: 0;
}

.isola-content .btn-outline {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(25, 0, 152, 0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.play-button:hover {
    background: #dedede0e;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    color: #92929800;
    font-size: 2rem;
    margin-left: 4px;
}

.video-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    background: #f0f0f0;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-info {
    padding: 1.5rem;
}

.video-title {
    font-family: 'Montserrat', serif;
    font-size: 1.2rem;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.video-description {
    color: #64748b;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: #94a3b8;
}

.stemma-container {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.stemma {
    width: 80px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.4));
}

@media (max-width: 768px) {
    .stemma {
        width: 70px;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .container {
        padding: 0 15px;
    }

    .hero {
        position: relative;
        overflow: hidden;

    }

    .hero video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
        will-change: transform;
        -webkit-transform: translate(-50%, -50%) translateZ(0);
    }

    .hero .overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.1);
        z-index: 2;
    }

    .hero .logo {
        position: relative;
        z-index: 3;
        max-width: 300px;
        margin: 0 auto;
        display: block;
        padding-top: 20px;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    @keyframes slideIn {
        from {
            transform: translateY(30px);
            opacity: 0;
        }

        to {
            transform: translateY(0);
            opacity: 1;
        }
    }

    @keyframes zoomIn {
        from {
            transform: scale(0.9);
            opacity: 0;
        }

        to {
            transform: scale(1);
            opacity: 1;
        }
    }

    .hero-title {
        animation: fadeIn 1s ease-out;
    }

    .hero-subtitle {
        animation: slideIn 1s ease-out;
    }

    .hero-description {
        animation: slideIn 1s ease-out;
    }

    .hero-buttons {
        animation: zoomIn 1s ease-out;
    }

}

@media (max-width: 768px) {
    .hero {
        height: calc(100svh - var(--header-height, 80px));
        min-height: 400px;
    }

    .hero .logo {
        max-width: 200px;
    }
}

@media (max-width: 576px) {
    .hero {
        height: calc(100svh - var(--header-height, 80px));
        min-height: 380px;
    }

    .hero .logo {
        max-width: 150px;
    }
}

@media (max-width: 768px) {
    .production-section {
        padding: 0 !important;
        margin: 0 !important;
    }

    .production-section,
    .production-cards-wrapper {
        gap: 0 !important;
    }

    .production-card {
        flex-direction: column !important;
        text-align: center;
        margin: 0 !important;
        padding: 0 !important;
        border: none !important;
    }

    .production-card .production-image,
    .production-content {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .social-overlay {
        bottom: 5px;
        right: 5px;
        gap: 5px;
    }
}
}

.productions-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.production-card {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.production-card.flex-right {
    flex-direction: row-reverse;
}

.production-image img {
    width: 300px;
    height: auto;
    border-radius: 8px;
}

.production-content {
    max-width: 600px;
}

.content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.buttons {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.link-artist {
    color: #ffffff;
    text-shadow:
        0 0 5px #a4aeb2;

    font-weight: bold;

    text-decoration: none;

}

.btn {
    padding: 12px 24px;
    background-color: rgba(255, 255, 255, 0.284);
    border: 2px solid #ffffff;
    color: #ffffff;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 180px;

    text-align: center;

    display: inline-block;

    white-space: nowrap;

}

.video-item {
    max-width: 100%;
    overflow: hidden;

}

.video-item iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;

    border: none;
    border-radius: 4px;
    box-shadow: none;

}

@media (max-width: 480px) {
    .video-item iframe {
        aspect-ratio: 16 / 9;
    }
}

.btn:hover {
    background-color: #1701014b;
    color: #ffffff;
}

.video-section {
    padding: 4rem 0;
    background-color: var(--background-color);
}

.video-items-grid {
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    gap: 2rem;
    max-width: 1400px;

    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 1200px) {
    .video-items-grid {
        grid-template-columns: repeat(2, 1fr);

    }
}

@media (max-width: 640px) {
    .video-items-grid {
        grid-template-columns: 1fr;

    }
}

.video-item {
    text-align: center;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 300px;

    margin: 0 auto;
}

.video-wrapper {
    position: relative;
    width: 100%;
    border-radius: 14px;

    cursor: pointer;

}

.video-caption {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    margin-top: 1.5rem;
    padding: 0.5rem;
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.day-number {
    font-size: 1.2rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #000000;
    display: block;
    width: 100%;
}

.day-digit {
    font-size: 2.5rem;
    font-weight: 700;
    color: #000000;
    line-height: 1;
    position: relative;
    padding: 0 1rem;
    display: block;
    margin: 0.5rem 0;
}

.day-digitnew {
    font-size: 10px;
    font-weight: 700;
    color: #9e9898;
    line-height: 1;
    position: relative;
    padding: 0 1rem;
    display: block;
    margin: 0.5rem 0;
}

.day-digit::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background-color: #000000;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.video-thumbnail:hover {
    transform: scale(1.02);
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}

.video-thumbnail img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-caption {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    margin-top: 1.5rem;
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(255, 255, 255, 0.555);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button i {
    color: #0000009d;
    font-size: 20px;
}

.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.88);
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.modal.modal--open {
    display: flex;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.92) translateY(16px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes modalOut {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    to {
        opacity: 0;
        transform: scale(0.94) translateY(10px);
    }
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 1060px;
    max-height: calc(100vh - 3rem);
    padding: 1.8rem;
    display: flex;
    gap: 1.8rem;
    background: linear-gradient(160deg, #0d1422 0%, #080e1a 100%);
    border: 1px solid rgba(67, 170, 255, 0.18);
    border-radius: 20px;
    box-shadow:
        0 32px 80px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(67, 130, 255, 0.07),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: modalIn 0.38s cubic-bezier(0.16, 1, 0.3, 1) both;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(67, 170, 255, 0.45), transparent);
    pointer-events: none;
}

.video-container {
    flex: 0 0 62%;
    width: 62%;
    position: relative;
    aspect-ratio: 16 / 9;
    height: auto;
    align-self: flex-start;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.55);
}

.video-container iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.artists-info {
    flex: 1;
    min-width: 0;
    padding: 0.3rem 0.4rem 0.3rem 0;
    overflow-y: auto;
    color: rgba(255, 255, 255, 0.65);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(67, 170, 255, 0.3) transparent;
}

.artists-info::-webkit-scrollbar {
    width: 4px;
}

.artists-info::-webkit-scrollbar-thumb {
    background: rgba(67, 170, 255, 0.3);
    border-radius: 2px;
}

.artists-info h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(67, 170, 255, 0.75);
    margin: 0 0 0.5rem;
}

.artists-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.artists-list li {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.82rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.75);
}

.artists-list p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.84rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.65);
    margin: 0;
}

.artists-listnew li {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.close {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.85);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;

    line-height: 1;
    padding: 0;
    font-style: normal;
}

.close:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    transform: scale(1.12) rotate(90deg);
}

@media (max-width: 768px) {
    .modal {
        padding: 0.75rem;
    }

    .modal-content {
        flex-direction: column;
        padding: 1rem;
        gap: 0.9rem;
        max-height: calc(100vh - 1.5rem);
        overflow-y: auto;
        border-radius: 16px;
    }

    .video-container {
        flex: none;
        width: 100%;
        aspect-ratio: 16 / 9;
        height: auto;
        border-radius: 10px;
    }

    .artists-info {
        max-height: none;
        overflow-y: visible;
        padding: 0;
    }

    .close {
        top: 0.6rem;
        right: 0.6rem;
        width: 30px;
        height: 30px;
    }
}

.map-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);


    position: relative;
    padding-bottom: 56.25%;

    height: 0;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .map-container iframe {
        height: 350px;
    }
}

.program-section {
    background-color: var(--background-color);
    contain: layout style;
}

.program-title {
    text-align: center;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    margin-bottom: 4rem;
    text-transform: uppercase;
    letter-spacing: 4px;
}

.program-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
    padding: 0 20px;
    padding-bottom: 10px;
}

.program-day {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    padding-bottom: 10px;
}

.program-day:hover {
    transform: translateY(-5px);

    background: rgba(255, 255, 255, 0.1);

    box-shadow: 0 0 15px rgba(255, 223, 0, 0.5),

        0 0 30px rgba(255, 223, 0, 0.3);

}

.day-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    margin-bottom: 2rem;
}

.day-header h2 {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    margin: 0;
}

.date {
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

.events {
    display: grid;
    gap: 2rem;
}

.event {
    display: grid;
    gap: 0.5rem;
}

.time {
    color: #007AFF;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
}

.artist {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    margin: 0;
}

.venue {
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
}

@media (min-width: 768px) {
    .program-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .program-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.circle-gallery {
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
    padding: 6rem 0;
    background-color: var(--background-color);
}

.circles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.circle-item {
    display: flex;
    justify-content: center;
}

.circle-image {
    position: relative;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

.circle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.circle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.circle-overlay h3 {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    margin: 0;
    text-align: center;
}

.circle-overlay p {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.circle-image:hover img {
    transform: scale(1.1);
}

.circle-image:hover .circle-overlay {
    opacity: 1;
}

@media (max-width: 768px) {
    .circles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .circle-image {
        width: 150px;
        height: 150px;
    }
}

.daybyday-section {
    content-visibility: auto;
    contain-intrinsic-size: 0 500px;
    padding: 6rem 0;
    background-color: var(--background-color);
}

.daybyday-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1200px;
}

.day-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 8px;
    background: #afadad2a;
}

.day-button {
    all: unset;
    cursor: pointer;
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.day-image {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.day-image img {
    width: 70%;
    height: 100%;
    object-fit: contain;

    object-position: center;
    display: block;
    transition: transform 0.35s ease;
}

.day-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(166, 163, 163, 0.456);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    color: #fff;
    text-align: center;
    padding: 1rem;
}

.day-overlay h2 {
    font-size: 2.5rem;
    margin: 0;
    text-transform: uppercase;
}

.day-overlay p {
    margin-top: 1rem;
    font-size: 1.1rem;
}

@media (hover: hover) and (pointer: fine) {
    .day-item:hover .day-overlay {
        opacity: 1;
    }

    .day-item:hover .day-image img {
        transform: scale(1.03);
    }
}

@media (max-width: 768px) {
    .daybyday-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .day-image img {
        width: 90%;
    }

    .day-overlay {
        opacity: 1;
        background: rgb(164, 161, 161);
    }

    .day-overlay h2 {
        font-size: 1.8rem;
    }

    .day-overlay p {
        font-size: 1rem;
    }
}

.lightbox {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
    z-index: 3000;
    padding: 20px;
    box-sizing: border-box;
}

.lightbox.open {
    display: flex;
}

.lightbox-inner {
    position: relative;
    width: auto;
    max-width: 90vw;

    max-height: 90vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 12px;
    box-sizing: border-box;
}

.lightbox-media {
    width: 100%;
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    overflow: hidden;
    border-radius: 8px;
}

.lightbox-media img {
    display: block;
    width: auto;
    height: auto;
    max-width: 85vw;

    max-height: 80vh;

    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
}

.lightbox-caption {
    color: #fff;
    font-size: 1rem;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .lightbox-inner {
        max-width: 96vw;
        max-height: 92vh;
        padding: 10px;
    }

    .lightbox-media img {
        max-width: 92vw;
        max-height: 70vh;
    }

    .lightbox-close {
        font-size: 1.6rem;
        top: 6px;
        right: 8px;
    }
}

.day-item:hover .day-image img {
    transform: scale(1.1);
}

.day-item:hover .day-overlay {
    opacity: 1;
}

.countdown-container {
    text-align: center;
    margin: 2.5rem auto;
    padding: 0;
    background: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    max-width: 680px;
}

.countdown-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 1.6rem;
    color: rgba(255, 255, 255, 0.45);
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 0;
    flex-wrap: wrap;
}

.countdown-box {
    background: none;
    border: none;
    border-radius: 0;
    padding: 0 1.4rem;
    min-width: unset;
    text-align: center;
    position: relative;
}

.countdown-box:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 10%;
    height: 80%;
    width: 1px;
    background: rgba(67, 170, 255, 0.18);
}

.countdown-number {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    line-height: 1;
    letter-spacing: -2px;
    color: #fff;
    text-shadow:
        0 0 12px rgba(67, 170, 255, 0.6),
        0 0 30px rgba(67, 170, 255, 0.3),
        0 0 60px rgba(67, 130, 255, 0.15);
    transition: text-shadow 0.4s ease;
}

.countdown-number.tick {
    text-shadow:
        0 0 16px rgba(67, 170, 255, 1),
        0 0 40px rgba(67, 170, 255, 0.6),
        0 0 80px rgba(67, 130, 255, 0.3);
}

.countdown-label {
    display: block;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(67, 170, 255, 0.55);
    margin-top: 0.7rem;
}

@media (max-width: 600px) {
    .countdown-container {
        padding: 0;
        margin: 1.5rem auto;
    }

    .countdown-title {
        font-size: 0.6rem;
        letter-spacing: 4px;
        margin-bottom: 1.2rem;
    }

    .countdown-box {
        padding: 0 0.8rem;
    }

    .countdown-number {
        font-size: 2.4rem;
        letter-spacing: -1px;
    }

    .countdown-label {
        font-size: 0.5rem;
        letter-spacing: 2px;
        margin-top: 0.5rem;
    }
}

.scrolling-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: calc(36px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: #0a0a0a;
    overflow: hidden;
    z-index: 9999;
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
}

.scrolling-track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    white-space: nowrap;
    animation: scroll-sax 35s linear infinite;
    will-change: transform;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(203, 213, 225, 0.55);
}

.scrolling-track .sb-x {
    color: rgba(255,255,255,0.9);
    font-size: 0.65rem;
    letter-spacing: 4px;
}

@keyframes scroll-sax {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 600px) {
    .scrolling-bar {
        height: calc(28px + env(safe-area-inset-bottom));
    }

    .scrolling-track {
        font-size: 0.5rem;
        gap: 1.8rem;
        animation-duration: 25s;
    }
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.rassegna-giornali {
    background-color: #fff;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 0;

    align-self: flex-start;
    text-transform: uppercase;

}

.rassegna-flex {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.rassegna-video,
.rassegna-giornali {
    flex: 1;
    min-width: 280px;
    background: #40505207;

    padding: 15px;
    border-radius: 12px;

}

.rassegna-video h3,
.rassegna-giornali h3 {
    color: #090a0a;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.rassegna-giornali h3 {
    font-family: 'Big John', "Rubik", sans-serif;
}

.rassegna-giornali .giornali-card button {
    font-family: 'Big John', "Rubik", sans-serif;
}

.rassegna-video h3 {
    font-family: 'Big John', "Rubik", sans-serif;
}

.rassegna-video h1 {
    font-family: 'Big John', "Rubik", sans-serif;
}

.colonna-title {
    font-family: 'Big John', "Rubik", sans-serif;
}

.rassegna-video .video-card {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rassegna-video .video-card iframe,
.rassegna-video .video-card video {
    width: 100%;
    border-radius: 4px;
}

.rassegna-giornali .giornali-card {
    margin-bottom: 10px;

}

.rassegna-giornali .giornali-card button {
    width: 100%;
    padding: 10px;
    border: none;
    background-color: #0b1b2bcd;
    color: white;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.rassegna-giornali .giornali-card button:hover {
    background-color: #0066cc;
}

.contact-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-grid {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
}

.contact-card {
    background: linear-gradient(160deg, #0d1b2e 0%, #0a1220 100%);
    border: 1px solid rgba(67, 170, 255, 0.2);
    border-radius: 18px;
    padding: 2.2rem 2rem;
    text-align: center;
    width: 260px;
    max-width: 100%;
    color: #fff;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 0.95rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 30px rgba(67, 130, 255, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(67, 170, 255, 0.5), transparent);
}

.contact-card:hover {
    transform: translateY(-6px);
    border-color: rgba(67, 170, 255, 0.45);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), 0 0 40px rgba(67, 130, 255, 0.12);
}

.contact-icon {
    font-size: 2.2rem;
    color: #43aaff;
    margin-bottom: 1rem;
    display: block;
    text-shadow: 0 0 8px rgba(67, 170, 255, 0.8), 0 0 22px rgba(67, 170, 255, 0.4);
    transition: text-shadow 0.3s ease, transform 0.3s ease;
}

.contact-card:hover .contact-icon {
    transform: scale(1.12);
    text-shadow: 0 0 14px rgba(67, 170, 255, 1), 0 0 35px rgba(67, 170, 255, 0.55);
}

.contact-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(67, 170, 255, 0.7);
    margin-bottom: 0.9rem;
}

.contact-card p,
.contact-card a {
    text-align: center;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.6;
}

.contact-card a:hover {
    color: #43aaff;
    text-decoration: none;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(160deg, #0d1b2e 0%, #0a1220 100%);
    border: 1px solid rgba(67, 170, 255, 0.15);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.42s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active {
    border-color: rgba(67, 170, 255, 0.4);
    box-shadow: 0 0 24px rgba(67, 130, 255, 0.09);
}

.faq-question {
    padding: 1.3rem 1.8rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    color: #fff;
    transition: background 0.25s ease;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
}

.faq-question h3 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: inherit;
}

.faq-question:hover {
    background: rgba(67, 170, 255, 0.05);
}

.faq-item.active .faq-question {
    color: #43aaff;
}

.faq-toggle {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid rgba(67, 170, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #43aaff;
    font-size: 0.75rem;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.faq-item.active .faq-toggle {
    background: rgba(67, 170, 255, 0.12);
    border-color: rgba(67, 170, 255, 0.55);
}

.faq-toggle i {
    transition: transform 0.42s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-toggle i {
    transform: rotate(45deg);
}

.faq-answer {
    color: rgba(255, 255, 255, 0.75);

    overflow: hidden;
    padding: 0 2rem;
    display: block;
    background: rgba(67, 170, 255, 0.03);
}

.faq-item.active .faq-answer {
    border-top: 1px solid rgba(67, 170, 255, 0.1);
}

.faq-answer p {
    margin: 0;
    line-height: 1.7;
    font-size: 0.92rem;
}

.contact-button-section {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.contact-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(160deg, #0d1b2e 0%, #0a1220 100%);
    color: #43aaff;
    font-size: 0.88rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    padding: 0.75rem 1.8rem;
    border-radius: 40px;
    border: 1px solid rgba(67, 170, 255, 0.35);
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
    max-width: 100%;
    box-shadow: 0 0 18px rgba(67, 130, 255, 0.1);
}

.contact-button:hover {
    transform: translateY(-3px) scale(1.02);
    border-color: rgba(67, 170, 255, 0.7);
    box-shadow: 0 0 28px rgba(67, 170, 255, 0.25), 0 8px 24px rgba(0, 0, 0, 0.3);
    color: #fff;
}

.contatti-scheda {
    display: flex;
    justify-content: center;

    align-items: center;

    padding: 2rem;

}

.contatti-scheda .contatti-image {
    max-width: 100%;

    height: auto;

    border-radius: 12px;

    display: block;
}

.hotel-section {
    padding: 2em;
    background: #f9f9f9;
}

.hotel-section h2 {
    text-align: center;
    margin-bottom: 1.5em;
}

.hotel-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5em;
}

.hotel-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hotel-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.hotel-card h3 {
    margin: 0.75em 1em 0.5em;
}

.hotel-card p {
    margin: 0.5em 1em;
    flex-grow: 1;
}

.hotel-card .btn {
    margin: 1em;
    padding: 0.5em 1em;
    background: #0077cc;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
}

.hotel-card .btn:hover {
    background: #005fa3;
}

.search-box {
    max-width: 520px;
    margin: 40px auto;
    background: #ffffff;
    padding: 18px 22px;
    border-radius: 14px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: 0.3s ease;
}

.search-box:focus-within {
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
}

.search-box input {
    width: 100%;
    padding: 10px 14px;
    font-size: 1rem;
    border: none;
    outline: none;
}

.search-btn {
    background: #2c7bea;
    color: #fff;
    padding: 10px 22px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.25s;
}

.search-btn:hover {
    background: #1f5db4;
}

.search-box svg {
    width: 22px;
    height: 22px;
    fill: #777;
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999999;
    padding: 0 1rem 1rem;
    pointer-events: none;
}

body.no-scroll {
    overflow: hidden;
}

.cookie-box {
    pointer-events: all;
    max-width: 960px;
    margin: 0 auto;
    background: rgba(10, 14, 26, 0.97);
    border: 1px solid rgba(67, 170, 255, 0.18);
    border-radius: 16px;
    padding: 1.1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    box-shadow: 0 -4px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(67, 170, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-wrap: wrap;
}

.cookie-icon {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.9);
    flex-shrink: 0;
    opacity: 0.85;
}

.cookie-text {
    flex: 1;
    min-width: 200px;
}

.cookie-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    line-height: 1.6;
    color: rgba(203, 213, 225, 0.75);
    margin: 0;
}

.cookie-text p a {
    color: rgba(67, 170, 255, 0.85);
    text-decoration: none;
    border-bottom: 1px solid rgba(67, 170, 255, 0.25);
    transition: color 0.2s ease, border-color 0.2s ease;
}

.cookie-text p a:hover {
    color: #43aaff;
    border-bottom-color: #43aaff;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.cookie-btn-outline {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(203, 213, 225, 0.5);
    text-decoration: none;
    padding: 7px 14px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.cookie-btn-outline:hover {
    color: rgba(203, 213, 225, 0.85);
    border-color: rgba(255, 255, 255, 0.25);
}

#accept-cookies {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(135deg, #1a7fd4, #43aaff);
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    color: #fff;
    white-space: nowrap;
    box-shadow: 0 3px 14px rgba(67, 170, 255, 0.3);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

#accept-cookies:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

@media (max-width: 600px) {
    .cookie-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
        padding: 1rem 1.2rem;
    }

    .cookie-actions {
        width: 100%;
        justify-content: flex-end;
    }
}

@media (prefers-reduced-motion: reduce) {

    .partner-track,
    .scrolling-content,
    .hero::before {
        animation: none !important;
    }

    * {
        transition-duration: 0.01ms !important;
    }
}

.idx-edition-badge {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.45rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.9);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 2px 8px;
    margin-left: 0.5rem;
    white-space: nowrap;
    opacity: 0.85;
}

.idx-page .header:not(.scrolled) .idx-edition-badge {
    color: rgba(255,255,255,0.9);
    border-color: rgba(255, 255, 255, 0.3);
}

.idx-hero-edition {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin: 0.6rem auto 1.6rem;
    justify-content: center;
}

.idx-hero-edition-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 900;
    color: rgba(255,255,255,0.9);
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.idx-hero-edition-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 0.7rem;
    line-height: 1.4;
}

@media (max-width: 480px) {
    .idx-hero-edition-num {
        font-size: 1.2rem;
    }

    .idx-hero-edition-text {
        font-size: 0.48rem;
        letter-spacing: 2px;
    }
}

.idx-nav-x {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-left: 0.5rem;
    line-height: 1;
}

.idx-nav-x-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    color: rgba(255,255,255,0.9);
    line-height: 1;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.25);
}

.idx-nav-x-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.42rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.idx-page .header:not(.scrolled) .idx-nav-x-num {
    text-shadow: 0 0 16px rgba(255, 255, 255, 0.6);
}

.idx-xed {
    background: #0f0f1a;
    position: relative;
    overflow: hidden;
    padding: 5rem 1.5rem;
}

.idx-xed::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 10% 50%, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.idx-xed-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.idx-xed-left {
    flex-shrink: 0;
}

.idx-xed-num {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(7rem, 18vw, 14rem);
    font-weight: 900;
    line-height: 0.85;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.2);
    text-stroke: 2px rgba(255, 255, 255, 0.2);
    letter-spacing: -4px;
    user-select: none;
}

.idx-xed-right {
    flex: 1;
}

.idx-xed-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 0.8rem;
}

.idx-xed-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: -1px;
    line-height: 1.05;
    margin: 0 0 1.2rem;
}

.idx-xed-title em {
    font-style: italic;
    font-family: Georgia, serif;
    text-transform: none;
    color: rgba(255,255,255,0.9);
}

.idx-xed-body {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(203, 213, 225, 0.6);
    margin: 0 0 2rem;
    max-width: 480px;
}

.idx-xed-stats {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.idx-xed-stat {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.idx-xed-stat-n {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: rgba(255,255,255,0.9);
    line-height: 1;
}

.idx-xed-stat-l {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: rgba(203, 213, 225, 0.4);
}

@media (max-width: 640px) {
    .idx-xed-inner {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .idx-xed-num {
        font-size: 8rem;
    }

    .idx-xed-body {
        max-width: 100%;
    }

    .idx-xed-stats {
        justify-content: center;
    }
}

/* ══════════════════════════════════════
   FULLSCREEN MOBILE NAV
══════════════════════════════════════ */
.nav-fullscreen {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: linear-gradient(170deg, #05091a 0%, #0b1628 45%, #0d1f3c 75%, #0a1520 100%);
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateY(-100%);
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 992px) {
    .nav-fullscreen {
        display: flex;
    }

    .nav-fullscreen.open {
        transform: translateY(0);
    }
}

.nav-fs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    flex-shrink: 0;
}

.nav-fs-logo {
    height: 38px;
    width: auto;
}

.nav-fs-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.4rem;
    cursor: pointer;
    padding: 0.4rem;
    transition: color 0.2s ease, transform 0.2s ease;
    line-height: 1;
}

.nav-fs-close:hover {
    color: rgba(255,255,255,0.9);
    transform: rotate(90deg);
}

.nav-fs-links {
    flex: 1;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
}

.nav-fs-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.8rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.2s ease, padding-left 0.2s ease, background 0.2s ease;
    position: relative;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.nav-fs-link:hover,
.nav-fs-link.open {
    color: rgba(255,255,255,0.9);
    padding-left: 2.2rem;
    background: rgba(255, 255, 255, 0.04);
}

.nav-fs-icon {
    width: 22px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.nav-fs-link:hover .nav-fs-icon {
    color: rgba(255,255,255,0.9);
}

.nav-fs-chevron {
    margin-left: auto;
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    color: rgba(255, 255, 255, 0.35);
}

.nav-fs-toggle.open .nav-fs-chevron {
    transform: rotate(180deg);
}

.nav-fs-group {
    display: flex;
    flex-direction: column;
}

.nav-fs-sub {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.03);
}

.nav-fs-sub.open {
    max-height: 200px;
}

.nav-fs-sublink {
    display: block;
    padding: 0.8rem 1.8rem 0.8rem 4.2rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.nav-fs-sublink:hover {
    color: rgba(255,255,255,0.9);
    padding-left: 4.8rem;
}

.nav-fs-footer {
    padding: 1.5rem 1.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}

.nav-fs-social {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.nav-fs-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.nav-fs-social a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255,255,255,0.9);
}

.nav-fs-copy {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.6rem;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.2);
}

/* Override: hide the old side-drawer nav on mobile */
@media (max-width: 992px) {

    /* Keep the toggle button but prevent the old drawer from opening */
    .nav-menu.active {
        right: -100% !important;
    }

    .nav-overlay.active {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}