: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;
}

h1, h2, h3, h4, h5, h6 {
    color: #3a5187;
}

main, .territorio, .benvenuti, .contatti, .suite, .servizi {
    flex: 1 0 auto;
}

/* Header e Navigazione */
header {
    background-color: var(--color-bianco);
    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: 2.4rem 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    min-height: 144px;
    background-color: #542b31;
}

.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: none;
    max-width: 150px;
    height: auto;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.hamburger {
    display: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001;
    margin-left: auto;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-bianco);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin-left: auto;
    z-index: 10;
    position: relative;
}

.nav-menu li a {
    text-decoration: none;
    color: var(--color-bianco);
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
    font-family: 'Arial', sans-serif;
    font-size: 1.5rem;
}

.nav-menu li a:hover {
    color: var(--color-sabbia);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('hero-bg.jpg');
    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: #E6C88A;
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2.5rem;
}
.servizi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}
.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);
        max-width: 600px;
    }
}
@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: var(--color-bianco);
    padding-bottom: 1.2rem;
}

.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: #E6C88A;
    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: #E6C88A;
    color: #fff;
}

.form-group label {
    color: #542b31;
}

.info-contatti {
    padding: 2rem;
    background: var(--color-grigio);
    border-radius: 10px;
}

.info-contatti p {
    color: #542b31;
    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;
}

/* Footer */
footer {
    background-color: #f9f6f2;
    color: var(--color-terra);
    text-align: center;
    padding: 0.1rem 0 0.3rem 0;
    overflow: auto;
    margin-top: 0;
}

.footer-col-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    display: block;
    margin: 0 1.2rem 0 1.2rem;
    max-width: 170px;
    height: auto;
    float: none;
}

.footer-copyright {
    text-align: center;
    margin-top: 0.5rem;
}

/* Benvenuti Section */
.benvenuti {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    background-color: var(--color-bianco);
}

.benvenuti-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.benvenuti h2 {
    color: #E6C88A;
    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;
}

.video-proprietari {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.1);
}

.descrizione {
    max-width: 800px;
    margin: 0 auto;
    text-align: justify;
    line-height: 1.8;
}

.descrizione p {
    margin-bottom: 1.5rem;
    color: #542b31;
    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) {
    .hamburger {
        display: block;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--color-bianco);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu li {
        margin: 1.5rem 0;
    }

    .nav-menu li a {
        font-size: 1.5rem;
        color: #542b31;
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s ease;
    }

    .nav-menu li a:hover {
        color: #E6C88A;
    }

    .close-menu {
        display: none;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 24px;
        cursor: pointer;
        color: var(--color-terra);
        z-index: 1001;
    }

    .nav-menu.active .close-menu {
        display: block;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .contatti-container {
        grid-template-columns: 1fr;
    }

    .benvenuti h2 {
        color: #E6C88A;
        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;
    }
    
    .video-proprietari {
        max-width: 80%;
        height: auto;
        border-radius: 8px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.15);
        margin: 0 auto;
        display: block;
    }
    
    .proprietari {
        padding: 0 20px;
    }
}

/* 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: var(--color-grigio);
}
.territorio-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}
.territorio h2 {
    color: #E6C88A;
    font-size: 3.2rem;
    margin-bottom: 1.5rem;
}
.territorio p {
    color: #542b31;
    font-size: 1.22rem;
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 2.5rem;
    text-align: justify;
}
.btn-scopri {
    display: inline-block;
    background: #E6C88A;
    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: #E6C88A;
    color: #fff;
    transform: none;
}
@media (max-width: 700px) {
    .territorio {
        padding: 3rem 2% 2rem 2%;
    }
    .territorio h2 {
        font-size: 1.5rem;
    }
    .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;
    }
}



.img-apertura {
    width: 100vw;
    max-width: 100%;
    height: 70vh;
    object-fit: cover;
    display: block;
    margin-top: 0;
    padding-top: 0;
}
@media (max-width: 700px) {
    .img-apertura {
        height: 25vh;
        margin: 0;
        padding: 0;
    }
}

.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: #E6C88A;
}

@media (max-width: 700px) {
    .suite-carousel-title {
        margin-top: 1.5rem;
    }
}

.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;
}

@media (max-width: 700px) {
    .logo {
        display: none;
    }
    .logo-img {
        display: block !important;
        max-width: 150px;
        height: auto;
        margin-top: 1.5rem;
        margin-bottom: 1.5rem;
        padding-top: 0;
        padding-bottom: 0;
    }
    nav {
        min-height: 120px;
        padding: 1.8rem 5%;
        background-color: #542b31;
    }
}

/* 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: #E6C88A !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: #542b31 !important;
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.22rem;
    font-weight: normal;
}

@media (min-width: 901px) {
    nav {
        flex-direction: column;
        align-items: center;
        padding: 1rem 0 0.5rem 0;
        max-width: 100%;
    }
    .logo, .logo-img {
        position: static;
        left: unset;
        transform: scale(1.3);
        margin-bottom: 1.5rem;
        display: block !important;
        text-align: center;
        max-width: 180px;
    }
    .nav-menu {
        flex-direction: row;
        justify-content: center;
        width: 100%;
        margin-left: 0;
        margin-top: 0;
        padding: 0.84rem 0;
        border-top: 1px solid #e0e0e0;
    }
    .nav-menu li {
        margin: 0 1.5rem;
    }
}

.suite-carousel-title {
    text-align: center;
}

@media (min-width: 1000px) {
    body .suite-carousel-title {
        font-size: 2.2rem !important;
        margin-top: 7rem;
        margin-bottom: 2.2rem;
        text-align: center;
        color: #E6C88A;
    }
}

@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: #542b31;
        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: #542b31;
        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;
}

.suite-description p {
    color: #542b31;
}

/* 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;
}

.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: #E6C88A;
    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;
    }
}

.close-menu-x {
    display: none;
}
@media (max-width: 700px) {
  .close-menu-mobile {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    z-index: 2001;
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .close-menu-x {
    display: block;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: #3a5187;
    cursor: pointer;
    line-height: 1;
    padding: 0;
  }
  .nav-menu {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #fff;
    z-index: 2000;
  }
}

.logo-menu-mobile {
    display: none;
}
@media (max-width: 700px) {
  .logo-menu-mobile {
    display: block;
    text-align: center;
    margin-bottom: 1.2rem;
    margin-top: 0.1rem;
  }
  .logo-menu-mobile img {
    max-width: 120px;
    height: auto;
    display: inline-block;
  }
}

@media (min-width: 769px) {
  .close-menu {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .close-menu {
    display: none;
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-terra);
    z-index: 1001;
  }
  .nav-menu.active .close-menu {
    display: block;
  }
}

.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;
    }
}

@media (min-width: 700px) and (max-width: 999px) {
    nav {
      flex-direction: row;
      justify-content: space-between;
      align-items: center;
      padding: 1.8rem 5%;
      position: relative;
      min-height: 132px;
      background-color: #542b31;
    }
  
    .logo-img {
      display: block !important;
      position: relative;
      left: auto;
      right: auto;
      transform: none;
      margin: 0 auto;
      max-width: 150px;
      height: auto;
    }
  
    .nav-menu {
      display: none; /* Nasconde menu orizzontale */
      flex-direction: column;
      align-items: center;
      justify-content: center;
      position: fixed;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100vh;
      background-color: var(--color-bianco);
      transition: left 0.3s ease;
      z-index: 2000;
    }
  
    .nav-menu.active {
      display: flex;
      left: 0;
    }
  
    .nav-menu li {
      margin: 1.5rem 0;
    }
  
    .nav-menu li a {
      font-size: 1.5rem;
      color: var(--color-bianco);
    }
  
    .hamburger {
      display: block;
      position: absolute;
      right: 5%;
      top: 50%;
      transform: translateY(-50%);
      z-index: 2001;
    }
  
    .close-menu {
      display: block;
      position: absolute;
      top: 1rem;
      right: 1rem;
      font-size: 2rem;
      color: #3a5187;
      cursor: pointer;
      z-index: 2002;
    }
  }
  
  @media (min-width: 700px) and (max-width: 768px) {
    .close-menu {
      display: none !important;
    }
  }
  
  
  
  


