html, body {
    overflow-x: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =========================
   NAVBAR
========================= */
.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    height: 80px;
    background-color: #451414;
    z-index: 2000;
}

.nav-container {
    max-width: 1200px;
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.logo-img {
    height: 100px;
    margin-top: 50px;
}

/* MENU */
.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
    transition: 0.4s ease;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
}

.nav-links a:hover {
    color: #ffcc00;
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 3000;
    padding: 10px;
    border-radius: 10px;
    border: 2px solid #ffcc66;
    box-shadow: 0 0 8px rgba(255, 204, 102, 0.6);
    animation: hamburgerGlow 2s ease-in-out infinite;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffcc66;
    border-radius: 2px;
}

@keyframes hamburgerGlow {
    0%, 100% {
        box-shadow: 0 0 6px rgba(255, 204, 102, 0.5), 0 0 0 rgba(255, 204, 102, 0);
        border-color: #ffcc66;
    }
    50% {
        box-shadow: 0 0 18px rgba(255, 204, 102, 0.95), 0 0 30px rgba(255, 204, 102, 0.5);
        border-color: #fff3d6;
    }
}

/* MENU MOBILE */
.nav-links.active {
    transform: translateX(0);
    opacity: 1;
}


/* =========================
   PROPOSTE - NUOVO LAYOUT
========================= */

.hero-proposte {
    background: linear-gradient(180deg, #3a0f0f 0%, #1a0505 100%);
    color: #f2e6e6;
    padding: 60px 8%;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* HEADER */
.proposte-header {
    text-align: center;
    position: sticky;
    top: 80px;
    background: rgba(20, 5, 5, 0.92);
    backdrop-filter: blur(8px);
    padding: 20px;
    z-index: 10;
    border-bottom: 1px solid rgba(255, 204, 102, 0.15);
}

.proposte-header h1 {
    font-size: 2.4rem;
    color: #ffcc66;
}

/* LAYOUT PRINCIPALE */
.proposte-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.proposte-descrizione {
    flex: 1;
    max-width: 500px;
}

/* =========================
   POLAROID STACK
========================= */

.polaroid-stack {
    position: relative;
    width: 340px;
    min-height: 420px;
}

/* POLAROID BASE */
.polaroid {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    background: #ecebeb;
    padding: 14px 14px 40px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.35);
    cursor: pointer;
    transition: all 0.4s ease;
}

/* posizione visiva base (tutte uguali) */
.polaroid {
    top: 0;
}




/* FRECCE AVANTI/INDIETRO */
.polaroid-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(20, 5, 5, 0.75);
    color: #ffcc66;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, transform 0.25s ease;
}

.polaroid-arrow:hover {
    background: rgba(255, 204, 102, 0.9);
    color: #1a0505;
}

.polaroid-arrow-prev {
    left: -20px;
}

.polaroid-arrow-next {
    right: -20px;
}

/* IMMAGINE */
.polaroid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* CAPTION */
.caption {
    text-align: center;
    margin-top: 10px;
    color: #333;
}

/* =========================
   TESTO DESTRA
========================= */

.proposte-info {
    flex: 1;
    max-width: 500px;
}

#dynamic-title {
    font-size: 1.9rem;
    color: #ffcc66;
    margin-bottom: 10px;
}

.static-label {
    font-size: 0.9rem;
    opacity: 0.6;
    margin-bottom: 20px;
}

#dynamic-text {
    line-height: 1.6;
    color: #d6c7c7;
    transition: opacity 0.3s ease;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

    .proposte-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .polaroid-stack {
        width: 280px;
        min-height: 380px;
    }

    .polaroid {
        width: 100%;
    }

    .proposte-descrizione {
        max-width: 100%;
    }
}

/* ========================
   SLIDESHOW BIRRE (FIX SIZE)
========================= */
.section-slideshow {
    display: flex;
    gap: 60px;
    padding: 80px 8%;
    background: linear-gradient(180deg, #2b0b0b 0%, #1a0505 100%);
    color: #f4e0e0;
}

.slideshow-container {
    max-width: 500px;
    width: 100%;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
}

.slide img {
    width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: cover;
}

/* INGRANDIMENTO SOLO DESKTOP */
@media (min-width: 769px) {

    .section-slideshow {
        gap: 90px;
        padding: 100px 8%;
    }

    .slideshow-container {
        max-width: 720px;
    }

    .slide img {
        max-height: 520px;
    }

    .section-slideshow .content h1 {
        font-size: 2.6rem;
    }

    .section-slideshow .content p {
        font-size: 1.15rem;
        line-height: 1.6;
        max-width: 480px;
    }
}

/* =========================
   VIDEO
========================= */
.section-video.cinematic {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px 8%;
    min-height: 100vh;
    background: #000;
}

.section-video.cinematic .video-wrapper {
    flex: 1 1 55%;
    max-width: 650px;
}

.section-video.cinematic .video-container {
    position: relative;
    width: 100%;
    margin: 0;
}

.section-video.cinematic .video-element {
    display: block;
    width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: cover;
    border-radius: 10px;
}

.section-video.cinematic .content {
    flex: 1 1 40%;
    max-width: 480px;
    color: #f4e0e0;
}

@media (max-width: 768px) {

    .section-video.cinematic {
        flex-direction: column;
        text-align: center;
        min-height: auto;
        padding: 60px 6%;
    }

    .section-video.cinematic .video-wrapper,
    .section-video.cinematic .content {
        max-width: 100%;
    }

    .section-video.cinematic .video-element {
        max-height: 50vh;
    }
}

/* =========================
   CHI SIAMO
========================= */
.about.section-lights {
    background: linear-gradient(180deg, #3a0f0f 0%, #1a0505 100%);
    color: #f2e6e6;
    padding: 80px 8%;
}

.about-container {
    max-width: 1200px;
    margin: auto;
}

.about-header {
    text-align: center;
    margin-bottom: 50px;
}

.about-header h1 {
    font-size: 2.4rem;
    line-height: 1.3;
}

.about-header h1 span {
    color: #ffcc66;
}

.about-grid {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1 1 55%;
}

.about-text p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #d6c7c7;
}

.about-highlight {
    margin-top: 10px;
    padding: 20px;
    background: rgba(255, 204, 102, 0.08);
    border-left: 3px solid #ffcc66;
    border-radius: 6px;
}

.about-highlight h3 {
    color: #ffcc66;
    margin-bottom: 10px;
}

.about-highlight p {
    margin-bottom: 0;
    color: #f2e6e6;
}

.about-highlight strong {
    color: #ffcc66;
}

.about-image {
    flex: 1 1 40%;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

@media (max-width: 768px) {

    .about-grid {
        flex-direction: column;
        text-align: center;
    }

    .about-header h1 {
        font-size: 1.9rem;
    }
}

/* =========================
   CONTATTI
========================= */
.contact.section-lights {
    background: linear-gradient(180deg, #2b0b0b 0%, #1a0505 100%);
    color: #f2e6e6;
    padding: 80px 8%;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h1 {
    font-size: 2.4rem;
    color: #ffcc66;
}

.contact-header p {
    color: #d6c7c7;
    margin-top: 10px;
}

.contact-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.contact-info {
    flex: 1 1 40%;
}

.contact-info h2 {
    color: #ffcc66;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.info-box {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.info-item h3 {
    color: #ffcc66;
    font-size: 1.1rem;
    margin-bottom: 6px;
}

.info-item p {
    color: #d6c7c7;
    line-height: 1.6;
}

.cta-phone {
    margin-bottom: 10px;
}

.btn-call {
    display: inline-block;
    background: #ffcc66;
    color: #1a0505;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.25s ease, background 0.25s ease;
}

.btn-call:hover {
    background: #fff;
    transform: translateY(-2px);
}

.map-wrapper {
    flex: 1 1 55%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    background: #1a0505;
}

.map-wrapper iframe {
    width: 100%;
    height: 400px;
    display: block;
    border: 0;
}

.cta-map {
    text-align: center;
    padding: 15px;
}

@media (max-width: 768px) {

    .contact-container {
        flex-direction: column;
        text-align: center;
    }

    .info-box {
        align-items: center;
    }

    .contact-header h1 {
        font-size: 1.9rem;
    }
}

/* =========================
   DESCRIPTION
========================= */
.description-container {
    padding: 80px 8%;
    background: linear-gradient(180deg, #2b0b0b 0%, #1a0505 100%);
    color: #f2e6e6;
    text-align: center;
}

/* =========================
   FOOTER (FIX)
========================= */
.footer {
    background: #2b0000;
    color: white;
    padding: 60px 0 20px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.footer-section {
    flex: 1;
    min-width: 220px;
    text-align: center;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-top: 8px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
}

/* =========================
   METEO
========================= */
.meteo-wrapper-global {
    width: 100%;
    background: #2b0000;
    border-top: 1px solid rgba(255, 204, 102, 0.15);
    border-bottom: 1px solid rgba(255, 204, 102, 0.15);
}

.meteo-footer-bar {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 8%;
}

.meteo-inline-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #f2e6e6;
    font-size: 0.95rem;
}

.meteo-label {
    color: #ffcc66;
    font-weight: 600;
    white-space: nowrap;
}

.meteo-value {
    display: inline-block;
    font-weight: bold;
    color: #fff;
    background: rgba(255, 204, 102, 0.12);
    border: 1px solid rgba(255, 204, 102, 0.3);
    padding: 4px 14px;
    border-radius: 20px;
    min-width: 60px;
    text-align: center;
}

.host-inline-credits {
    font-size: 0.85rem;
}

.host-footer-link {
    color: #d6c7c7;
    text-decoration: none;
    opacity: 0.75;
    transition: opacity 0.25s ease, color 0.25s ease;
}

.host-footer-link:hover {
    color: #ffcc66;
    opacity: 1;
}

@media (max-width: 768px) {

    .meteo-footer-bar {
        flex-direction: column;
        text-align: center;
        padding: 16px 6%;
    }
}

/* =========================
   MOBILE FIX COMPLETO
========================= */
@media (max-width: 768px) {

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 75%;
        height: 100vh;
        background: #451414;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transform: translateX(100%);
        opacity: 0;
    }

    .hero-proposte {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .proposte-descrizione {
        order: 1;
    }

    .polaroid-stack {
        min-height: 420px;
        height: auto;
    }

    .polaroid {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 240px;
    }

    .polaroid-arrow {
        width: 34px;
        height: 34px;
    }

    .polaroid-arrow-prev {
        left: 0;
    }

    .polaroid-arrow-next {
        right: 0;
    }

    .section-slideshow {
        flex-direction: column;
        text-align: center;
    }

    .footer-container {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
}