﻿/* ==============================================
   FEST IN VAL 2026 — Modern Light Design System
   ============================================== */

/* ---- TOKENS ---- */
:root {
    --c-red:      #fd1c45;
    --c-orange:   #e09840;
    --c-orange-light: #efae61;
    --c-purple:   #934ab1;
    --c-maroon:   #7b494d;

    --bg-base:    #f7f3ee;
    --bg-surface: #ffffff;
    --bg-glass:   rgba(255,255,255,0.75);
    --bg-glass-border: rgba(0,0,0,0.07);

    --text-primary:   #1e1113;
    --text-secondary: rgba(30,17,19,0.60);
    --text-muted:     rgba(30,17,19,0.35);

    --shadow-card: 0 4px 24px rgba(30,17,19,0.07);
    --shadow-card-hover: 0 16px 48px rgba(30,17,19,0.13);

    --radius-card: 20px;
    --radius-pill: 999px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- BASE ---- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--text-primary);
}

em { font-style: italic; }

.py-6 { padding-top: 6rem; padding-bottom: 6rem; }
.mb-6 { margin-bottom: 4rem; }
.pt-6 { padding-top: 6rem; }

.text-accent-orange { color: var(--c-orange); }
.text-accent-red    { color: var(--c-red); }
.text-accent-purple { color: var(--c-purple); }

/* ---- NAVBAR ---- */
#mainNav {
    padding: .8rem 0;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition);
}
#mainNav.scrolled {
    background: rgba(30,17,19,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
#mainNav.scrolled .nav-link-custom {
    color: rgba(255,255,255,0.85) !important;
}
#mainNav.scrolled .social-icon-link {
    color: rgba(255,255,255,0.7);
}

.nav-link-custom {
    color: rgba(255,255,255,0.85) !important;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .5rem .75rem !important;
    transition: color var(--transition);
    position: relative;
}
.nav-link-custom::after {
    content: '';
    position: absolute;
    bottom: 0; left: .75rem; right: .75rem;
    height: 1.5px;
    background: var(--c-orange);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
}
.nav-link-custom:hover { color: var(--c-orange-light) !important; }
.nav-link-custom:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.social-nav-border {
    border-left: 1px solid rgba(255,255,255,0.15);
}
.social-icon-link {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    transition: color var(--transition);
    text-decoration: none;
}
.social-icon-link:hover { color: var(--c-orange-light); }

.navbar-brand .brand-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--c-maroon);
    letter-spacing: 0.03em;
}

.navbar-brand {
    position: relative;
    display: flex;
    align-items: center;
    gap: .8rem;
}

.navbar-brand img {
    height: 128px;
    transition: height var(--transition);
    position: relative;
    z-index: 1;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    top: 55%;
    left: 170px;
    transform: translate(-50%, -50%);
    width: 130%;
    height: 150px;
    background: rgba(255, 255, 255, 1);
    border-radius: 34% 52% 45% 55% / 58% 42% 58% 45%;
    pointer-events: none;
    z-index: 0;
    opacity: 1;
    transition: opacity var(--transition);
}

#mainNav.scrolled .navbar-brand img {
    height: 40px;
    filter: brightness(0) invert(1);
}

#mainNav.scrolled .navbar-brand::after {
    opacity: 0;
}



/* Hamburger custom */
.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}
.hamburger-line + .hamburger-line { margin-top: 5px; }
.navbar-toggler:focus { box-shadow: none; }

/* ---- HERO ---- */
.hero {
    min-height: 100vh;
    background-color: var(--bg-base);
    position: relative;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    background-image: url('../img/assets/DJI_0942.JPG');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-video {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    z-index: 1;
}

/* Noise texture */
.hero-noise {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
    background-size: 200px;
    pointer-events: none;
    z-index: 2;
}

/* Glow orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 2;
}
.glow-orb--1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(147,74,177,0.08), transparent 70%);
    top: -200px; left: -200px;
}
.glow-orb--2 {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(253,28,69,0.05), transparent 70%);
    bottom: -150px; right: -150px;
}
.glow-orb--3 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(239,174,97,0.1), transparent 70%);
    top: 35%; left: 50%;
    transform: translate(-50%, -50%);
}

/* Hero info box */
.hero-info-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 2.5rem 3.5rem;
    max-width: 500px;
    margin: 0 auto;
    animation: fadeInScale 1s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-location {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-dates {
    font-family: 'Inter', system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

/* Badge dates pill */
.badge-pill-dates {
    display: inline-block;
    padding: .4rem 1.2rem;
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: var(--radius-pill);
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #ffffff;
    background: rgba(253,28,69,0.2);
    text-shadow: 0 2px 4px rgba(0,0,0,0.7);
}

.badge-year {
    display: inline-block;
    padding: .6rem 1.8rem;
    border: 2px solid var(--c-red);
    border-radius: var(--radius-pill);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--c-red);
    background: rgba(253,28,69,0.1);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Hero logo */
.hero-logo-wrap {
    max-width: 260px;
    position: relative;
}

.hero-logo-wrap::after {
    content: '';
    position: absolute;
    bottom: -38px;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 95px;
    background: rgba(255, 255, 255, 0.32);
    border-radius: 50% 47% 51% 46% / 47% 51% 46% 50%;
    pointer-events: none;
    filter: blur(0.8px);
}

.hero-logo {
    filter: drop-shadow(0 8px 30px rgba(123,73,77,0.18));
    transition: filter var(--transition), transform var(--transition);
}
.hero-logo:hover {
    filter: drop-shadow(0 12px 40px rgba(123,73,77,0.30));
    transform: scale(1.03);
}

/* Hero typography */
.hero-title {
    font-size: clamp(4rem, 12vw, 9rem);
    line-height: 0.92;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 4px 12px rgba(0,0,0,0.4);
}
.hero-title .block-thin {
    display: block;
    font-weight: 400;
    font-style: italic;
    color: rgba(255,255,255,0.85);
    font-size: 0.55em;
    letter-spacing: 0.08em;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.hero-title .block-bold {
    display: block;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-sub {
    font-size: .95rem;
    color: rgba(255,255,255,0.8);
    letter-spacing: .04em;
    text-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* CTA buttons */
.btn-primary-fest {
    background: var(--c-red);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    padding: .85rem 2.4rem;
    font-weight: 600;
    font-size: .875rem;
    letter-spacing: .04em;
    box-shadow: 0 8px 28px rgba(253,28,69,0.28);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary-fest:hover {
    background: #d90030;
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(253,28,69,0.38);
    color: #fff;
}
.btn-ghost-fest {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: var(--radius-pill);
    padding: .85rem 2.4rem;
    font-weight: 500;
    font-size: .875rem;
    letter-spacing: .02em;
    transition: border-color var(--transition), background var(--transition), transform var(--transition);
}
.btn-ghost-fest:hover {
    border-color: #ffffff;
    color: #ffffff;
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.btn-outline-fest {
    background: transparent;
    color: #ffffff;
    border: 1.5px solid rgba(255,255,255,0.5);
    border-radius: var(--radius-pill);
    padding: .85rem 2.4rem;
    font-weight: 500;
    font-size: .875rem;
    letter-spacing: .02em;
    transition: all var(--transition);
}
.btn-outline-fest:hover {
    border-color: #ffffff;
    background: rgba(255,255,255,0.15);
    color: #ffffff;
    transform: translateY(-2px);
}

.scroll-hint-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.5));
    margin: 0 auto;
    animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.2; transform: scaleY(0.6); }
    50%       { opacity: 0.7; transform: scaleY(1); }
}

/* Hero content positioning */
.hero .container {
    position: relative;
    z-index: 3;
}

/* ---- DATES STRIP ---- */
.dates-strip {
    background: var(--bg-surface);
    border-top: 1px solid rgba(0,0,0,0.07);
    border-bottom: 1px solid rgba(0,0,0,0.07);
}
.dates-strip-item {
    border-right: 1px solid rgba(0,0,0,0.07);
    padding: 1.2rem 0;
}
.dates-strip-item:last-child { border-right: none; }
.date-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--c-maroon);
}
.date-label {
    font-size: .68rem;
    text-transform: uppercase;
    letter-spacing: .16em;
    color: var(--text-muted);
    margin-top: .2rem;
}

/* ---- SECTION COMMONS ---- */
.section-label {
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .2em;
    color: var(--c-maroon);
}
.section-title-lg {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--text-primary);
}
.section-title-lg em {
    color: var(--text-secondary);
    font-weight: 400;
}

/* ---- PROGRAMMA ---- */
.section-programma { background: var(--bg-base); }

/* Cards */
.glass-card {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}
.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
}
.glass-card--featured {
    border-color: rgba(253,28,69,0.2);
    box-shadow: var(--shadow-card), 0 0 0 1px rgba(253,28,69,0.1);
}

/* Colored top accent stripe */
.day-card-accent {
    height: 60px;
    background-image: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 400 40' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,20 Q50,30 100,20 Q150,10 200,20 Q250,30 300,20 Q350,10 400,20 L400,0 L0,0 Z' fill='%23ffcb04'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    position: absolute;
    top: 0; left: 0; right: 0;
}

/* Featured tag */
.tag-featured {
    position: absolute;
    top: 16px; right: 16px;
    background: #ffcb04;
    font-size: .62rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: .25rem .7rem;
    border-radius: var(--radius-pill);
}

.day-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
}
.day-month {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    margin-top: .2rem;
    margin-bottom: .4rem;
}
.day-name {
    font-size: .65rem;
    text-transform: uppercase;
    letter-spacing: .2em;
}
.day-divider {
    height: 1px;
    background: rgba(0,0,0,0.07);
}
.day-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

/* Schedule list */
.schedule-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.schedule-list li {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
    padding: .55rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.schedule-list li:last-child { border-bottom: none; }
.sched-time {
    font-weight: 700;
    font-size: .72rem;
    color: var(--c-maroon);
    white-space: nowrap;
    letter-spacing: .06em;
    min-width: 40px;
    padding-top: .1rem;
}
.sched-desc {
    font-size: .82rem;
    color: var(--text-secondary);
    line-height: 1.45;
}

/* ---- FAMIGLIA ---- */
.section-famiglia {
    background: var(--bg-base);
}

.famiglia-card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: var(--radius-card);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.famiglia-card:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-4px);
}

.famiglia-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-orange-light), var(--c-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 1.5rem;
    flex-shrink: 0;
}

.famiglia-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.body-text-lg {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ---- CUCINA ---- */
.section-cucina { background: var(--bg-surface); }

.cucina-bg-glow {
    position: absolute;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(147,74,177,0.08), transparent 65%);
    filter: blur(80px);
    top: 50%; left: 60%;
    transform: translate(-50%,-50%);
    pointer-events: none;
}

.body-text {
    font-size: .95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}
.body-text strong {
    font-weight: 700;
    color: var(--text-primary);
}

#sponsor {
    background-color: #ffcb04;
}
/* Piatti Grid */
.piatti-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
@media (max-width: 575px) { .piatti-grid { grid-template-columns: 1fr; } }

.piatto-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 1.2rem;
    border-radius: 14px;
    background: var(--bg-base);
    border: 1px solid rgba(0,0,0,0.07);
    transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.piatto-card:hover {
    background: #fff;
    border-color: rgba(123,73,77,0.2);
    box-shadow: 0 4px 20px rgba(123,73,77,0.08);
}
.piatto-card--highlight {
    border-color: rgba(224,152,64,0.3);
    background: rgba(239,174,97,0.06);
}

.piatto-icon {
    width: 36px; height: 36px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 10px;
    background: rgba(123,73,77,0.08);
    color: var(--c-maroon);
    font-size: .85rem;
    flex-shrink: 0;
    margin-top: .1rem;
}
.piatto-card--highlight .piatto-icon {
    background: rgba(224,152,64,0.12);
    color: var(--c-orange);
}

.piatto-name {
    font-weight: 600;
    font-size: .875rem;
    color: var(--text-primary);
    line-height: 1.3;
}
.piatto-note {
    font-size: .74rem;
    color: var(--text-muted);
    margin-top: .2rem;
}

/* Dietary options */
.dietary-options {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.dietary-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.dietary-icons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.dietary-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.65rem 1.2rem;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all var(--transition);
}

.dietary-badge:hover {
    transform: translateY(-2px);
}

/* Vegetariano - Verde */
.dietary-badge--vegan {
    background: rgba(34, 197, 94, 0.12);
    border: 2px solid rgba(34, 197, 94, 0.3);
    color: #16a34a;
}

.dietary-badge--vegan:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.5);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

.dietary-badge--vegan i {
    font-size: 1.1rem;
    color: #22c55e;
}

/* Senza Glutine - Giallo/Dorato */
.dietary-badge--glutenfree {
    background: rgba(217, 119, 6, 0.12);
    border: 2px solid rgba(217, 119, 6, 0.3);
    color: #b45309;
}

.dietary-badge--glutenfree:hover {
    background: rgba(217, 119, 6, 0.2);
    border-color: rgba(217, 119, 6, 0.5);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
}

.dietary-badge--glutenfree i {
    font-size: 1.1rem;
    color: #d97706;
}

/* ---- SPONSOR ---- */
.sponsor-section {
    background-color: #ffcb04;
    overflow: hidden;
    position: relative;
}

.sponsor-container {
    width: 100%;
    overflow: hidden;
}

.sponsor-track {
    display: flex;
    gap: 2rem;
    animation: scrollSponsor 40s linear infinite;
    width: fit-content;
}

@keyframes scrollSponsor {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1rem));
    }
}

.sponsor-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 200px;
    height: 80px;
}

.sponsor-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    padding: 1rem;
    white-space: nowrap;
    transition: transform var(--transition);
}

.sponsor-item:hover .sponsor-logo {
    transform: scale(1.1);
}

/* ---- ORGANIZERS STRIP ---- */
.organizers-strip {
    background: var(--bg-base);
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}
.org-logo {
    height: 50px;
    opacity: 0.8;
    transition: opacity var(--transition);
}
.org-logo:hover { opacity: 1; }
.org-text {
    font-size: .85rem;
    color: var(--text-muted);
    font-weight: 500;
    margin: 0;
    letter-spacing: .02em;
}

/* ---- SEPARATOR ---- */
.separator-wave {
    height: 40px;
    background: #ffffff;
    background-image: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 60' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,25 Q150,15 300,25 Q450,35 600,25 Q750,15 900,25 Q1050,35 1200,25 L1200,60 L0,60 Z' fill='%23ffcb04'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    position: relative;
    width: 100%;
}

/* ---- FOOTER ---- */
.footer {
    background: var(--text-primary);
    border-top: none;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background-image: 
        url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 60' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,35 Q150,45 300,35 Q450,25 600,35 Q750,45 900,35 Q1050,25 1200,35 L1200,0 L0,0 Z' fill='%23ffcb04'/%3E%3C/svg%3E");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 3;
}

.footer-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: 0;
}

.footer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 17, 19, 0.85);
    z-index: 1;
}

.footer .container {
    position: relative;
    z-index: 2;
}

.footer-logo-sagra {
    height: 60px;
    filter: brightness(0) invert(1);
}

.organiz-logo {
    height: 40px;
    filter: invert(1);
}

.footer-heading {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
}

.body-text-sm {
    font-size: .83rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
}
.body-text-sm address { font-style: normal; }
.not-italic { font-style: normal; }

.text-accent-orange { color: var(--c-orange-light) !important; }

.hashtag-big {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--c-orange-light);
    margin-bottom: .5rem;
}

.social-btn {
    display: inline-flex;
    align-items: center; justify-content: center;
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.6);
    font-size: .9rem;
    text-decoration: none;
    transition: all var(--transition);
}
.social-btn:hover {
    border-color: var(--c-orange-light);
    color: var(--c-orange-light);
    background: rgba(239,174,97,0.1);
    transform: translateY(-2px);
}

.footer-hr {
    border-color: rgba(255,255,255,0.08);
    margin: 2rem 0 1.5rem;
}
.footer-bottom {
    font-size: .78rem;
    color: rgba(255,255,255,0.35);
}

.footer-bottom-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .footer-bottom-wrapper {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-credit {
    margin-left: auto;
}

.footer-bottom > .d-flex:last-child {
    margin-left: auto;
}

.footer-link {
    color: rgba(255,255,255,0.35);
    text-decoration: none;
    transition: color var(--transition);
}
.footer-link:hover { color: rgba(255,255,255,0.8); }

.footer-credit-link {
    font-size: 0.65rem;
    position: relative;
    display: inline-block;
}
.footer-credit-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 0.5px;
    background: rgba(255,255,255,0.3);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
}
.footer-credit-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ---- ORGANIZERS STRIP ---- */
.organizers-strip {
    background: var(--bg-surface);
    border-top: 1px solid rgba(0,0,0,0.07);
    border-bottom: none;;
}

.organizers-strip a {
    display: inline-block;
    text-decoration: none;
    transition: transform var(--transition), filter var(--transition);
}
.organizers-strip a:hover {
    transform: scale(1.08);
}

.organizer-logo {
    height: 70px;
    opacity: 0.9;
    transition: opacity var(--transition);
}
.organizer-logo:hover {
    opacity: 1;
}

.organizer-logo-large {
    height: 100px;
    opacity: 0.95;
    transition: opacity var(--transition), transform var(--transition);
}
.organizer-logo-large:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* ---- MAPPA ---- */
.map-section {
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}
.map-container {
    width: 100%;
    height: 500px;
    background: var(--bg-surface);
}

.btn-navigate {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 10;
    background: var(--c-red);
    color: #fff;
    border: none;
    border-radius: var(--radius-pill);
    padding: .75rem 1.8rem;
    font-weight: 600;
    font-size: .875rem;
    letter-spacing: .02em;
    box-shadow: 0 8px 28px rgba(253,28,69,0.28);
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.btn-navigate:hover {
    background: #d90030;
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(253,28,69,0.38);
}
.btn-navigate:active {
    transform: scale(0.95);
}

@media (max-width: 767px) {
    .map-container {
        height: 350px;
    }
    .btn-navigate {
        bottom: 15px;
        left: 15px;
        right: 15px;
        font-size: .8rem;
        padding: .65rem 1.5rem;
        justify-content: center;
    }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(30,17,19,0.92);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-radius: 0;
        margin-top: 0.5rem;
        padding: 1rem;
    }
    .social-nav-border {
        border-left: none;
        padding-left: 0 !important;
        margin-left: 0 !important;
        border-top: 1px solid rgba(0,0,0,0.08);
        padding-top: 1rem;
        margin-top: .5rem;
        justify-content: flex-start;
    }
    .py-6 { padding-top: 4rem; padding-bottom: 4rem; }
    .pt-6 { padding-top: 4rem; }
}

@media (max-width: 767px) {
    .hero-title { font-size: clamp(3.5rem, 18vw, 6rem); }
    .piatti-grid { grid-template-columns: 1fr; }
}
