* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Archivo', sans-serif;
    overflow: auto; /* Evita scroll della pagina */
}

.cky-revisit-bottom-left {
bottom: 85px !important;
}

/* --- TOP BAR --- */
.top-bar {
    background-color: #CAA247;
    height: 35px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 10;
}

.marquee {
    white-space: nowrap;
    display: inline-block;
    animation: marquee 60s linear infinite;
}

.marquee span {
    color: white;
    font-weight: 900; /* Archivo Black */
    font-size: 15px;
    text-transform: uppercase;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* --- HERO SECTION & SLIDER --- */
.hero-section {
    position: relative;
    height: calc(100vh - 35px - 60px); /* Full height meno topbar e footer */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
}

#slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out; /* Effetto dissolvenza */
}

.slide.active {
    opacity: 1;
}

/* --- CONTENUTO CENTRALE --- */
.main-content {
    position: relative;
    z-index: 5;
    text-align: center;
}

.main-logo {
    width: 400px;
    max-width: 80%;
    margin-bottom: 30px;
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.btn {
    text-decoration: none;
    font-weight: 900;
    font-size: 16px;
    padding: 12px 20px;
    width: 150px;
    border: 2px solid #161715;
    color: white;
    position: relative;
    box-shadow: 5px -5px 0px 0px #161715; /* Ombra rigida come da allegato */
    transition: transform 0.1s;
}

.btn:active {
    transform: translate(3px, 3px);
    box-shadow: 3px 3px 0px #161715;
}

.btn:hover {
    opacity: 0.8;
}

.btn-menu { background-color: #873022; }
.btn-prenota { background-color: #ABA16F; }

/* --- FRECCE --- */
.prev-btn, .next-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: white;
    font-size: 40px;
    cursor: pointer;
    z-index: 10;
    padding: 20px;
    opacity: 0.7;
}

.prev-btn:hover, .next-btn:hover {
    opacity: 1;
}

.prev-btn { left: 20px; }
.next-btn { right: 20px; }

/* --- FOOTER GENERALE --- */
.footer {
    height:  60px;
    background-color: #873022;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    color: white;
    font-family: 'Archivo', sans-serif;
    position: relative;
    z-index: 10;
}

/* --- DESKTOP (Default) --- */
.footer-left {
    text-align: left;
}

.footer-left strong {
    font-weight: 800;
    font-size: 16px;
    display: block; /* Nome su riga 1 */
}

.footer-left span, .footer-left a {
    font-weight: 400;
    font-size: 14px;
    color: white;
    text-decoration: none;
}

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

.footer-right {
    display: flex;
    flex-direction: row; /* Icone affiancate su desktop */
    gap: 15px;
}

.social-icon {
    width: 35px;
    height: 35px;
    border: 1px solid white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.social-icon:hover {
    opacity: 0.5;
}

/* Cookie */

div.cky-btn-revisit-wrapper.cky-revisit-bottom-left {
    width:  25px !important;
    height:  25px !important;
    background-color: #873022 !important;
}
    #cky-policy-container a {
        color: #873022;
    }
    .cookie-page-header {
        width: 100%;
        height: 200px;
        background: url('img/d1.jpg') no-repeat center center; 
        background-size: cover;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .cookie-page-header img {
        max-height: 150px; /* Logo centrato con un po' di margine */
        width: auto;
    }

    .cookie-content {
        background-color: #ffffff; /* Sfondo bianco */
        color: #333333; /* Testo scuro per leggibilità */
        padding: 60px 20px;
        line-height: 1.6;
        font-family: 'Archivo', sans-serif;
    }

    .container-small {
        max-width: 800px;
        margin: 0 auto;
    }

    .cookie-content h1 {
        margin-bottom: 30px;
        text-transform: uppercase;
        font-weight: 900;
    }

    .cookie-content p {
        margin-bottom: 20px;
    }

/* --- MOBILE (Media Query) --- */
@media (max-width: 768px) {
    .footer {
        height: 80px;
        padding: 15px 20px;
        flex-direction: row; /* Mantiene allineamento orizzontale testo/icone */
    }

    .footer-left {
        max-width: 80%;
    }

    /* Su mobile il testo va su 3 righe come da tuo screen precedente */
    .footer-left strong { font-size: 14px; }
    .footer-left span { font-size: 12px; display: block; } 

    .footer-right {
        flex-direction: column; /* Icone una sopra l'altra solo su mobile */
        gap: 8px;
    }

    .social-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .hero-section {
        height: calc(100vh - 35px - 80px);
    }

    .main-logo { width: 280px; }

    .cookie-page-header img {
        max-height: 80px;
    }
}