.nav-menu a {
  font-weight: bold;
  font-size: large;
}

.image-container img {
  max-width: 540px;
}


.img-tour-virtuale {
  will-change: transform; 
  animation: pulseLoop 2.5s ease-in-out infinite;
}


@keyframes pulseLoop {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
  100% {
    transform: scale(1);
  }
}

.img-tour-virtuale:hover {
    filter: sepia(1) hue-rotate(355deg) saturate(3) opacity(0.9);
}

.revelation-box strong, .climax-quote cite, #oggi .route-list strong, #oggi h3 {
  color: #ffcb00 !important;
}

.hero-title {
  text-shadow: 8px 8px 10px rgb(0, 0, 0);
}

.nav-logo-text {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: normal;
}

.nav-logo-image {
  max-height: 82px;
  float: left;
  margin-right: 12px;
}

.hr-section-divider {
  border: none;               
  height: 2px;                
  background-color: #e0d3c5;
  margin: 30px 0;            
  opacity: 1;                 
}

.book-cover-1494 {
  max-height: 500px !important;
  max-width: 100% !important;
  width: auto !important;
}

.footer a {
  color: #fff;
}
.footer a:hover {
  color: bisque;
}

.clickable-image {
    cursor: zoom-in;
    max-width: 100%;
}

/* Overlay */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);

    justify-content: center;
    align-items: center;
}

/* Immagine ingrandita */
.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
}

/* Pulsante chiusura */
.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    cursor: pointer;
}

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 0.75rem 1.25rem;
    background: #fffbf2dd;
    border-top: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.06);
    font-family: inherit;
}

#cookie-banner-btn {
    display: flex; 
    gap: 8px; 
    flex-shrink: 0;
}

#cookie-banner-btn a {
        font-size: 13px;
        padding: 7px 14px;
        border-radius: 6px;
        border: 1px solid #ccc;
        background: transparent;
        color: #555;
        text-decoration: none;
        white-space: nowrap;
}

#cookie-banner-btn button {
        font-size: 13px;
        padding: 7px 18px;
        border-radius: 6px;
        border: 1px solid #aaa;
        background: #f5f5f5;
        color: #222;
        cursor: pointer;
        white-space: nowrap;
        font-weight: 500;
}

/* Mobile responsive per nav-top */
@media (max-width: 1100px) {
    .nav-logo {
        display: flex;
        align-items: center;
        max-width: calc(100% - 60px);
    }
}


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

    .nav-logo-image {
        max-height: 40px;
        margin-right: 6px;
    }

    .nav-logo-text {
        font-size: 1.4rem;
        line-height: 1;
    }

    /* Sezioni con altezza automatica invece di 100vh */
    .section {
        min-height: 50vh;
        padding: 4rem 1rem;
    }

    .hero-section {
        min-height: 100vh;
    }

    /* Assicura visibilità sezioni */
    .image-section,
    .content-section,
    .verde-section,
    .sepia-section {
        display: block;
        opacity: 1;
        visibility: visible;
    }

    /* Immagini responsive */
    .image-container {
        margin: 2rem 0;
    }

    .image-container img {
        max-width: 100% !important;
        height: auto;
        display: block;
    }

    /* Testo più compatto su mobile */
    .content-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    h2 {
        font-size: 1.8rem !important;
        margin-bottom: 1rem;
    }

    h3 {
        font-size: 1.4rem !important;
        margin-top: 1.5rem;
    }

    /* Container più compatto */
    .container-wide {
        padding: 0;
    }
}