/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, sans-serif;
    line-height: 1.6;
    color: #2c2c2c;
    overflow-x: hidden;
}

/* CSS Variables */
:root {
    --primary-teal: #4a9b8e;
    --accent-yellow: #d4b045;
    --dark-grey: #2c2c2c;
    --light-grey: #f8f9fa;
    --white: #ffffff;
    --brand-title-color: #4a9b8e;
    --brand-subtitle-color: #d4b045;
    --hero-title-color: #ffffff;
    --about-title-color: #4a9b8e;
    --gallery-title-color: #4a9b8e;
    --services-title-color: #ffffff;
    --guides-title-color: #4a9b8e;
    --contact-title-color: #4a9b8e;
    --service-item-title-color: #ffffff;
    --contact-info-title-color: #4a9b8e;
    --availability-title-color: #4a9b8e;
    --reviews-title-color: #4a9b8e;
}

/* Header and Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 60px;
    container-type: inline-size;
}

.brand {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 2vw, 1rem);
    flex-shrink: 0;
}

.logo {
    height: clamp(35px, 5vw, 50px);
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.brand-title {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--brand-title-color) !important;
    margin: 0;
    line-height: 1;
    letter-spacing: clamp(0.2px, 0.5vw, 0.5px);
    white-space: nowrap;
}

.brand-subtitle {
    font-size: clamp(0.7rem, 2vw, 0.9rem);
    color: var(--brand-subtitle-color) !important;
    margin: 0;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: clamp(0.8rem, 2vw, 1.8rem);
    flex-wrap: wrap;
    justify-content: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--primary-teal);
    font-weight: 500;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    padding: 0.5rem 0.3rem;
}

.nav-links a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent-yellow);
    transition: width 0.3s ease;
}

.nav-links a:hover::before {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent-yellow);
}

/* Default: tutti i link visibili su desktop */
.tablet-hidden {
    display: inline-block;
}

.tablet-only {
    display: none;
}

/* Language Switcher */
.language-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.language-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    background: rgba(74, 155, 142, 0.1);
    border-radius: 25px;
    padding: 0.3rem;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-teal);
}

.language-toggle:hover {
    background: rgba(74, 155, 142, 0.2);
    box-shadow: 0 4px 15px rgba(74, 155, 142, 0.2);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-teal);
    position: relative;
    z-index: 2;
}

.lang-option.active {
    background: var(--primary-teal);
    color: var(--white);
    box-shadow: 0 2px 10px rgba(74, 155, 142, 0.3);
}

.lang-text {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    background: transparent;
    border: none;
    z-index: 1001;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.hamburger:hover {
    background: rgba(74, 155, 142, 0.1);
    transform: scale(1.1);
}

.hamburger:active {
    transform: scale(1.05);
    transition: all 0.1s ease;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-teal);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:first-child {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    height: auto;
    max-height: calc(100vh - 80px);
    width: 260px;
    background: linear-gradient(135deg, var(--primary-teal), #5ba89a);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    transition: right 0.3s ease;
    z-index: 999;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    border-radius: 0 0 0 20px;
    padding: 1.5rem 0;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-links {
    list-style: none;
    text-align: center;
}

.mobile-menu-links li {
    margin: 1rem 0;
}

.mobile-menu-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    display: block;
}

.mobile-menu-links a:hover {
    color: var(--accent-yellow);
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(44, 44, 44, 0.3), rgba(44, 44, 44, 0.4));
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(74, 155, 142, 0.1), rgba(212, 176, 69, 0.1));
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-content h1 {
    font-size: clamp(2rem, 6vw, 3.8rem);
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out;
    line-height: 1.1;
    color: var(--hero-title-color) !important;
}

.hero-content p {
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    margin-bottom: 3rem;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease-out 0.3s both;
}

.cta-button {
    background: linear-gradient(135deg, var(--accent-yellow), #e6c563);
    color: var(--dark-grey);
    padding: clamp(1rem, 2vw, 1.2rem) clamp(2rem, 4vw, 3rem);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: clamp(1rem, 2vw, 1.1rem);
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 8px 30px rgba(212, 176, 69, 0.3);
    /* animation: fadeInUp 1s ease-out 0.6s both; */
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 40px rgba(212, 176, 69, 0.4);
    background: linear-gradient(135deg, #e6c563, var(--accent-yellow));
}

.cta-button:active {
    transform: translateY(0) scale(1);
}

/* Section Styles */
.section {
    padding: clamp(4rem, 10vw, 8rem) 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 4rem;
    font-weight: 300;
    letter-spacing: -0.02em;
    position: relative;
    transition: color 0.3s ease;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--accent-yellow);
    border-radius: 2px;
    transition: background 0.3s ease;
}

.about .section-title.title-about {
    color: var(--about-title-color) !important;
}

.about .section-title.title-about::after {
    background: var(--about-title-color) !important;
}

.section .section-title.title-gallery {
    color: var(--gallery-title-color) !important;
}

.section .section-title.title-gallery::after {
    background: var(--gallery-title-color) !important;
}

.services .section-title.title-services {
    color: var(--services-title-color) !important;
}

.services .section-title.title-services::after {
    background: var(--services-title-color) !important;
}

.section .section-title.title-contact {
    color: var(--contact-title-color) !important;
}

.section .section-title.title-contact::after {
    background: var(--contact-title-color) !important;
}

.section .section-title.title-availability {
    color: var(--availability-title-color) !important;
}

.section .section-title.title-availability::after {
    background: var(--availability-title-color) !important;
}

.section .section-title.title-guides {
    color: var(--guides-title-color) !important;
}

.section .section-title.title-guides::after {
    background: var(--guides-title-color) !important;
}

.section .section-title.title-reviews {
    color: var(--reviews-title-color) !important;
}

.section .section-title.title-reviews::after {
    background: var(--reviews-title-color) !important;
}

/* About Section */
.about {
    background: var(--light-grey);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 2rem;
    color: #555;
}

.about-text p:first-child {
    font-size: clamp(1.1rem, 2.5vw, 1.3rem);
    color: var(--primary-teal);
    font-weight: 500;
}

.about-image-container {
    position: relative;
    width: 100%;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.about-image.loaded {
    opacity: 1;
}

.about-image-container:hover .about-image {
    transform: scale(1.02);
}

.about-image-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-teal);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0.7;
    z-index: 1;
}

/* Gallery Section - Carosello a Pagine */
.gallery-carousel-wrapper {
    overflow: hidden;
    border-radius: 20px;
    margin-top: 3rem;
}

.gallery-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.gallery-slide {
    width: 100%;
    min-width: 100%;
    flex-shrink: 0;
}

.gallery-slide .gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 1.5rem;
    padding: 0 1rem;
}

.gallery-loading {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    width: 100%;
    color: var(--primary-teal);
    font-size: 1.1rem;
}

/* Gallery Navigation */
.gallery-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-nav-btn {
    background: var(--white);
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-nav-btn:hover:not(:disabled) {
    background: var(--primary-teal);
    color: var(--white);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 20px rgba(74, 155, 142, 0.3);
}

.gallery-nav-btn:active:not(:disabled) {
    transform: translateY(0) scale(1.05);
    transition: all 0.1s ease;
}

.gallery-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.gallery-indicators {
    display: flex;
    gap: 0.8rem;
}

.gallery-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.gallery-indicator:hover {
    background: #bbb;
}

.gallery-indicator.active {
    background: var(--primary-teal);
    transform: scale(1.2);
}

/* Gallery Grid (usato all'interno delle slide) */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    height: 300px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(74, 155, 142, 0.1), rgba(212, 176, 69, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.gallery-item img.loaded {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Slider container - nasconde overflow per swipe */
.lightbox-slider-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Slider a 3 immagini (300% larghezza) */
.lightbox-slider {
    display: flex;
    width: 300%;
    height: 100%;
    transform: translateX(-33.333%);
    transition: transform 0.3s ease-out;
    will-change: transform;
}

/* Disabilita transizione durante swipe per risposta immediata */
.lightbox-slider.dragging {
    transition: none;
}

/* Ogni slide occupa 1/3 (33.333%) */
.lightbox-slide {
    flex: 0 0 33.333%;
    width: 33.333%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Immagine dentro la slide */
.lightbox-slide-img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    cursor: zoom-in;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.2s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox-slide-img.loaded {
    opacity: 1;
}

.lightbox-slide-img.zoomed {
    cursor: grab;
    transition: none;
}

.lightbox-slide-img.zoomed.dragging {
    cursor: grabbing;
}

/* Loading spinner per ogni slide */
.lightbox-slide .lightbox-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.lightbox-slide .lightbox-loading.hidden {
    display: none;
}

/* Contatore immagini */
.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px 16px;
    border-radius: 20px;
    z-index: 100;
}

/* Mantiene stili vecchi per retrocompatibilità */
.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    cursor: zoom-in;
    transition: transform 0.3s ease;
}

.lightbox img.zoomed {
    cursor: grab;
}

.lightbox img.zoomed.dragging {
    cursor: grabbing;
    transition: none;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    cursor: pointer;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    cursor: pointer;
    background: rgba(0, 0, 0, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    user-select: none;
    z-index: 100;
}

.lightbox-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-teal);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-teal);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    opacity: 0.7;
    z-index: 1;
}

.about-image-container.image-loaded::after,
.gallery-item.image-loaded::after {
    display: none;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Services Section */
.services {
    background: linear-gradient(135deg, var(--primary-teal), #5ba89a);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 4rem;
}

.service-item {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.service-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.service-icon {
    font-size: clamp(3rem, 5vw, 4rem);
    color: var(--accent-yellow);
    margin-bottom: 1.5rem;
    display: block;
}

.service-item h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--service-item-title-color) !important;
}

.service-item p {
    font-size: clamp(1rem, 2vw, 1.1rem);
    opacity: 0.9;
    line-height: 1.6;
    color: var(--white);
}

/* Reviews Section */
.reviews {
    background: var(--light-grey);
}

.reviews-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 0;
}

.reviews-carousel-wrapper {
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.reviews-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    min-height: 320px;
}

/* Slide recensioni - come galleria */
.review-slide {
    width: 100%;
    min-width: 100%;
    flex-shrink: 0;
}

.review-slide .reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 2rem;
}

.reviews-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 300px;
    gap: 2rem;
}

.reviews-loading .review-skeleton {
    display: none;
}

.review-item {
    background: var(--light-grey);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary-teal);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.review-stars {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.2rem;
}

.review-stars .star {
    color: #ffd700;
    font-size: 1.2rem;
}

.review-stars .rating-text {
    margin-left: 0.5rem;
    color: var(--primary-teal);
    font-weight: 600;
    font-size: 0.9rem;
}

.review-text {
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 2rem;
    font-style: italic;
    position: relative;
}

.review-text::before {
    content: '"';
    font-size: 3rem;
    color: var(--accent-yellow);
    position: absolute;
    top: -1rem;
    left: -1rem;
    font-family: serif;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-teal), var(--accent-yellow));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.review-author-info h4 {
    color: var(--primary-teal);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.review-source {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.review-source .brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    padding: 2px;
}

.review-source .brand-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* Fallback for non-SVG icons */
.review-source span:first-child:not(.brand-icon) {
    font-weight: bold;
    font-size: 1rem;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    background: #666;
    color: white;
}

.review-date {
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.2rem;
}

/* Navigation */
.reviews-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.review-nav-btn {
    background: var(--white);
    border: 2px solid var(--primary-teal);
    color: var(--primary-teal);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.8rem;
    font-weight: bold;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.review-nav-btn:hover:not(:disabled) {
    background: var(--primary-teal);
    color: var(--white);
    transform: translateY(-2px) scale(1.1);
    box-shadow: 0 8px 20px rgba(74, 155, 142, 0.3);
}

.review-nav-btn:active:not(:disabled) {
    transform: translateY(0) scale(1.05);
    transition: all 0.1s ease;
}

.review-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.reviews-indicators {
    display: flex;
    gap: 0.8rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--primary-teal);
    transform: scale(1.2);
}


/* Loading States */
.reviews-loading {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    width: 100%;
    max-width: 900px;
}

.review-skeleton {
    padding: 2.5rem;
    border-radius: 15px;
    background: var(--white);
    border-left: 4px solid #eee;
}

.skeleton-stars {
    width: 120px;
    height: 20px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.skeleton-text {
    width: 100%;
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.skeleton-text.short {
    width: 70%;
}

.skeleton-author {
    width: 150px;
    height: 16px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
    border-radius: 4px;
    margin-top: 1rem;
}

.loading-text {
    text-align: center;
    color: var(--primary-teal);
    font-size: 1.1rem;
    margin-top: 2rem;
    animation: pulse 2s infinite;
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* Responsive Design - Reviews */
@media (max-width: 1024px) {
    .review-slide .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .review-slide .reviews-grid {
        grid-template-columns: 1fr;
        padding: 1.5rem;
    }

    .review-item {
        padding: 1.5rem;
        min-height: 250px;
    }

    .reviews-nav {
        gap: 1rem;
    }
}

/* Gallery Carousel Responsive */
@media (max-width: 1024px) {
    .gallery-slide .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-item {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .gallery-slide .gallery-grid {
        grid-template-columns: 1fr;
        padding: 0 0.5rem;
    }

    .gallery-item {
        height: 220px;
    }

    .gallery-nav {
        gap: 1rem;
    }

    .gallery-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.4rem;
    }

    .gallery-indicator {
        width: 10px;
        height: 10px;
    }
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.contact-form {
    background: var(--light-grey);
    padding: 4rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--primary-teal);
    font-weight: 500;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: Inter, sans-serif;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 20px rgba(74, 155, 142, 0.1);
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-teal), #5ba89a);
    color: var(--white);
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(74, 155, 142, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 40px rgba(74, 155, 142, 0.4);
}

.submit-btn:active {
    transform: translateY(0) scale(1);
}

.char-counter {
    text-align: right;
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
}

.char-counter.warning {
    color: #ff9800;
}

.char-counter.danger {
    color: #f44336;
}

.contact-info {
    padding: 2rem 0;
}

.contact-info h3 {
    color: var(--contact-info-title-color) !important;
    margin-bottom: 1.5rem;
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    font-weight: 600;
}

.contact-info p {
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #555;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.contact-info strong {
    color: var(--primary-teal);
    display: inline-flex;
    align-items: center;
}

/* Directions Button */
.directions-btn {
    background: linear-gradient(135deg, var(--primary-teal), #5ba89a);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.2;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 30px rgba(74, 155, 142, 0.3);
    margin: 0;
    border: none;
    box-sizing: border-box;
    vertical-align: middle;
}

.directions-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 40px rgba(74, 155, 142, 0.4);
    background: linear-gradient(135deg, #5ba89a, var(--primary-teal));
}

.directions-btn:active {
    transform: translateY(0) scale(1);
}

.directions-btn svg {
    flex-shrink: 0;
}

/* Mobile responsive for directions button */
@media (max-width: 768px) {
    .directions-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* Availability Section */
.availability {
    background: var(--light-grey);
}

.calendar-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.calendar-header {
    background: linear-gradient(135deg, var(--primary-teal), #5ba89a);
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.calendar-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calendar-nav button {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.8rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    min-width: 50px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.calendar-nav button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.calendar-nav button:active {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0.95);
}

.current-month {
    font-size: 1.5rem;
    font-weight: 600;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e0e0e0;
}

.calendar-day-header {
    background: var(--primary-teal);
    color: var(--white);
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.calendar-day {
    background: var(--white);
    padding: 1rem;
    text-align: center;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    cursor: default;
}

.calendar-day.other-month {
    color: #ccc;
    background: #f9f9f9;
}

.calendar-day.available {
    background: #e8f5e8;
    color: #2d5a2d;
}

.calendar-day.available:hover {
    background: #d4edd4;
    transform: scale(1.05);
}

.calendar-day.occupied {
    background: #ffe8e8;
    color: #8b4444;
}

.calendar-day.today {
    background: var(--accent-yellow);
    color: var(--dark-grey);
    font-weight: 600;
}

.calendar-day.today.available {
    background: linear-gradient(135deg, var(--accent-yellow), #e6c563);
}

.calendar-legend {
    padding: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.legend-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.legend-color.available {
    background: #e8f5e8;
    border: 2px solid #2d5a2d;
}

.legend-color.occupied {
    background: #ffe8e8;
    border: 2px solid #8b4444;
}

.legend-color.today {
    background: var(--accent-yellow);
    border: 2px solid var(--dark-grey);
}

.calendar-loading {
    text-align: center;
    padding: 3rem;
    color: var(--primary-teal);
    font-size: 1.1rem;
}

.calendar-error {
    text-align: center;
    padding: 3rem;
    color: #8b4444;
    font-size: 1.1rem;
}

.availability-info {
    text-align: center;
    margin-top: 2rem;
    padding: 0 2rem;
}

.availability-info p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 1rem;
}

.availability-info .highlight {
    color: var(--primary-teal);
    font-weight: 600;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
}

.toast {
    background: var(--white);
    border-radius: 15px;
    padding: 20px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-left: 4px solid var(--primary-teal);
    max-width: 400px;
    min-width: 300px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    position: relative;
    overflow: hidden;
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.success {
    border-left-color: #4caf50;
}

.toast.error {
    border-left-color: #f44336;
}

.toast.info {
    border-left-color: var(--accent-yellow);
}

.toast .toast-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.toast .toast-icon {
    font-size: 20px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast.success .toast-icon {
    color: #4caf50;
}

.toast.error .toast-icon {
    color: #f44336;
}

.toast.info .toast-icon {
    color: var(--accent-yellow);
}

.toast .toast-title {
    font-weight: 600;
    color: var(--dark-grey);
    font-size: 16px;
    margin: 0;
}

.toast .toast-message {
    color: #666;
    font-size: 14px;
    line-height: 1.4;
    margin: 0;
}

.toast .toast-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.toast .toast-close:hover {
    color: #666;
}

.toast .toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: var(--primary-teal);
    transition: width linear;
    border-radius: 0 0 15px 0;
}

.toast.success .toast-progress {
    background: #4caf50;
}

.toast.error .toast-progress {
    background: #f44336;
}

.toast.info .toast-progress {
    background: var(--accent-yellow);
}

/* Footer */
footer {
    background: var(--dark-grey);
    color: var(--white);
    text-align: center;
    padding: 3rem 0;
    font-size: clamp(1rem, 2vw, 1.1rem);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
}

/* Breakpoint intermedio per evitare sovrapposizioni menu */
@media (max-width: 900px) {
    .nav-links {
        gap: clamp(1rem, 2vw, 2rem);
    }
    
    .nav-links a {
        font-size: clamp(0.8rem, 1.8vw, 1rem);
    }
    
    .brand-title {
        font-size: clamp(0.9rem, 2.5vw, 1.3rem);
    }
    
    .brand-subtitle {
        font-size: clamp(0.6rem, 1.8vw, 0.8rem);
    }
}

/* Layout ibrido smart per tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav-container {
        container-type: inline-size;
    }

    .nav-links {
        position: relative;
        gap: clamp(0.3rem, 0.8vw, 0.6rem);
        max-width: 65%;
        flex-wrap: nowrap;
        justify-content: flex-start;
    }

    .nav-links a {
        font-size: clamp(1.1rem, 1.8vw, 1.2rem);
        padding: 0.6rem 0.5rem;
        white-space: nowrap;
    }

    /* Nascondi i link extra su tablet, mostra dropdown */
    .tablet-hidden {
        display: none;
    }

    .tablet-only {
        display: inline-block;
    }

    /* Crea dropdown container per i link nascosti */
    .nav-dropdown {
        position: relative;
        display: inline-block;
    }

    .nav-dropdown-content {
        display: none;
        position: absolute;
        right: 0;
        top: 100%;
        background: white;
        min-width: 180px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        border-radius: 12px;
        z-index: 1000;
        padding: 0.5rem 0;
        margin-top: 0.5rem;
        border: 1px solid rgba(45, 139, 139, 0.1);
    }

    .nav-dropdown.show .nav-dropdown-content {
        display: block;
    }

    .nav-dropdown-content a {
        color: var(--primary-teal) !important;
        padding: 0.8rem 1.2rem !important;
        text-decoration: none;
        display: block;
        font-size: 0.9rem !important;
        transition: all 0.2s ease;
        white-space: nowrap;
    }

    .nav-dropdown-content a:hover {
        background: rgba(45, 139, 139, 0.05);
        color: var(--accent-yellow) !important;
    }

    /* Stile del trigger dropdown */
    .dropdown-trigger {
        position: relative;
    }

    .dropdown-trigger::after {
        content: "▼";
        font-size: 0.7rem;
        margin-left: 0.3rem;
        transition: transform 0.2s ease;
    }

    .nav-dropdown:hover .dropdown-trigger::after {
        transform: rotate(180deg);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    /* Language switcher mobile - posizionato vicino all'hamburger */
    .language-switcher {
        margin-left: auto;
        margin-right: 0.5rem;
        order: 2;
    }
    
    .hamburger {
        order: 3;
    }

    .language-toggle {
        padding: 0.2rem;
        border-width: 1px;
    }

    .lang-option {
        padding: 0.3rem 0.6rem;
        font-size: 0.8rem;
    }

    .lang-text {
        font-size: 0.75rem;
    }

    /* Ottimizzazioni mobile menu per schermi piccoli */
    .mobile-menu {
        width: min(260px, 85vw);
        padding: 1rem 0;
    }

    .mobile-menu-links a {
        font-size: 1rem;
        padding: 0.6rem 1rem;
    }

    .mobile-menu-links li {
        margin: 0.8rem 0;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-form {
        padding: 2rem;
    }

    .calendar-container {
        margin: 0 0.5rem;
    }

    .calendar-header {
        padding: 1.5rem 1rem;
    }

    .calendar-nav {
        margin-bottom: 0.5rem;
    }

    .calendar-nav button {
        min-width: 45px;
        min-height: 45px;
        font-size: 1.3rem;
        padding: 0.6rem;
    }

    .current-month {
        font-size: 1.3rem;
    }

    .calendar-day {
        padding: 0.4rem 0.2rem;
        min-height: 45px;
        font-size: 0.85rem;
    }

    .calendar-day-header {
        padding: 0.8rem 0.2rem;
        font-size: 0.8rem;
    }

    .calendar-legend {
        padding: 1.5rem 1rem;
        gap: 1rem;
    }

    .hero::before {
        background-image: url('../images/hero-bg.webp');
    }
}

@media (max-width: 480px) {
    .calendar-grid {
        gap: 0.5px;
    }

    .toast-container {
        right: 10px;
        left: 10px;
        top: 80px;
    }

    .toast {
        min-width: unset;
        max-width: none;
        margin: 0;
    }
}

@media print {
    .cta-button,
    .hamburger,
    .menu-overlay,
    .mobile-menu,
    .toast-container {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .hero {
        height: auto;
        padding: 2rem 0;
    }
}

/* Calendar Skeleton */
.calendar-skeleton {
    padding: 1rem;
    background: var(--white);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.skeleton-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem 0;
}

.skeleton-nav-btn {
    width: 40px;
    height: 40px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 50%;
}

.skeleton-month {
    width: 150px;
    height: 24px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

.skeleton-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.skeleton-day-header {
    background: var(--primary-teal);
    opacity: 0.7;
    height: 35px;
    animation: pulse 2s infinite;
}

.skeleton-day {
    background: linear-gradient(90deg, #f8f8f8 25%, #e8e8e8 50%, #f8f8f8 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    height: 45px;
    position: relative;
}

.skeleton-day.available {
    background: linear-gradient(90deg, #e8f5e8 25%, #d4edd4 50%, #e8f5e8 75%);
    background-size: 200% 100%;
}

.skeleton-day.occupied {
    background: linear-gradient(90deg, #ffe8e8 25%, #ffcccc 50%, #ffe8e8 75%);
    background-size: 200% 100%;
}

.loading-text {
    text-align: center;
    color: var(--primary-teal);
    font-size: 0.9rem;
    margin: 1rem 0;
    opacity: 0.8;
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 0.7;
    }
    50% {
        opacity: 0.9;
    }
}

@media (max-width: 768px) {
    .skeleton-nav-btn {
        width: 35px;
        height: 35px;
    }

    .skeleton-month {
        width: 120px;
        height: 20px;
    }

    .skeleton-day {
        height: 35px;
    }

    .skeleton-day-header {
        height: 30px;
    }
}

/* Guides Section */
.guides {
    background: linear-gradient(135deg, var(--light-grey) 0%, #fff 100%);
    padding: 100px 0;
}

.title-guides {
    color: var(--guides-title-color);
    margin-bottom: 1rem;
}

.guides-intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--dark-grey);
    margin-bottom: 3rem;
    opacity: 0.8;
}

.video-player iframe::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: transparent;
    z-index: 10;
    pointer-events: none;
}

.video-info {
    padding: 1.5rem;
    text-align: center;
}

.video-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--primary-teal);
}

.video-info p {
    font-size: 0.9rem;
    color: var(--dark-grey);
    opacity: 0.8;
}

/* Grid layout: 2 colonne desktop, 1 mobile */
.video-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 3rem !important;
    margin-top: 3rem !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.video-item {
    background: var(--white) !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.video-item::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(45deg, rgba(74, 155, 142, 0.1), rgba(212, 176, 69, 0.1)) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

.video-item:hover::before {
    opacity: 1 !important;
}

.video-item:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2) !important;
}

/* Container principale del player per YouTube Shorts */
.video-player {
    position: relative !important;
    width: 100% !important;
    max-width: 315px !important; /* Larghezza fissa shorts */
    margin: 0 auto !important;
    aspect-ratio: 9/16 !important; /* Aspect ratio shorts nativo */
    border-radius: 20px !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    overflow: hidden !important;
}

.video-player::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(45deg, rgba(74, 155, 142, 0.1), rgba(212, 176, 69, 0.1)) !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    z-index: 2 !important;
    pointer-events: none !important;
    border-radius: 20px !important;
}

.video-item:hover .video-player::before {
    opacity: 1 !important;
}

.video-item:hover .video-player {
    transform: translateY(-10px) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2) !important;
}

/* Iframe YouTube con taglio superiore */
.video-player iframe {
    position: absolute !important;
    top: -70px !important; /* TAGLIA I PRIMI 70PX */
    left: 0 !important;
    width: 100% !important;
    height: calc(100% + 70px) !important;
    border: none !important;
    transition: transform 0.3s ease !important;
    pointer-events: auto !important;
    border-radius: 20px !important;
}

.video-item:hover .video-player iframe {
    transform: scale(1.02) !important;
}

.video-info {
    padding: 1.5rem 2rem 1.5rem 2rem !important;
    text-align: center !important;
}

.video-info h3 {
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin-bottom: 0.5rem !important;
    color: var(--primary-teal) !important;
}

.video-info p {
    font-size: 0.9rem !important;
    color: var(--dark-grey) !important;
    opacity: 0.8 !important;
}

/* YouTube Controls Hide */
.ytp-ce-element,
.ytp-chrome-top,
.ytp-chrome-top-buttons,
.ytp-endscreen-element,
.ytp-pause-overlay,
.ytp-scroll-min,
.ytp-show-cards-title,
.ytp-title,
.ytp-title-channel,
.ytp-title-text,
.ytp-videowall-still,
.ytp-watermark {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

@media (max-width: 768px) {
    /* Layout mobile: 1 colonna */
    .video-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        max-width: 400px !important;
        padding: 0 1rem !important;
    }
    
    .video-player {
        border-radius: 15px !important;
    }
    
    .video-player iframe {
        top: -80px !important; /* TAGLIA I PRIMI 80PX - incrementato per mobile */
        height: calc(100% + 80px) !important;
        border-radius: 15px !important;
    }
    
    .video-player::before {
        border-radius: 15px !important;
    }
    
    .video-item {
        border-radius: 15px !important;
        margin: 0 auto;
        max-width: 100%;
    }

    .video-info {
        padding: 1rem;
    }

    .video-info h3 {
        font-size: 1rem;
    }

    .video-info p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .guides {
        padding: 80px 0;
    }

    .guides-intro {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .video-grid {
        gap: 1rem;
        padding: 0 0.5rem;
    }

    .video-item {
        border-radius: 8px;
    }

    .video-player {
        border-radius: 8px !important;
        min-height: 180px;
    }
    
    .video-player iframe {
        border-radius: 8px !important;
    }
    
    .video-player::before {
        border-radius: 8px !important;
    }

    .video-info {
        padding: 0.8rem;
    }
}

/* === FLAG ICONS (Local Implementation) === */
/* Base flag styles */
.fib,
.fi {
    background-size: contain;
    background-position: 50%;
    background-repeat: no-repeat;
}

.fi {
    position: relative;
    display: inline-block;
    width: 18px;           /* Override default 1.333333em */
    height: 13px;          /* Override default 1em */
    line-height: 1em;
    border-radius: 2px;    /* Custom styling */
}

.fi:before {
    content: " ";
}

.fi.fis {
    width: 1em;  /* Square flags */
}

/* Country-specific flags */
.fi-it {
    background-image: url(../flags/it.svg);
}

.fi-gb {
    background-image: url(../flags/gb.svg);
}

/* Responsive flag sizes */
@media (max-width: 768px) {
    .fi {
        width: 16px;
        height: 12px;
    }
}

/* Ottimizzazioni per schermi molto piccoli */
@media (max-width: 480px) {
    .mobile-menu {
        width: min(240px, 90vw);
    }

    .mobile-menu-links a {
        font-size: 0.95rem;
        padding: 0.5rem 0.8rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .fi {
        width: 14px;
        height: 10px;
    }
}

/* ============================================
   EMAIL PROTECTION - Click-to-Reveal & CSS Obfuscation
   ============================================ */

/* Click-to-Reveal Button - Aligned with directions-btn style */
.reveal-email-btn {
    background: linear-gradient(135deg, var(--primary-teal), #5ba89a);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(74, 155, 142, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    box-sizing: border-box;
    vertical-align: middle;
}

.reveal-email-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 15px 40px rgba(74, 155, 142, 0.4);
    background: linear-gradient(135deg, #5ba89a, var(--primary-teal));
}

.reveal-email-btn:active {
    transform: translateY(0) scale(1);
}

.reveal-email-btn:focus {
    outline: 2px solid var(--primary-teal);
    outline-offset: 2px;
}

.reveal-email-btn svg {
    flex-shrink: 0;
}

/* Email Display After Reveal */
.email-display {
    margin: 0;
    display: inline-flex;
    align-items: center;
}

.email-display a {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.email-display a:hover {
    color: #5ba89a;
    text-decoration: underline;
}

/* CSS Obfuscation - Hide trap characters */
.trap {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    left: -9999px !important;
}

.protected-email {
    unicode-bidi: bidi-override;
    direction: ltr;
    user-select: all;
    cursor: text;
}

/* Improved Honeypot Field */
.hp-field {
    position: absolute !important;
    left: -9999px !important;
    top: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
    z-index: -1 !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .reveal-email-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.85rem;
    }

    .email-display {
        display: inline;
    }
}
