:root {
    --color-terra: #8B4513;
    --color-mare: #4682B4;
    --color-verde: #2E8B57;
    --color-sabbia: #F5DEB3;
    --color-bianco: #FFFFFF;
    --color-grigio: #F5F5F5;
}

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

body {
    line-height: 1.6;
    color: #3a5187;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

h1, h2, h3, h4, h5, h6 {
    color: #3a5187;
}

main, .territorio, .benvenuti, .contatti, .suite, .servizi {
    flex: 1 0 auto;
    background-color: #ffffff;
    position: relative;
    z-index: 1;
}

/* Header e Navigazione */
header {
    background-color: #1e1d1a;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    width: 100%;
    z-index: 1000;
    margin-bottom: 0;
    padding-bottom: 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    background-color: #1e1d1a;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--color-terra);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1002;
}

.logo-img {
    display: block;
    width: 200px;
    height: 200px;
    object-fit: contain;
    position: static;
    left: unset;
    transform: none;
    z-index: auto;
}





.nav-menu {
    display: flex;
    list-style: none;
    margin-left: auto;
}

    .nav-menu li a {
        text-decoration: none;
        color: #ffffff;
        padding: 0.5rem 0.9rem;
        transition: color 0.3s ease;
        font-family: 'Arial', sans-serif;
        font-size: 1.2rem;
        transform: translateY(-1px);
    }

.nav-menu li a:hover {
    color: #e0b84c;
}

.nav-flags-item {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: 2rem;
    margin-right: 20px;
    margin-top: 0;
}

.nav-flag-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
    height: 100%;
    margin: 0;
    padding: 0;
}

.nav-flag-link:hover {
    transform: scale(1.1);
}

.nav-flag {
    width: 27px;
    height: 27px;
    border-radius: 50%;
    border: 2px solid #e0b84c;
    box-shadow: 0 2px 8px rgba(224, 184, 76, 0.2);
    transition: all 0.3s ease;
    vertical-align: middle;
    display: block;
    margin: 0;
    padding: 0;
    object-fit: cover;
    transform: translateY(-2px);
}

.nav-flag-link:hover .nav-flag {
    border-color: #d4a017;
    box-shadow: 0 4px 16px rgba(224, 184, 76, 0.3);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('hero-bg.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-bianco);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Suite Section */
.suite {
    padding: 5rem 5%;
    background-color: var(--color-grigio);
}

.suite-container {
    max-width: 1200px;
    margin: 0 auto;
}

.suite-card {
    background: var(--color-bianco);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

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

.suite-info {
    padding: 2rem;
}

.suite-info ul {
    list-style: none;
    margin-top: 1rem;
}

.suite-info ul li {
    margin: 0.5rem 0;
}

.suite-info ul li i {
    color: var(--color-mare);
    margin-right: 0.5rem;
}

/* Servizi Section */
.servizi {
    background: var(--color-grigio);
    padding: 4rem 0;
}
.servizi-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.servizi-title {
    text-align: center;
    color: #e0b84c;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2.5rem;
}
.servizi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}
.servizio-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    padding: 2.5rem 1.5rem 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.servizio-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 8px 24px rgba(0,0,0,0.13);
}
.servizio-card i {
    font-size: 3.2rem;
    color: #e0b84c !important;
    margin-bottom: 1.2rem;
}
.servizio-card h3, .servizio-card p {
    color: #3a5187;
}
.servizio-card h3 {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 0.7rem;
}
.servizio-card p {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.22rem;
}
@media (max-width: 1000px) {
    .servizi-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 700px) {
    .servizi {
        padding: 2.5rem 0;
    }
    .servizi-title {
        font-size: 2rem;
    }
    .servizi-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .servizio-card {
        padding: 1.5rem 0.7rem 1.2rem 0.7rem;
    }
    .servizio-card i {
        font-size: 2.2rem;
    }
    .servizio-card h3 {
        font-size: 1.2rem;
    }
    .servizio-card p {
        font-size: 1rem;
    }
}

/* Natura Section */
.natura {
    padding: 5rem 5%;
    background-color: var(--color-grigio);
}

.natura-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.natura-card {
    background: var(--color-bianco);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

/* Contatti Section */
.contatti {
    padding: 5rem 5%;
    background-color: rgba(249, 246, 242, 0.8);
    padding-bottom: 1.2rem;
    backdrop-filter: blur(2px);
}

.contatti-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input, textarea {
    padding: 1rem;
    border: 1px solid var(--color-grigio);
    border-radius: 5px;
}

button {
    background-color: #e0b84c;
    color: #fff;
    padding: 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-weight: bold;
    font-size: 1rem;
}

button:hover {
    background-color: #e0b84c;
    color: #fff;
}

.info-contatti {
    padding: 2rem;
    background: var(--color-grigio);
    border-radius: 10px;
}

.info-contatti p {
    color: #3a5187;
    font-size: 1.05rem;
    font-family: 'Times New Roman', Times, serif;
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-contatti i {
    color: #e0b84c !important;
    margin-right: 0.5rem;
}

/* Sezione Benvenuti */
.benvenuti-welcome {
    padding: 4rem 5%;
    background-color: transparent;
    text-align: center;
    position: relative;
    z-index: 1;
}

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

.welcome-title {
    color: #e0b84c;
    font-size: 2.8rem;
    font-weight: bold;
    margin-bottom: 1rem;
    font-family: 'Didot', 'Bodoni MT', 'Times New Roman', Times, serif;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.welcome-line1 {
    display: inline;
    line-height: 1.1;
    font-family: 'Didot', 'Bodoni MT', 'Times New Roman', Times, serif;
}

.welcome-line2 {
    display: inline;
    line-height: 1.1;
    font-family: 'Didot', 'Bodoni MT', 'Times New Roman', Times, serif;
}

/* Contenitore immagine benvenuti */
.welcome-image-container {
    margin-top: 2rem;
    text-align: center;
}

.welcome-image {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    object-fit: cover;
    transition: none;
}

/* Desktop: immagine più grande */
@media (min-width: 1000px) {
    .welcome-image {
        max-width: 800px;
        width: 100%;
        max-height: 400px;
        height: auto;
        border-radius: 0;
        box-shadow: none;
        object-fit: cover;
    }
    
    .welcome-image-container {
        margin-top: 3rem;
    }
}

.welcome-image:hover {
    transform: none;
    box-shadow: none;
}

/* Descrizione benvenuti */
.welcome-description {
    margin-top: 2.5rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}

.welcome-text {
    color: #333333;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-family: 'Times New Roman', Times, serif;
    text-align: justify;
}

.welcome-text:last-child {
    margin-bottom: 0;
}

/* Titolo recensioni */
.reviews-title {
    text-align: center;
    color: #e0b84c;
    font-size: 2.5rem;
    font-weight: bold;
    margin-top: 3rem;
    margin-bottom: 3rem;
    font-family: 'Didot', 'Bodoni MT', 'Times New Roman', Times, serif;
}

/* Grid recensioni */
.recensioni-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    justify-items: center;
    justify-content: center;
}

/* Desktop: tre card sulla stessa riga */
@media (min-width: 1000px) {
    .recensioni-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        justify-items: center;
        justify-content: center;
    }
    
    .recensione-card {
        min-width: 380px;
        padding: 0.8rem;
    }
}

/* Tablet e iPad (768px-1024px) */
@media (max-width: 1024px) and (min-width: 768px) {
    .recensioni-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        max-width: 800px;
    }
    
    .recensione-card {
        min-width: 320px;
        padding: 1rem;
    }
}

/* Mobile e dispositivi piccoli (≤767px) */
@media (max-width: 767px) {
    .recensioni-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        max-width: 500px;
        padding: 0 1rem;
    }
    
    .recensione-card {
        min-width: 280px;
        padding: 0.8rem;
    }
}

/* Card recensione */
.recensione-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(224, 184, 76, 0.1);
}

.recensione-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
    border-color: rgba(224, 184, 76, 0.3);
}

/* Header recensione */
.recensione-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 0.5rem;
}

/* Stelle recensione */
.recensione-stelle {
    display: flex;
    gap: 0.3rem;
}

.recensione-stelle i {
    color: #ffd700 !important;
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 4px rgba(255, 215, 0, 0.3));
}

.recensione-stelle .fa-star {
    color: #ffd700 !important;
}



/* Testo recensione */
.recensione-testo {
    color: #333333;
    font-size: 1rem;
    line-height: 1.4;
    font-family: 'Times New Roman', Times, serif;
    text-align: justify;
    margin: 0 0 0.6rem 0;
    font-style: italic;
}

/* Autore recensione */
.recensione-autore {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.recensione-autore strong {
    color: #222222;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Didot', 'Bodoni MT', 'Times New Roman', Times, serif;
}

.recensione-autore span {
    color: #666666;
    font-size: 0.9rem;
    font-family: 'Times New Roman', Times, serif;
}

/* Indicatore di scorrimento */
.scroll-indicator {
    width: 80px;
    height: 6px;
    background: linear-gradient(90deg, #e0b84c 0%, #d4a017 50%, #e0b84c 100%);
    margin: 2.5rem auto 0 auto;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(224, 184, 76, 0.3);
    position: relative;
    overflow: hidden;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.welcome-subtitle {
    color: #444;
    font-size: 1.5rem;
    font-family: 'Didot', 'Bodoni MT', 'Times New Roman', Times, serif;
    margin: 0;
    opacity: 0.9;
}

/* Estendi Times New Roman a più elementi */
.claim-text {
    font-family: 'Times New Roman', Times, serif;
}

.territorio h2,
.contatti h2,
.suite h2,
.servizi h2 {
    font-family: 'Times New Roman', Times, serif;
}

.territorio p,
.contatti p,
.suite p,
.servizi p {
    font-family: 'Times New Roman', Times, serif;
}

@media (max-width: 700px) {
    .benvenuti-welcome {
        padding: 3rem 0;
    }
    
    .welcome-title {
        font-size: clamp(2.2rem, 7vw, 3rem);
        flex-direction: row;
        gap: 0.3rem;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    
    .welcome-line1,
    .welcome-line2 {
        display: inline;
    }
    
    .welcome-subtitle {
        font-size: 1.2rem;
    }
    
    .welcome-image-container {
        margin-top: 1.5rem;
        margin-left: 0;
        margin-right: 0;
        padding: 0;
    }
    
    .welcome-image {
        max-width: 100%;
        width: 100vw;
        max-height: 250px;
        height: auto;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        border-radius: 0;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .welcome-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        flex-direction: row;
        gap: 0.2rem;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }
    
    .welcome-line1,
    .welcome-line2 {
        display: inline;
    }
    
    .welcome-subtitle {
        font-size: 1.1rem;
    }
    
    .welcome-image-container {
        margin-top: 1rem;
    }
    
    .welcome-image {
        width: 100vw;
        max-width: 100vw;
        max-height: 200px;
        height: auto;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        object-fit: cover;
    }
    
    .recensioni-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
        width: calc(100% - 2rem);
        justify-items: center;
    }
    
    .recensioni-grid::-webkit-scrollbar {
        display: none;
    }
    
    .recensione-card {
        min-width: 280px;
        max-width: 300px;
        padding: 1.5rem;
        flex-shrink: 0;
        scroll-snap-align: center;
        margin: 0 auto;
    }
    
    .reviews-title {
        font-size: 2rem;
        margin-top: 2rem;
        margin-bottom: 2rem;
    }
}

/* Footer */
footer {
    background-color: #333333;
    color: #ffffff;
    text-align: center;
    padding: 0;
    overflow: auto;
    margin-top: auto;
    position: relative;
    z-index: 2;
    clear: both;
    flex-shrink: 0;
}

/* Footer principale con contatti e social */
.footer-main {
    background-color: #333333;
    color: #ffffff;
    padding: 2rem 5%;
    margin-top: 0;
}

.footer-contact-info {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    padding: 0;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
}

.contact-item i {
    color: #e0b84c !important;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
}

.contact-item a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: #e0b84c;
}

.footer-social {
    text-align: center;
    margin-top: 0;
    align-self: flex-end;
}

.footer-social a {
    color: #e0b84c !important;
    font-size: 1.5rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: #e0b84c;
}

/* Footer bottom con copyright e crediti */
.footer-bottom {
    background-color: #ffffff;
    color: #333333;
    padding: 1rem 5%;
    text-align: center;
}

.footer-legal {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-copyright {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.footer-credits {
    font-size: 0.9rem;
}

.bewpot-link {
    text-decoration: none;
    color: inherit;
}

/* Responsive per mobile */
@media (max-width: 700px) {
    .footer-main {
        padding: 1.5rem 1rem;
    }
    
    .footer-contact-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .contact-item {
        font-size: 0.9rem;
    }
    
    .footer-social {
        text-align: center;
        margin-top: 1rem;
    }
    
    .footer-bottom {
        padding: 1rem;
    }
}

/* Benvenuti Section */
.benvenuti {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(1px);
}

.benvenuti-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(2px);
}

.benvenuti h2 {
    color: #e0b84c;
    font-size: 2.9rem;
    margin-top: 1.1rem;
    margin-bottom: 0.7rem;
}

.proprietari {
    margin: 3rem 0;
}

.proprietari img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    aspect-ratio: 16/9;
    object-fit: cover;
}

.img-proprietari {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    aspect-ratio: 16/9;
    object-fit: cover;
}

.descrizione {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
    line-height: 1.8;
}

.descrizione p {
    margin-bottom: 1.5rem;
    color: #3a5187;
    font-size: 1.22rem;
    font-family: 'Times New Roman', Times, serif;
}

.descrizione p:last-child {
    margin-bottom: 0;
}

.benvenuti-container .descrizione p {
    text-align: justify;
}

/* Responsive Design */
@media (max-width: 768px) {

    .hero-content h1 {
        font-size: 2rem;
    }

    .contatti-container {
        grid-template-columns: 1fr;
    }

    .benvenuti h2 {
        color: #e0b84c;
        font-size: 1.5rem;
        margin-top: 1.1rem;
        margin-bottom: 0.5rem;
    }

    .descrizione {
        padding: 0 1rem;
    }

    .descrizione p {
        font-size: 1rem;
    }

    .proprietari img {
        max-height: none;
        width: 100%;
        height: auto;
        aspect-ratio: 16/9;
        object-fit: cover;
    }
}

/* Main Gallery Styles */
.main-gallery-container {
    margin: 3rem auto 0 auto;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}
.main-image-box {
    width: 100%;
    aspect-ratio: 4/3;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.main-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: box-shadow 0.3s;
}
.thumbs-row {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
    justify-content: center;
}
.thumbs-arrow-overlay {
    position: relative;
    width: 48px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.thumbs-arrow-left::before,
.thumbs-arrow-right::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48px;
    border-radius: 8px;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}
.thumbs-arrow-left::before {
    left: 0;
}
.thumbs-arrow-right::before {
    right: 0;
}
.thumbs-btn {
    position: relative;
    background: none;
    color: #fff;
    border: none;
    width: 48px;
    height: 70px;
    border-radius: 8px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s, opacity 0.2s;
    opacity: 1;
    margin: 0;
}
.thumbs-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 70px;
    border-radius: 8px;
    background: rgba(0,0,0,0.35);
    z-index: -1;
}
.thumbs-btn:active {
    background: none;
}
.thumbs-wrapper {
    overflow: hidden;
    flex: 1;
}
.thumbs-track {
    display: flex;
    gap: 0.5rem;
    transition: transform 0.4s cubic-bezier(.77,0,.18,1);
}
.thumbs-track img {
    width: 90px;
    height: 65px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    opacity: 0.7;
    border: 2px solid transparent;
    transition: opacity 0.2s, border 0.2s, transform 0.2s;
}
.thumbs-track img.active,
.thumbs-track img:hover {
    opacity: 1;
    border: 2px solid var(--color-mare);
    transform: scale(1.05);
}
@media (max-width: 700px) {
    .main-gallery-container {
        max-width: 98vw;
    }
    .main-image-box {
        border-radius: 10px;
    }
    .thumbs-track img {
        width: 60px;
        height: 45px;
        border-radius: 6px;
    }
    .thumbs-arrow-overlay {
        width: 32px;
        height: 45px;
    }
    .thumbs-btn {
        width: 32px;
        height: 45px;
        font-size: 1.3rem;
    }
    .thumbs-btn::before {
        width: 32px;
        height: 45px;
        border-radius: 6px;
    }
}

/* Frecce galleria principale */
.main-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.18);
    color: #fff;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s, background 0.2s;
    z-index: 3;
}
.main-arrow:hover {
    background: rgba(0,0,0,0.35);
}
.main-image-box:hover .main-arrow {
    opacity: 1;
}
.prev-arrow {
    left: 16px;
}
.next-arrow {
    right: 16px;
}
@media (max-width: 700px) {
    .main-arrow {
        width: 32px;
        height: 32px;
        font-size: 1.3rem;
    }
    .prev-arrow { left: 4px; }
    .next-arrow { right: 4px; }
}

.thumbnails-slide {
    display: none;
    gap: 0.5rem;
    justify-content: center;
}
.thumbnails-slide.active {
    display: flex;
}
.thumbnails-slide img {
    width: 90px;
    height: 65px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    cursor: pointer;
    opacity: 0.7;
    border: 2px solid transparent;
    transition: opacity 0.2s, border 0.2s, transform 0.2s;
}
.thumbnails-slide img.active,
.thumbnails-slide img:hover {
    opacity: 1;
    border: 2px solid var(--color-mare);
    transform: scale(1.05);
}
@media (max-width: 700px) {
    .thumbnails-slide img {
        width: 60px;
        height: 45px;
        border-radius: 6px;
    }
}

/* Sezione Territorio */
.territorio {
    padding: 5rem 5% 3rem 5%;
    background-color: rgba(249, 246, 242, 0.8);
    backdrop-filter: blur(2px);
}
.territorio-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.territorio h2 {
    color: #e0b84c;
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}
.territorio p {
    color: #3a5187;
    font-size: 1.22rem;
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 2.5rem;
    text-align: justify;
}
.btn-scopri {
    display: inline-block;
    background: #e0b84c;
    color: #fff;
    padding: 0.9rem 2.2rem;
    border-radius: 30px;
    font-size: 1.1rem;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border: none;
    transition: background 0.2s, color 0.2s;
}
.btn-scopri:hover {
    background: #e0b84c;
    color: #fff;
    transform: none;
}
@media (max-width: 700px) {
    .territorio {
        padding: 3rem 2% 2rem 2%;
    }
    .territorio h2 {
        font-size: 1.5rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .territorio p {
        font-size: 1rem;
    }
}

@media (min-width: 701px) {
    .suite-servizi-container {
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
    }
    .servizi-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 1.2rem 1.5rem;
        max-width: 700px;
        margin: 2rem auto 0 auto;
        padding: 0;
        list-style: none;
        margin-left: 40px;
    }
    .servizi-list li {
        flex: 0 1 45%;
        min-width: 250px;
        margin-bottom: 0.7rem;
        text-align: left;
    }
    .suite-servizi-container h2 {
        text-align: center;
    }
    .servizio-card p {
        text-align: center;
    }
    .suite-description-container p {
        text-align: center;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }
    .contatti h2 {
        text-align: center;
        margin-top: 0.5rem;
        margin-bottom: 2.5rem;
    }
    .proprietari img {
        max-width: 800px;
        height: auto;
        aspect-ratio: 16/9;
        object-fit: cover;
    }
}

.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    background: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.3rem;
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
    transition: background 0.2s, transform 0.2s;
    text-decoration: none;
    border: 3px solid #25d366;
}
.whatsapp-float i {
    color: #fff !important;
}
.whatsapp-float:hover {
    background: #1ebe57;
    transform: scale(1.08);
    color: #fff;
    border-color: #1ebe57;
}
@media (max-width: 700px) {
    .whatsapp-float {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
        right: 12px;
        bottom: 12px;
    }
}

.img-apertura-container {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 65vh;
    overflow: hidden;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-top: 3px solid #e0b84c;
    box-shadow: 0 2px 8px rgba(224, 184, 76, 0.3);
    z-index: 1;
}

.img-apertura {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.img-apertura-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
    z-index: 1;
    height: 100%;
}

@media (max-width: 700px) {
    .img-apertura-container {
        margin: 0;
        padding: 0;
        height: auto;
        width: 100%;
        overflow: hidden;
        position: relative;
        box-sizing: border-box;
        z-index: 1;
        min-height: 200px;
        max-height: 250px;
    }
    .img-apertura {
        height: auto;
        width: 100%;
        object-fit: cover;
        margin: 0;
        padding: 0;
        position: relative;
        z-index: 1;
        max-height: 250px;
    }
    .img-apertura-container::after {
        content: '';
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.45);
        pointer-events: none;
        z-index: 1;
        height: 100%;
    }
}
@media (max-width: 480px) {
    .img-apertura-container {
        margin: 0;
        padding: 0;
        height: auto;
        width: 100%;
        overflow: hidden;
        position: relative;
        box-sizing: border-box;
        z-index: 1;
        min-height: 150px;
        max-height: 200px;
    }
    .img-apertura {
        height: auto;
        width: 100%;
        object-fit: cover;
        margin: 0;
        padding: 0;
        position: relative;
        z-index: 1;
        max-height: 200px;
    }
    .img-apertura-container::after {
        content: '';
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        background: rgba(0, 0, 0, 0.45);
        pointer-events: none;
        z-index: 1;
        height: 100%;
    }
}


.spacer-header {
    height: 80px;
    margin: 0;
    padding: 0;
}
@media (max-width: 700px) {
    .spacer-header {
        height: 60px;
        margin: 0;
        padding: 0;
    }
}

.carousel-image-box {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    background: #fff;
    min-height: 220px;
}
.suite-slide {
    width: 100%;
    max-width: 600px;
    height: 350px;
    max-height: 50vh;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    background: #fff;
}
@media (max-width: 700px) {
    .carousel-image-box {
        max-width: 100vw;
        min-height: 120px;
        background: none;
        border-radius: 0;
        box-shadow: none;
    }
    .suite-slide {
        max-width: 100vw;
        height: 180px;
        max-height: 30vh;
        border-radius: 0;
        background: none;
        object-fit: contain;
    }
    .suite-carousel-title {
        margin-top: 1.5rem;
    }
}

.carousel-btns-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
}

.suite-carousel-title,
.servizi-title,
.suite-servizi-container h2 {
    color: #e0b84c;
    font-family: 'Didot', 'Bodoni MT', 'Times New Roman', Times, serif;
}

.suite-subtitle {
    color: #666666;
    font-size: 1.1rem;
    font-family: 'Didot', 'Bodoni MT', 'Times New Roman', Times, serif;
    text-align: center;
    margin: 0 0 2rem 0;
    line-height: 1.4;
}

@media (max-width: 700px) {
    .suite-carousel-title {
        margin-top: 1.5rem;
        font-size: 1.8rem;
    }
}

.suite-description-container p {
    text-align: justify;
}

@media (max-width: 700px) {
    .suite-description-container p {
        padding-left: 1.2rem;
        padding-right: 1.2rem;
    }
}

.suite-servizi-container h2 {
    text-align: center;
}



/* Colore icone FontAwesome */
.fa,
.fas,
.fab {
    color: #3a5187 !important;
}

.img-territorio-contrasto {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 4/3;
    display: block;
    margin: 1.2rem auto 1.2rem auto;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
    object-fit: cover;
}

#main-gallery-image {
    max-width: 520px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 16px;
    aspect-ratio: 4/3;
    object-fit: cover;
}

@media (max-width: 700px) {
    #main-gallery-image {
        max-width: 98vw;
        aspect-ratio: 4/3;
        border-radius: 16px;
    }
}

.contatti h2 {
    text-align: center !important;
    color: #e0b84c !important;
    margin-top: -2.5rem;
    font-size: 2rem;
    margin-bottom: 1.2rem;
}

@media (max-width: 700px) {
    .info-contatti {
        margin-top: 2.2rem;
    }
    .info-contatti p {
        margin: 0.5rem 0;
        font-size: 0.95rem;
        white-space: nowrap;
        overflow-x: auto;
        text-overflow: ellipsis;
        word-break: normal;
    }
    .social-contatti {
        margin-top: 1rem !important;
    }
    .social-contatti a {
        font-size: 2.6rem !important;
    }
    .mappa-contatti iframe {
        height: 300px !important;
    }
}

.social-contatti span {
    color: #3a5187 !important;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.22rem;
    font-weight: normal;
}

@media (min-width: 901px) {
    nav {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0.5rem 2%;
        max-width: 1200px;
        margin: 0 auto;
        height: 105px;
        overflow: hidden;
    }
    .logo, .logo-img {
        position: static;
        left: unset;
        transform: none;
        margin: 0;
        display: block !important;
        text-align: left;
        width: 88px;
        height: 88px;
        object-fit: contain;
        z-index: auto;
    }
    .nav-menu {
        flex-direction: row;
        justify-content: flex-end;
        width: auto;
        margin: 0;
        padding: 0;
        border-top: none;
    }
    .nav-menu li {
        margin: 0 1rem;
    }
}

.suite-carousel-title {
    text-align: center;
}

/* Stili per le sezioni delle camere */
.camere-content {
    padding: 4rem 5%;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
}

.camere-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e0b84c, #d4a017, #e0b84c);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.camere-container {
    max-width: 700px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    position: relative;
}

.camera-section {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    transform-style: preserve-3d;
}

.camera-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(224, 184, 76, 0.05), rgba(255, 255, 255, 0.1), rgba(224, 184, 76, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.camera-section:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border-color: #e0b84c;
}

.camera-section:hover::before {
    opacity: 1;
}

.camera-title {
    color: #e0b84c;
    font-size: 1.8rem;
    font-weight: bold;
    text-align: center;
    margin: 0;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    font-family: 'Didot', 'Bodoni MT', 'Times New Roman', Times, serif;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-bottom: 3px solid transparent;
    background-clip: padding-box;
    position: relative;
    z-index: 2;
}

.camera-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #e0b84c, #d4a017);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.camera-section:hover .camera-title::after {
    width: 100px;
}

.camera-images {
    padding: 1.5rem;
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
    position: relative;
    z-index: 2;
}

.camera-main-img {
    width: 100%;
    max-width: 500px;
    height: 280px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    display: block;
    margin: 0 auto 1rem auto;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.camera-main-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.camera-main-img:hover::before {
    left: 100%;
}

.camera-main-img:hover {
    transform: scale(1.03) rotateY(1deg);
    box-shadow: 0 12px 36px rgba(0,0,0,0.2);
}

.camera-thumbnails {
    display: flex;
    gap: 0.6rem;
    overflow-x: auto;
    padding: 0.4rem 0;
    justify-content: center;
    flex-wrap: wrap;
    scrollbar-width: thin;
    scrollbar-color: #e0b84c #f0f0f0;
    position: relative;
}

.camera-thumbnails::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(224, 184, 76, 0.3), transparent);
}

.camera-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.camera-thumbnails::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 3px;
}

.camera-thumbnails::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #e0b84c, #d4a017);
    border-radius: 3px;
}

.camera-thumb {
    width: 60px;
    height: 44px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.7;
    position: relative;
    overflow: hidden;
}

.camera-thumb::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(224, 184, 76, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.camera-thumb:hover,
.camera-thumb.active {
    opacity: 1;
    border-color: #e0b84c;
    transform: scale(1.08) rotateY(2deg);
    box-shadow: 0 4px 16px rgba(224, 184, 76, 0.4);
}

.camera-thumb:hover::before,
.camera-thumb.active::before {
    opacity: 1;
}

.camera-description {
    padding: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    position: relative;
    z-index: 2;
}

.camera-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(224, 184, 76, 0.2), transparent);
}

.camera-description p {
    color: #333333;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
    font-family: 'Times New Roman', Times, serif;
    text-align: justify;
    position: relative;
    padding-left: 1rem;
}

.camera-description p::before {
    content: '♪';
    position: absolute;
    left: -1rem;
    color: #e0b84c;
    font-size: 1.1rem;
    opacity: 0.7;
}

/* Responsive per tablet */
@media (max-width: 1024px) {
    .camere-content {
        padding: 2.5rem 3%;
    }
    
    .camere-container {
        gap: 2rem;
    }
    
    .camera-title {
        font-size: 1.6rem;
        padding: 1.3rem 1.3rem 0.8rem 1.3rem;
    }
    
    .camera-main-img {
        height: 280px;
        max-width: 450px;
    }
    
    .camera-thumb {
        width: 60px;
        height: 44px;
    }
}

/* Responsive per mobile */
@media (max-width: 768px) {
    .camere-content {
        padding: 2rem 1rem;
    }
    
    .camere-container {
        gap: 1.8rem;
    }
    
    .camera-section {
        border-radius: 12px;
        margin: 0 0.5rem;
    }
    
    .camera-title {
        font-size: 1.5rem;
        padding: 1.2rem 1rem 0.8rem 1rem;
    }
    
    .camera-images {
        padding: 1.2rem;
    }
    
    .camera-main-img {
        height: 240px;
        max-width: 100%;
        border-radius: 10px;
    }
    
    .camera-thumbnails {
        gap: 0.5rem;
        justify-content: center;
        padding: 0.3rem 0;
        flex-wrap: wrap;
        max-width: 100%;
    }
    
    .camera-thumb {
        width: 55px;
        height: 40px;
        border-radius: 5px;
        flex: 0 0 auto;
    }
    
    /* Layout mobile: 3 thumbnail per riga */
    .camera-thumbnails {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
        justify-items: center;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .camera-description {
        padding: 1.2rem;
    }
    
    .camera-description p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

/* Responsive per schermi molto piccoli */
@media (max-width: 480px) {
    .camere-content {
        padding: 1.5rem 0.5rem;
    }
    
    .camere-container {
        gap: 1.5rem;
    }
    
    .camera-title {
        font-size: 1.4rem;
        padding: 1rem 0.8rem 0.6rem 0.8rem;
    }
    
    .camera-images {
        padding: 1rem;
    }
    
    .camera-main-img {
        height: 200px;
        border-radius: 8px;
    }
    
    .camera-thumbnails {
        gap: 0.4rem;
    }
    
    .camera-thumb {
        width: 48px;
        height: 35px;
        border-radius: 4px;
    }
    
    .camera-description {
        padding: 1rem;
    }
    
    .camera-description p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* Sezione Da sapere */
.da-sapere {
    padding: 4rem 5%;
    background-color: #f8f9fa;
}

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

.da-sapere-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.da-sapere-title {
    color: #333333;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-family: 'Didot', 'Bodoni MT', 'Times New Roman', Times, serif;
}

.da-sapere-subtitle {
    color: #666666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-family: 'Times New Roman', Times, serif;
}

.btn-disponibilita {
    background-color: #007bff;
    color: #ffffff;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.3);
}

.btn-disponibilita:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.da-sapere-content {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.08);
    overflow: hidden;
}

.info-card {
    padding: 2rem;
}

.info-card p {
    color: #333333;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-family: 'Times New Roman', Times, serif;
    text-align: justify;
}

.info-card p:last-child {
    margin-bottom: 0;
}

.info-card strong {
    color: #007bff;
    font-weight: 600;
}

/* Responsive per mobile */
@media (max-width: 768px) {
    .da-sapere {
        padding: 2.5rem 1rem;
    }
    
    .da-sapere-title {
        font-size: 2rem;
    }
    
    .da-sapere-subtitle {
        font-size: 1rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .info-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

@media (min-width: 1000px) {
    .img-apertura-container {
        height: 75vh;
    }
    .logo-img {
        width: 192px;
        height: 192px;
    }
    body .suite-carousel-title {
        font-size: 2.8rem !important;
        margin-top: 2rem;
        margin-bottom: 0.5rem;
        text-align: center;
        color: #e0b84c;
    }
    
    /* Mantieni altezza originale su desktop */
    .img-apertura {
        height: 100%;
        position: absolute;
    }
}

@media (min-width: 1000px) {
    .benvenuti h2 {
        font-size: 2rem;
        margin-bottom: 1.2rem;
    }
    .territorio h2 {
        font-size: 2rem;
        margin-bottom: 1.2rem;
    }
    .contatti h2 {
        font-size: 2rem;
        margin-bottom: 1.2rem;
    }
    .img-territorio-contrasto {
        max-width: 700px;
    }
    .contatti-testo-social {
        flex: 1 1 0;
    }
    .mappa-contatti {
        flex: 1 1 0;
        min-width: 300px;
        max-width: 400px;
    }
    .contatti-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        max-width: 100vw;
        width: 100%;
        margin: 0 auto;
        gap: 0;
    }
    form,
    .info-contatti.only-desktop {
        width: 100%;
        max-width: 900px;
        margin: 0 auto;
        background: var(--color-bianco);
        box-shadow: 0 4px 18px rgba(0,0,0,0.07);
        border-radius: 16px;
        padding: 2.5rem 2rem;
        box-sizing: border-box;
    }
    .info-contatti.only-desktop {
        margin-top: 3rem;
    }
    .mappa-contatti {
        flex: 1 1 0;
        max-width: 500px;
        min-width: 300px;
        margin: 0 0 0 2.5rem;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }
    .mappa-contatti iframe {
        width: 100%;
        height: 300px;
        min-width: 250px;
        border-radius: 12px;
        margin-top: 0;
        display: block;
    }
    .info-contatti > .mappa-contatti {
        margin: 0 0 0 2.5rem;
        max-width: 500px;
    }
    .info-contatti > .social-contatti {
        margin-top: 2rem !important;
        text-align: center;
    }
    .info-contatti p {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 1.22rem;
        margin: 1.1rem 0 1.1rem 0;
        color: #3a5187;
        font-family: 'Times New Roman', Times, serif;
        width: auto;
        max-width: 100%;
    }
    .contatti-row-sotto {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
        gap: 3rem;
        width: 100%;
        max-width: 1200px;
        margin: 2.5rem auto 0 auto;
    }
    .contatti-row-sotto .info-contatti {
        flex: 1 1 0;
        max-width: 420px;
        padding: 2rem;
        background: var(--color-grigio);
        border-radius: 10px;
        margin: 0;
    }
    .contatti-row-sotto .mappa-contatti {
        flex: 1 1 0;
        max-width: 500px;
        min-width: 300px;
        margin: 0 0 0 2.5rem;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }
    .contatti-row-sotto .mappa-contatti iframe {
        width: 100%;
        height: 300px;
        min-width: 250px;
        border-radius: 12px;
        margin-top: 0;
        display: block;
    }
    .contatti-row-sotto {
        display: none !important;
    }
    .info-contatti.only-desktop .mappa-contatti {
        width: 100%;
        max-width: none;
        margin: 2rem 0 0 0;
        display: block;
    }
    .info-contatti.only-desktop .mappa-contatti iframe {
        width: 100%;
        min-width: 0;
        max-width: 100%;
        border-radius: 12px;
        height: 300px;
        display: block;
    }
    .info-contatti.only-desktop p {
        width: 100%;
        max-width: 100%;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 1.22rem;
        margin: 1.1rem 0;
        color: #3a5187;
        font-family: 'Times New Roman', Times, serif;
    }
}
@media (max-width: 999px) {
    .contatti-container {
        display: flex;
        flex-direction: column;
        gap: 2.5rem;
    }
}

.only-mobile {
    display: block;
}
@media (min-width: 1000px) {
    .only-mobile {
        display: none !important;
    }
}

.only-desktop {
    display: none;
}
@media (min-width: 1000px) {
    .only-desktop {
        display: block !important;
    }
}

@font-face {
    font-family: 'Dune Rise';
    src: url('font/Dune_Rise.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.bewpot-font, .bewpot-font * {
    font-family: 'Dune Rise', Arial, sans-serif !important;
}

/* Stili per il Blog */
.blog-posts {
    padding: 3rem 5%;
    background-color: var(--color-grigio);
}

.blog-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.blog-post {
    background: var(--color-bianco);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    transition: transform 0.3s ease;
}

.blog-post:hover {
    transform: translateY(-5px);
}

.blog-post h3 {
    color: #e0b84c;
    font-size: 1.5rem;
    padding: 1.5rem 1.5rem 1rem 1.5rem;
    margin: 0;
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.blog-post p {
    color: #3a5187;
    font-size: 1.1rem;
    line-height: 1.6;
    padding: 1rem 1.5rem 1.5rem 1.5rem;
    margin: 0;
    font-family: 'Times New Roman', Times, serif;
}

@media (max-width: 700px) {
    .blog-posts {
        padding: 2rem 1rem;
    }
    
    .blog-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .blog-post h3 {
        font-size: 1.3rem;
        padding: 1.2rem 1.2rem 0.8rem 1.2rem;
    }
    
    .blog-image {
        height: 180px;
    }
    
    .blog-post p {
        font-size: 1rem;
        padding: 0.8rem 1.2rem 1.2rem 1.2rem;
    }
}

/* Priorità: regola aggiornata per .newsletter-img-custom come da style.css */
.newsletter-img-custom {
    max-width: 320px;
    max-height: 320px;
    object-fit: cover;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

/* Limita la larghezza delle card della newsletter e le centra */
.newsletter-section .card {
    max-width: 700px;
    margin: 2rem auto;
}

/* --- INIZIO STILI DA style.css --- */
/* Custom styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.navbar-brand {
    font-weight: bold;
}

.nav-link {
    font-weight: 500;
}

.nav-link:hover {
    color: #fff !important;
}

/* Admin board styles */
.admin-board {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
}

.message-card {
    background-color: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.message-actions {
    margin-top: 10px;
}

/* Login form styles */
.login-form {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Newsletter card custom layout */
.newsletter-card-custom {
    border-radius: 16px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    background: #fff;
}

.newsletter-img-custom {
    max-width: 320px;
    max-height: 320px;
    object-fit: cover;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

@media (max-width: 991px) {
    .newsletter-img-custom {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
        max-height: 220px;
    }
    .newsletter-card-custom .card-body {
        margin-left: 0 !important;
    }
}

.newsletter-card-custom .card-body {
    margin-left: 32px;
    margin-right: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
} 
/* --- FINE STILI DA style.css --- */

.text-center.mb-5 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.newsletter-section h2 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 700px) {
  .newsletter-img-custom {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    float: none !important;
  }
}

.newsletter-section .card-text {
    text-align: justify;
}

.luogo-visita {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.img-luogo {
    width: 100%;
    max-width: 600px;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.1);
}

.descrizione-luogo {
    max-width: 600px;
    text-align: center;
}

.descrizione-luogo h3 {
    color: #e0b84c;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.descrizione-luogo p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.descrizione-luogo p + p {
    margin-top: 0.5rem;
}

@media (max-width: 700px) {
    .luogo-visita {
        margin: 1.5rem 0;
    }
    
    .img-luogo {
        max-width: 100%;
        height: 300px;
        border-radius: 8px;
    }
    
    .descrizione-luogo h3 {
        font-size: 1.4rem;
    }
    
    .descrizione-luogo p {
        margin-bottom: 0.8rem;
        line-height: 1.5;
    }
    
    .descrizione-luogo p + p {
        margin-top: 0.3rem;
    }
}

.lista-spiagge {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 0.5rem 0;
    text-align: left;
}

.lista-spiagge li {
    color: #3a5187;
    font-size: 1.1rem;
    margin: 0.3rem 0;
    font-family: 'Times New Roman', Times, serif;
}

@media (max-width: 700px) {
    .lista-spiagge {
        padding-left: 1rem;
    }
    .lista-spiagge li {
        font-size: 1rem;
    }
}

.territorio-title-row {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    justify-content: center;
    margin-bottom: 1.2rem;
}
.flag-link {
    color: #3a5187;
    text-decoration: none;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.flag-icon {
    font-size: 1.3em;
}
@media (max-width: 700px) {
    .territorio-title-row {
        gap: 0.4rem;
        margin-bottom: 0.7rem;
    }
    .flag-link {
        font-size: 1rem;
    }
    .flag-icon {
        font-size: 1em;
    }
}

.flags-mobile-menu {
    display: none;
}
@media (max-width: 700px) {
    .flags-mobile-menu {
        display: flex !important;
        gap: 0.5rem;
        align-items: center;
        justify-content: flex-end;
        width: 100%;
        padding-right: 0;
        padding-left: 3rem;
    }
}



.flags-lang-center {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    margin-bottom: 1.2rem;
    min-height: 44px;
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 2.2rem;
}
.flag-lang-responsive {
    border-radius: 6px;
    border: 2px solid #e0b84c;
    box-shadow: 0 2px 8px rgba(224,184,76,0.10), 0 1px 4px rgba(0,0,0,0.08);
    transition: box-shadow 0.2s, transform 0.2s, border 0.2s;
    background: #fff;
    width: 38px;
    height: 26px;
    object-fit: cover;
    opacity: 0.97;
}
.flag-lang-responsive:hover {
    box-shadow: 0 4px 16px rgba(224,184,76,0.18), 0 2px 8px rgba(0,0,0,0.10);
    transform: scale(1.08);
    border: 2.5px solid #e0b84c;
    opacity: 1;
}
@media (max-width: 700px) {
    .flags-lang-center {
        gap: 8px;
    }
    .flag-lang-responsive {
        width: 22px;
        height: 15px;
        border-radius: 4px;
        border-width: 1.5px;
    }
}


  
  
  


.claim-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 90%;
    max-width: 800px;
}

@media (min-width: 701px) {
    .claim-overlay {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
}

.claim-text {
    color: #ffffff;
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
    margin: 0;
    font-family: 'Times New Roman', Times, serif;
}

@media (max-width: 900px) {
    .claim-text {
        font-size: 2.8rem;
        line-height: 1.2;
    }
}

@media (max-width: 700px) {
    .claim-text {
        font-size: 2.2rem;
        line-height: 1.3;
        padding: 0 1rem;
    }
    .claim-overlay {
        width: 95%;
        top: 35%;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .claim-text {
        font-size: 1.8rem;
        line-height: 1.4;
        padding: 0 0.8rem;
    }
    .claim-overlay {
        width: 98%;
        top: 30%;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 360px) {
    .claim-text {
        font-size: 1.5rem;
        line-height: 1.5;
        padding: 0 0.5rem;
    }
    .claim-overlay {
        width: 100%;
        top: 25%;
        left: 50%;
        transform: translateX(-50%);
    }
}

/* COMPORTAMENTO MOBILE UNIFICATO - Logo sopra, menu sotto */
@media (max-width: 999px) {
    /* Forza il footer in fondo */
    body {
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        overflow-x: hidden;
    }
    
    main {
        flex: 1;
        overflow: hidden;
        position: relative;
        height: auto;
        min-height: auto;
    }
    
    footer {
        margin-top: auto;
        position: relative;
        z-index: 2;
        flex-shrink: 0;
    }
    
    /* Header mobile: logo sopra, menu sotto */
    nav {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0.3rem 4% !important;
        position: relative !important;
        height: auto !important;
        min-height: auto !important;
        gap: 0.2rem !important;
    }
    
    .logo-img {
        display: block !important;
        position: static !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        margin: 0 auto !important;
        width: 200px !important;
        height: 200px !important;
        object-fit: contain !important;
        z-index: auto !important;
    }
    
    .nav-menu {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background-color: transparent !important;
        z-index: auto !important;
        transform: none !important;
        right: auto !important;
        top: auto !important;
        left: auto !important;
        inset: auto !important;
        transition: none !important;
        flex-wrap: wrap !important;
        gap: 0.2rem !important;
    }
    
    .nav-menu li {
        margin: 0 !important;
        display: block !important;
    }
    
    .nav-menu li.nav-flags-item {
        display: flex !important;
        flex-direction: row !important;
        gap: 2px !important;
        align-items: center !important;
        margin: 0 !important;
        flex-wrap: nowrap !important;
    }
    
    .nav-menu li a {
        font-size: 0.85rem !important;
        padding: 0.2rem 0.5rem !important;
        color: #ffffff !important;
        display: block !important;
        text-decoration: none !important;
    }
    
    .nav-flags-item {
        display: flex !important;
        flex-direction: row !important;
        gap: 2px !important;
        align-items: center !important;
        margin: 0 !important;
        margin-top: 0 !important;
        flex-wrap: nowrap !important;
    }
    
    .nav-flag {
        width: 24px !important;
        height: 24px !important;
        border-radius: 50% !important;
        border: 2px solid #e0b84c !important;
        box-shadow: 0 2px 8px rgba(224, 184, 76, 0.2) !important;
        transition: all 0.3s ease !important;
        vertical-align: middle !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        object-fit: cover !important;
        transform: translateY(-2px) !important;
    }
}

/* Schermi molto piccoli - riduci leggermente le dimensioni */
@media (max-width: 480px) {
    .logo-img {
        width: 100px !important;
        height: 100px !important;
    }
    
    .nav-menu li a {
        font-size: 0.9rem !important;
        padding: 0.4rem 0.7rem !important;
    }
    
    .nav-flags-item {
        margin-left: 1rem !important;
    }
    
    .nav-flag {
        width: 24px !important;
        height: 24px !important;
    }
    
    /* Forza immagine a stare nel viewport su schermi piccoli */
    .img-apertura-container {
        max-height: 200px !important;
        overflow: hidden !important;
    }
    
    .img-apertura {
        max-height: 200px !important;
        overflow: hidden !important;
    }
}

/* Evita scroll orizzontale e immagini oversize su mobile */
html, body { 
    min-height: 100%; 
    overflow-x: hidden; 
}

/* Bandiere sopra l'immagine principale */
.flags-above-image {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 1rem 0;
    background-color: rgba(30, 29, 26, 0.9);
    backdrop-filter: blur(5px);
}

.flag-above-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.flag-above-link:hover {
    transform: scale(1.1);
}

.flag-above {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #e0b84c;
    box-shadow: 0 2px 8px rgba(224, 184, 76, 0.3);
    transition: all 0.3s ease;
    object-fit: cover;
}

.flag-above-link:hover .flag-above {
    border-color: #d4a017;
    box-shadow: 0 4px 16px rgba(224, 184, 76, 0.4);
}

/* iOS: niente background fixed (causa glitch) */
@media (max-width: 999px) {
    body { 
        background-color: #ffffff !important;
        overflow-x: hidden !important;
        position: relative !important;
        min-height: 100vh !important;
    }
    
    /* Forza contenuto a stare nel viewport */
    .img-apertura-container,
    .benvenuti-welcome,
    footer {
        max-width: 100vw;
        overflow: hidden;
    }
    
    /* Assicura che le bandiere siano sempre visibili su mobile */
    .flags-above-image {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 100 !important;
        position: relative !important;
    }
    
    /* Assicura che l'immagine non causi overflow */
    .img-apertura {
        max-width: 100vw;
        max-height: 100vh;
        height: auto;
        width: 100%;
    }
    
    /* Forza il contenuto a stare nel viewport */
    .img-apertura-container {
        height: auto !important;
        max-height: 250px !important;
        overflow: hidden !important;
        position: relative !important;
        z-index: 1 !important;
    }
    
    .img-apertura {
        height: auto !important;
        max-height: 250px !important;
        position: relative !important;
        z-index: 1 !important;
        overflow: hidden !important;
    }
    
    /* Bandiere più piccole su mobile */
    .flags-above-image {
        padding: 0.8rem 0;
        gap: 12px;
    }
    
    .flag-above {
        width: 28px;
        height: 28px;
    }
}

/* Desktop: mantieni altezza originale */
@media (min-width: 1000px) {
    .img-apertura-container {
        height: 65vh;
    }
    
    .img-apertura {
        height: 100%;
        position: absolute;
    }
}



