/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

body {
    font-family: 'Inter', sans-serif;    
    color: #222;
    background-color: #f7f7f7;
}

/* HERO / SLIDER */
.slider {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    background: #000;
}

.list {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    width: max-content;
    transition: transform 0.7s ease;
    will-change: transform;
    backface-visibility: hidden;
}

.list .item {
    width: 100vw;
    height: 100vh;
    flex-shrink: 0;
    backface-visibility: hidden;
}

.list img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(40%);
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 10px;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* CONTENUTO INTERNO */
.navbar-inner {
    width: 88%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 20px 0;

    transition: all 0.35s ease;
}

/* LOGO */
.logo {
    width: 180px;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 8px;
    border-radius: 6px;
    flex-shrink: 0;
    transition: 0.3s;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.lang-btn {
    border: 1px solid rgba(255, 255, 255, 0.75);
    background: rgba(0, 0, 0, 0.18);
    color: #fff;
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

.lang-btn:hover {
    background: rgba(0, 0, 0, 0.32);
}

.lang-btn.active {
    background: #009688;
    border-color: #009688;
}

/* MENU */
.navbar ul {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 1;
}

.navbar ul li {
    position: relative;
    white-space: nowrap;
}

.navbar ul li a {
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: 0.3s;
}

/* LINEA HOVER */
.navbar ul li::after {
    content: '';
    height: 2px;
    width: 0;
    background: #009688;
    position: absolute;
    left: 0;
    bottom: -6px;
    transition: 0.3s;
}

.navbar ul li:hover::after {
    width: 100%;
}

/* niente linea sotto CTA */
.navbar ul li:last-child::after {
    display: none;
}

/* =========================
   NAVBAR SCROLL (EFFETTO VETRO)
========================= */
.navbar.scrolled .navbar-inner {
    background-color: rgba(255, 255, 255, 0.72); /* più trasparente */
    backdrop-filter: blur(10px);

    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

    padding: 14px 20px;

    /* animazione più soft */
    transform: translateY(2px);
}

/* colori quando scrolli */
.navbar.scrolled ul li a {
    color: #333;
}

.navbar.scrolled .logo {
    background-color: transparent;
}

.navbar.scrolled .cta {
    color: #fff !important;
}

.navbar.scrolled .lang-btn {
    background: rgba(255, 255, 255, 0.75);
    color: #333;
    border-color: rgba(0, 0, 0, 0.12);
}

.navbar.scrolled .lang-btn:hover {
    background: rgba(255, 255, 255, 0.95);
}

.navbar.scrolled .lang-btn.active {
    background: #009688;
    border-color: #009688;
    color: #fff;
}

/* =========================
   CTA NAVBAR
========================= */
.cta {
    padding: 10px 18px;
    background-color: #009688;
    border-radius: 24px;
    color: #fff !important;
    transition: 0.3s;
}

.cta:hover {
    background-color: #00796b;
}

/* HERO CONTENT */
.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    width: 90%;
    z-index: 2;
}

.content h1 {
    font-size: 65px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.content p {
    margin: 20px auto 0;
    font-weight: 300;
    line-height: 28px;
    font-size: 18px;
    max-width: 760px;
}

.hero-buttons {
    margin-top: 25px;
}

/* BOTTONI HERO */
.btn {
    display: inline-block;
    width: 200px;
    padding: 15px 0;
    margin: 15px 10px;
    border-radius: 30px;
    text-align: center;
    font-weight: 500;
    text-decoration: none;
    color: #fff;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* bottone principale */
.btn {
    background-color: #009688;
}

/* bottone secondario */
.btn.secondary {
    background-color: transparent;
    border: 2px solid #fff;
}

/* hover principale */
.btn:hover {
    background-color: #00796b;
    transform: translateY(-2px);
}

/* hover secondario */
.btn.secondary:hover {
    background-color: #fff;
    color: #000;
}

.btn:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* FRECCE SLIDER */
.buttons {
    position: absolute;
    top: 45%;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
    z-index: 3;
}

.buttons button {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.28);
    color: #fff;
    border: none;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.buttons button:hover {
    background-color: rgba(255, 255, 255, 0.45);
}

/* DOTS */
.dots {
    position: absolute;
    bottom: 15px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 3;
}

.dots li {
    list-style: none;
    width: 10px;
    height: 10px;
    background: #fff;
    margin: 10px;
    border-radius: 50%;
    transition: 0.3s;
    cursor: pointer;
    opacity: 0.85;
}

.dots li.active {
    width: 25px;
    border-radius: 10px;
}

/* SEZIONI */
.section {
    padding: 80px 0;
    #servizi {
    background-color: #f7f7f7;
    }
}

.section-light {
    background-color: #ffffff;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-container.narrow {
    max-width: 850px;
}

.section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    text-align: center;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #1f1f1f;
}

.section-intro {
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.7;
    color: #666;
    font-size: 17px;
    text-align: center;
    font-weight: 300;
}

/* SERVIZI */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background-color: #ffffff;
    border-radius: 18px;
    padding: 30px 26px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: left;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.feature-card::before {
    content: "";
    display: block;
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, #009688, #00bfa5);    
    margin-bottom: 15px;
    border-radius: 2px;
}

/* effetto hover */
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 14px;
    color: #222;
    line-height: 1.3;
}

.feature-card p {
    color: #666;
    line-height: 1.7;
    font-size: 15px;
}

.feature-card-full {
    grid-column: 1 / -1;
    width: 100%;
}

/* GALLERY */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px;
    gap: 18px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background-color: #fff;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-view-all-container {
    display: flex;
    justify-content: center;
    margin-top: 50px;
    padding-bottom: 30px;
}

.btn-view-all {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, #009688, #00bfa5);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 150, 136, 0.2);
    border: none;
    cursor: pointer;
}

.btn-view-all:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 150, 136, 0.35);
}

/* DISPONIBILITÀ / CALENDARIO */
.calendar-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 20px;
}
.calendar-box {
    background-color: #fff;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-top: 20px;
}

.calendar-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 56px;
    margin-bottom: 20px;
}

.calendar-header-first {
    text-align: center;
}

.calendar-header-second {
    text-align: center;
}

.calendar-header h3 {
    font-size: 24px;
    color: #1f1f1f;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
}

.calendar-header .calendar-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.calendar-header-first .calendar-arrow {
    left: 0;
}

.calendar-header-second .calendar-arrow {
    right: 0;
}

.calendar-weekdays,
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.calendar-weekdays {
    margin-bottom: 12px;
}

.calendar-weekdays div {
    text-align: center;
    font-weight: 600;
    color: #666;
    font-size: 14px;
}

.day {
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 15px;
}

.day.available {
    background-color: #d4f1ed;
    color: #0a4a42;
    border: 1px solid #a8dcd5;
    font-weight: 500;
}

.day.booked {
    background-color: #d9d9d9;
    color: #666;
    text-decoration: line-through;
    border: 1px solid #b3b3b3;
    font-weight: 500;
}

.day.empty {
    background: transparent;
}

.day.selected {
    background-color: #0d5c54;
    color: #ffffff;
    border: 1px solid #0d5c54;
    font-weight: 700;
}

.day.selected.start,
.day.selected.end {
    background-color: #0d5c54;
    color: #ffffff;
    border: 2px solid #0d5c54;
    font-weight: 700;
    box-shadow: 0 0 0 2px rgba(13, 92, 84, 0.3);
}

.day.in-range {
    background-color: rgba(13, 92, 84, 0.2);
    color: #0d5c54;
    border: 1px solid rgba(13, 92, 84, 0.3);
}

.day.hover-range {
    background-color: rgba(13, 92, 84, 0.15);
    color: #0d5c54;
    border: 1px dashed rgba(13, 92, 84, 0.4);
}

.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
    flex-wrap: wrap;
    grid-column: span 2;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
    font-size: 14px;
}

.legend-color {
    width: 18px;
    height: 18px;
    border-radius: 6px;
    display: inline-block;
}

.legend-color.available {
    background-color: #d4f1ed;
    border: 1px solid #a8dcd5;
}

.legend-color.booked {
    background-color: #d9d9d9;
    border: 1px solid #b3b3b3;
}

.booking-contact-box {
    margin-top: 30px;
    text-align: center;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.booking-contact-box p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.calendar-arrow {
    width: 46px;
    height: 46px;
    border: 1px solid #0a4a42;
    border-radius: 50%;
    background-color: #0d5c54;
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(13, 92, 84, 0.28);
    cursor: pointer;
    font-size: 20px;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.calendar-arrow:hover {
    background-color: #0a4a42;
    box-shadow: 0 10px 22px rgba(10, 74, 66, 0.35);
}

/* RICHIESTA PRENOTAZIONE */
.booking-request-box {
    margin-top: 30px;
    text-align: center;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 35px 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.booking-request-box h3 {
    font-size: 22px;
    margin-bottom: 12px;
    color: #1f1f1f;
    letter-spacing: 1px;
}

.booking-request-box p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.booking-request-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.booking-request-form input,
.booking-request-form textarea {
    width: 100%;
    padding: 15px 16px;
    border: 1px solid #d9d9d9;
    border-radius: 14px;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    transition: 0.3s ease;
    background-color: #fff;
}

.booking-request-form input:focus,
.booking-request-form textarea:focus {
    border-color: #009688;
    box-shadow: 0 0 0 3px rgba(0, 150, 136, 0.08);
}

.booking-request-form textarea {
    min-height: 140px;
    resize: vertical;
    margin-bottom: 20px;
}

.request-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.request-actions .btn {
    border: none;
    cursor: pointer;
}

.request-actions .btn.secondary {
    border: 2px solid #009688;
    color: #009688;
    background-color: transparent;
}

.request-actions .btn.secondary:hover {
    background-color: #009688;
    color: #fff;
}

.form-success-message {
    margin-top: 20px;
    padding: 18px;
    background-color: #e8f7f4;
    border: 1px solid #bfe5dd;
    color: #0d5c54;
    border-radius: 12px;
    font-weight: 500;
    display: none;
}

/* FORM CALENDAR PICKER */
.form-calendar-container {
    margin: 25px 0;
}

.form-calendar-container label {
    display: block;
    text-align: left;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
    font-size: 14px;
}

.form-calendar-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 12px;
}

.form-calendar-box {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 15px;
}

.form-calendar-box h4 {
    text-align: center;
    font-size: 16px;
    color: #333;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.form-calendar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.form-calendar-arrow {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background-color: #fff;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 16px;
    transition: 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-calendar-arrow:hover {
    background-color: #e8f7f4;
    border-color: #009688;
    color: #009688;
}

.form-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
    margin-bottom: 10px;
}

.form-calendar-weekdays div {
    text-align: center;
    font-weight: 600;
    color: #666;
    font-size: 12px;
}

.form-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.form-calendar-grid .day {
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    border: 1px solid transparent;
}

.form-calendar-grid .day.available {
    background-color: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
    cursor: pointer;
    transition: 0.2s ease;
}

.form-calendar-grid .day.available:hover {
    background-color: #e8f7f4;
    border-color: #009688;
    color: #009688;
    transform: scale(1.05);
}

.form-calendar-grid .day.booked {
    background-color: #f0f0f0;
    color: #999;
    text-decoration: line-through;
    border: 1px solid #ddd;
    cursor: not-allowed;
}

.form-calendar-grid .day.selected {
    background-color: #009688;
    color: #fff;
    border: 1px solid #009688;
    font-weight: 700;
}

.form-calendar-grid .day.selected.start,
.form-calendar-grid .day.selected.end {
    background-color: #00796b;
    border: 2px solid #009688;
}

.form-calendar-grid .day.in-range {
    background-color: #d4e8e5;
    color: #0d5c54;
    border: 1px solid #afd9d3;
}

.form-calendar-grid .day.empty {
    background: transparent;
    border: none;
}

.form-calendar-selection {
    text-align: center;
    padding: 12px 0;
    font-size: 14px;
    color: #555;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
}

.form-calendar-selection span {
    font-weight: 600;
    color: #009688;
}

/* RECENSIONI */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.review-card {
    background-color: #fff;
    border-radius: 20px;
    padding: 30px 26px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
    text-align: left;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.1);
}

.review-stars {
    font-size: 18px;
    color: #009688;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.review-text {
    line-height: 1.8;
    color: #555;
    margin-bottom: 18px;
    font-style: italic;
    font-size: 15px;
}

.review-author {
    color: #222;
    font-weight: 600;
    font-size: 15px;
}

/* DOVE SIAMO */
.location-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: stretch;
}

.location-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.location-text p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 18px;
    font-size: 16px;
}

.location-info-box {
    background-color: #f8f8f8;
    border-radius: 18px;
    padding: 22px 20px;
    margin: 10px 0 22px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.location-info-box p {
    margin: 0;
    color: #333;
    line-height: 1.7;
}

.location-map {
    min-height: 460px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    background-color: #eee;
}

.location-map iframe {
    width: 100%;
    height: 100%;
    display: block;
}

/* CHI SIAMO */
.about-text {
    color: #555;
    line-height: 1.9;
    margin-bottom: 18px;
    font-size: 16px;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

/* FOOTER */
.footer {
    background-color: #1f1f1f;
    color: #ddd;
    padding-top: 50px;
}

.footer-container {
    width: 85%;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-col h3 {
    color: #fff;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 12px;
    font-size: 16px;
}

.footer-col p {
    line-height: 1.7;
    font-size: 14px;
    color: #ccc;
}

.footer-col a {
    color: #ccc;
    text-decoration: none;
}

.footer-col a:hover {
    color: #009688;
}

.footer-link {
    display: inline-block;
    margin-top: 10px;
    color: #009688;
    font-size: 14px;
}

.footer-link:hover {
    text-decoration: underline;
}

/* BOTTONI FOOTER */
.footer .btn {
    background-color: #25D366; /* verde WhatsApp */
    color: #fff;
    border: none;
    padding: 12px 22px;
    border-radius: 25px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
}

/* rimuove l'effetto span del bottone */
.footer .btn span {
    display: none;
}

.footer .btn:hover {
    background-color: #00796b;
}

/* parte sotto */
.footer-bottom {
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: #aaa;
}

/* SCROLL TO TOP */
#scrollTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    backdrop-filter: blur(6px);
    background-color: rgba(0, 150, 136, 0.9);   
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    display: none;
    z-index: 999;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

#scrollTopBtn:hover {
    background-color: #00796b;
    transform: translateY(-3px);
}

/* RESPONSIVE */
@media screen and (max-width: 992px) {
    .features-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 220px;
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }
    .content h1 {
        font-size: 48px;
    }
}

/* =========================
   MENU MOBILE TOGGLE
========================= */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    border-radius: 4px;
    transition: 0.3s;
}

.menu-toggle span {
    width: 24px;
    height: 3px;
    background-color: #fff;
    transition: 0.3s;
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* =========================
   MENU MOBILE
========================= */
#navMenu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
    flex: 1;
}

/* =========================
   RESPONSIVE MOBILE
========================= */
@media screen and (max-width: 768px) {
    .navbar {
        width: 95%;
        left: 2.5%;
        padding: 18px 0;
        flex-direction: column;
        gap: 12px;
    }

    .navbar.scrolled {
        padding: 10px 12px;
        transform: translateY(0);
    }

    .navbar.scrolled .navbar-inner {
        padding: 8px 12px;
        border-radius: 12px;
    }

    .navbar.scrolled .menu-toggle span {
        background-color: #333;
    }

    .logo {
        width: 110px;
    }

    .lang-switcher {
        margin-left: auto;
        margin-right: 8px;
    }

    .lang-btn {
        padding: 6px 10px;
        font-size: 11px;
    }

    .menu-toggle {
        display: flex;
    }

    #navMenu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        gap: 0;
        padding: 20px 0;
        border-radius: 0 0 20px 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.3s ease;
        z-index: 999;
    }

    #navMenu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    #navMenu li {
        width: 100%;
        text-align: center;
        margin: 8px 0;
    }

    #navMenu li a {
        display: block;
        padding: 12px 20px;
        color: #333;
        font-size: 16px;
        font-weight: 500;
        text-decoration: none;
        transition: 0.3s;
        border-radius: 8px;
        margin: 0 20px;
    }

    #navMenu li a:hover {
        background-color: rgba(0, 150, 136, 0.1);
        color: #009688;
    }

    #navMenu .cta {
        background-color: #009688;
        color: #fff !important;
        margin: 10px 20px;
        border-radius: 24px;
    }

    #navMenu .cta:hover {
        background-color: #00796b;
    }

    .navbar.scrolled #navMenu {
        background-color: rgba(255, 255, 255, 0.95);
    }

    .navbar.scrolled #navMenu li a {
        color: #333;
    }

    .navbar.scrolled #navMenu .cta {
        color: #fff !important;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
    }

    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .navbar ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .navbar ul li {
        margin: 8px 10px;
    }

    .navbar ul li a {
        font-size: 12px;
    }

    .content h1 {
        font-size: 34px;
        line-height: 1.2;
    }

    .content p {
        font-size: 15px;
        line-height: 24px;
    }

    .btn {
        width: 160px;
        padding: 12px 0;
        margin: 10px 6px;
        font-size: 14px;
    }

    .buttons {
        top: 48%;
    }

    .buttons button {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

    /* Nascondi frecce HERO sui dispositivi mobili */
    .buttons {
        display: none;
    }

    .section {
        padding: 70px 4%;
    }

    .section h2 {
        font-size: 30px;
    }

    .section-intro {
        font-size: 15px;
        margin-bottom: 30px;
    }

    .features-grid,
    .reviews-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid img {
        height: 250px;
    }

    .feature-card,
    .review-card,
    .location-box,
    .contacts-box,
    .booking-placeholder {
        padding: 24px 20px;
    }

    .calendar-weekdays div {
        font-size: 12px;
    }

    .day {
        height: 42px;
        font-size: 13px;
    }

    .calendar-box,
    .booking-contact-box {
        padding: 22px 16px;
    }

    .calendar-legend {
        gap: 15px;
    }

    .calendar-wrapper {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .calendar-box {
        width: 100% !important;
        margin-top: 0 !important;
    }

    .form-calendar-wrapper {
        grid-template-columns: 1fr;
    }

    .form-row {
    flex-direction: column;
    gap: 12px;
    }

    .booking-request-box {
        padding: 24px 18px;
    }

    .request-actions {
        flex-direction: column;
        align-items: center;
    }

    .request-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .location-layout {
    grid-template-columns: 1fr;
    gap: 22px;
    }

    .location-map {
        min-height: 320px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* PAGINA GRAZIE */
.thanks-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #f8f8f8 0%, #eef5f3 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thanks-section {
    width: 100%;
    padding: 60px 20px;
}

.thanks-card {
    max-width: 720px;
    margin: 0 auto;
    background-color: #ffffff;
    border-radius: 24px;
    padding: 50px 35px;
    text-align: center;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.thanks-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 25px;
    border-radius: 50%;
    background-color: #e8f7f4;
    color: #009688;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: bold;
}

.thanks-card h1 {
    font-family: 'Playfair Display', serif;
    font-size: 38px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1f1f1f;
    margin-bottom: 18px;
}

.thanks-card p {
    max-width: 540px;
    margin: 0 auto;
    color: #555;
    line-height: 1.8;
    font-size: 17px;
}

.thanks-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.thanks-buttons .btn.secondary {
    background-color: #009688;
    color: #fff;
    border: none;
}

.thanks-buttons .btn.secondary:hover {
    background-color: #009688;
    color: #fff;
}

@media screen and (max-width: 768px) {
    .thanks-card {
        padding: 35px 22px;
        border-radius: 18px;
    }

    .thanks-card h1 {
        font-size: 28px;
    }

    .thanks-card p {
        font-size: 15px;
    }

    .thanks-buttons {
        flex-direction: column;
        align-items: center;
    }

    .thanks-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}
