/* =========================================
   1. VARIABILI & RESET (Palette Full Green Elegante)
   ========================================= */
:root {
    --color-bg: #EDF1EE; 
    --color-bg-green: #244030; 
    --color-text-dark: #12261A; 
    --color-text-light: #4A5D50; 
    --color-accent: #4B785A; 
    --color-white: #FFFFFF;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; overflow-wrap: break-word; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text-dark);
    line-height: 1.6;
    overflow-x: hidden; 
}
html, body { overflow-x: hidden !important; width: 100%; max-width: 100vw; position: relative; }

/* =========================================
   2. TIPOGRAFIA & UTILITIES
   ========================================= */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 400; color: var(--color-text-dark); }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section-padding { padding: 100px 0; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 60px; }

/* SEZIONI A SCHERMO INTERO (SICURE) */
.concept-section, 
.services-section, 
.events-section, 
.reviews-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 100px;
    padding-bottom: 80px;
    width: 100%;
}

/* =========================================
   3. HEADER & NAVIGAZIONE
   ========================================= */
.navbar { position: fixed; top: 0; left: 0; width: 100%; padding: 30px 50px; display: flex; justify-content: space-between; align-items: center; z-index: 1000; background-color: transparent; transition: all 0.4s ease-in-out; }
.navbar.scrolled { padding: 15px 50px; background-color: rgba(237, 241, 238, 0.98); box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.logo { position: relative; height: 60px; z-index: 1002; }
.logo img { height: 100%; width: auto; transition: opacity 0.4s ease; }
.logo-dark { position: absolute; top: 0; left: 0; opacity: 0; }
.navbar.scrolled .logo-light { opacity: 0; }
.navbar.scrolled .logo-dark { opacity: 1; }

.nav-links { list-style: none; display: flex; gap: 40px; }
.nav-links a { text-decoration: none; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; position: relative; color: var(--color-white); transition: color 0.4s ease; }
.navbar.scrolled .nav-links a { color: var(--color-text-dark); }
.nav-links a::after { content: ''; position: absolute; width: 0; height: 1px; bottom: -5px; left: 0; background-color: currentColor; transition: width 0.3s ease; }
.nav-links a:hover::after { width: 100%; }

.dropdown { position: relative; }
.dropdown-toggle .arrow { font-size: 0.7rem; margin-left: 4px; display: inline-block; transition: transform 0.3s ease; }
.dropdown:hover .dropdown-toggle .arrow { transform: rotate(180deg); }
.submenu { position: absolute; top: 150%; left: 50%; transform: translateX(-50%) translateY(15px); background-color: var(--color-bg); min-width: 220px; list-style: none; padding: 15px 0; box-shadow: 0 15px 35px rgba(0,0,0,0.1); border-radius: 4px; opacity: 0; visibility: hidden; transition: all 0.4s ease; z-index: 1000; }
.dropdown:hover .submenu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); top: 100%; }
.submenu a { display: block; padding: 12px 25px; color: var(--color-text-dark) !important; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 1.5px; transition: background-color 0.3s ease, padding-left 0.3s ease; text-decoration: none;}
.submenu a:hover { background-color: rgba(75, 120, 90, 0.1); padding-left: 30px; }

.btn-nav { padding: 10px 22px; border: 1px solid; border-radius: 2px; text-transform: uppercase; font-size: 0.8rem !important; letter-spacing: 2px; font-weight: 700; transition: all 0.4s ease-in-out; text-decoration: none; }
.navbar .btn-nav { color: var(--color-white) !important; border-color: rgba(255, 255, 255, 0.5); }
.navbar.scrolled .btn-nav { color: var(--color-text-dark) !important; border-color: var(--color-accent); }
.navbar .btn-nav:hover { background-color: var(--color-white); color: var(--color-text-dark) !important; }
.navbar.scrolled .btn-nav:hover { background-color: var(--color-accent); color: var(--color-white) !important; }

.menu-toggle { display: none; cursor: pointer; z-index: 1002; }
.menu-toggle .bar { display: block; width: 25px; height: 2px; margin: 5px auto; background-color: var(--color-white); transition: all 0.3s ease-in-out; }
.navbar.scrolled .menu-toggle .bar { background-color: var(--color-text-dark); }

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--color-white); padding: 0 20px; overflow: hidden; }
.hero-bg-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(rgba(26, 51, 36, 0.65), rgba(26, 51, 36, 0.3)); z-index: 1; }
.hero-content { position: relative; z-index: 2; }
.hero h1 { color: var(--color-white); font-size: 4rem; line-height: 1.1; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; font-weight: 300; max-width: 600px; margin: 0 auto 40px auto; }
.btn { display: inline-block; padding: 15px 40px; border: 1px solid var(--color-white); color: var(--color-white); text-decoration: none; text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; transition: all 0.4s ease; background: transparent; }
.btn:hover { background: var(--color-white); color: var(--color-text-dark); }

/* =========================================
   5. CONCEPT SECTION (Il Borgo)
   ========================================= */
#concept { background-color: #ebf1ee; } /* Colore Salvia */
.layout-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 20px 0; }
.text-content h2 { font-size: 2.5rem; margin-bottom: 30px; }
.text-content p { color: var(--color-text-light); margin-bottom: 20px; font-size: 1.1rem; }
.image-content img { width: 100%; height: auto; border-radius: 4px; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }

/* Carosello Immagini / Spotify */
.carosello-container { flex: 1; width: 100%; min-width: 0; }
.carosello-scroll { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none !important; -ms-overflow-style: none !important; padding-bottom: 0 !important; }
.carosello-scroll::-webkit-scrollbar { display: none !important; }

/* Struttura base uguale per tutte le slide (bordo, altezza, ombre) ma SENZA padding */
.carosello-scroll > img,
.carosello-scroll .image-slide,
.carosello-scroll .spotify-slide {
    flex: 0 0 85%; max-width: 400px; height: 300px; position: relative; border-radius: 5px; 
    scroll-snap-align: center; box-shadow: 0 10px 20px rgba(0,0,0,0.1); border: 4px solid var(--color-white); 
    overflow: hidden; object-fit: cover;
}

/* Diamo il padding e il flex SOLO alle slide con testo e Spotify, lasciando l'immagine 2 pura */
.carosello-scroll .image-slide,
.carosello-scroll .spotify-slide {
    display: flex; 
    padding: 20px;
}

.carosello-scroll .image-slide { align-items: center; justify-content: center; }
.carosello-scroll .spotify-slide { flex-direction: column; justify-content: flex-end; align-items: center; }

.carosello-scroll .image-slide img,
.carosello-scroll .spotify-slide img { position: absolute; top: 0; left: 0; width: 100% !important; height: 100% !important; object-fit: cover; flex: none !important; max-width: none !important; border: none !important; border-radius: 0 !important; box-shadow: none !important; z-index: 0; }
.carosello-scroll .slide-overlay,
.carosello-scroll .spotify-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; transition: background-color 0.4s ease; }
.carosello-scroll .slide-overlay { background-color: rgba(0, 0, 0, 0.4); }
.carosello-scroll .spotify-overlay { background-color: rgba(0, 0, 0, 0.45); }
.carosello-scroll .image-slide:hover .slide-overlay { background-color: rgba(0, 0, 0, 0.15); }
.carosello-scroll .spotify-slide:hover .spotify-overlay { background-color: rgba(0, 0, 0, 0.2); }

.carosello-scroll .slide-title { position: relative; z-index: 2; color: var(--color-white); font-family: var(--font-heading); font-size: 2.2rem; text-align: center; margin: 0; text-shadow: 0 4px 10px rgba(0,0,0,0.6); transition: transform 0.4s ease; }
.carosello-scroll .image-slide:hover .slide-title { transform: scale(1.05); }

.carosello-scroll .spotify-caption { position: relative; z-index: 2; color: var(--color-white); font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 15px; text-align: center; opacity: 0.85; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.carosello-scroll .spotify-slide iframe { position: relative; z-index: 2; width: 100%; max-width: 300px; border-radius: 8px; box-shadow: 0 15px 30px rgba(0,0,0,0.4); }

/* Pallini Carosello */
.carosello-dots { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 25px; }
.carosello-dots .dot { width: 10px; height: 10px; background-color: rgba(75, 120, 90, 0.3); border-radius: 50%; cursor: pointer; transition: all 0.4s ease; }
.carosello-dots .dot.active { background-color: var(--color-accent); transform: scale(1.4); }

/* =========================================
   6. SERVICES GRID & FLIP CARDS
   ========================================= */
.services-section { background-color: #DFE8E2; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; width: 100%; }

.flip-card { background-color: transparent; border: none; perspective: 1000px; height: 600px; width: 100%; }
.flip-card-inner { position: relative; width: 100%; height: 100%; text-align: center; transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); transform-style: preserve-3d; box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-radius: 8px; }
@media (hover: hover) { .flip-card:hover .flip-card-inner { transform: rotateY(180deg); } }
.flip-card.is-flipped .flip-card-inner { transform: rotateY(180deg); }

.flip-card-front, .flip-card-back { position: absolute; width: 100%; height: 100%; -webkit-backface-visibility: hidden; backface-visibility: hidden; border-radius: 8px; overflow: hidden; }
.flip-card-front { background-color: var(--color-bg-green); }
.flip-card-front img { width: 100%; height: 100%; object-fit: cover; }

.front-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(36, 64, 48, 0.2), rgba(36, 64, 48, 0.8)); display: flex; flex-direction: column; justify-content: flex-end; align-items: center; padding: 40px 20px; color: var(--color-white); }
.front-overlay h3 { font-size: 2.2rem; margin-bottom: 10px; transform: translateY(20px); transition: transform 0.4s ease; color: var(--color-white); }
.front-overlay span { font-family: var(--font-body); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; opacity: 0.7; transform: translateY(20px); transition: transform 0.4s ease 0.1s; }
.flip-card:hover .front-overlay h3, .flip-card:hover .front-overlay span { transform: translateY(0); }

.flip-card-back { background-color: var(--color-white); color: var(--color-text-dark); transform: rotateY(180deg); display: flex; flex-direction: column; }
.card-image { position: relative; width: 100%; height: 250px; overflow: hidden; }
.card-image img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.6s ease; }
.card-image img.active { opacity: 1; }
.flip-card:hover .card-image img.active { transform: scale(1.05); }

.card-body { padding: 20px; }
.card-link { display: inline-block; margin-top: 20px; color: var(--color-accent); text-decoration: none; text-transform: uppercase; font-size: 0.85rem; font-weight: 700; transition: all 0.3s ease; }
.card-link::after { content: '→'; margin-left: 5px; transition: margin-left 0.3s ease; }
.card-link:hover { color: var(--color-text-dark); }
.card-link:hover::after { margin-left: 10px; }

/* =========================================
   7. EVENTI
   ========================================= */
.events-section { background-color: var(--color-white); position: relative; overflow: hidden; }
.events-container { display: flex; flex-direction: column; align-items: center; gap: 40px; position: relative; z-index: 2; width: 100%; }
.btn-events-toggle { display: none; }

.decor-side { position: absolute; top: 50%; transform: translateY(-50%); width: 320px; height: 500px; object-fit: cover; border-radius: 50px; z-index: 0; opacity: 0.8; box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.decor-left { left: -160px; }
.decor-right { right: -160px; }

.events-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 40px; width: 100%; }
.event-link { text-decoration: none; display: block; }
.event-circle { width: 160px; height: 160px; border-radius: 50%; border: 2px solid var(--color-accent); display: flex; flex-direction: column; align-items: center; justify-content: center; background-color: var(--color-white); transition: all 0.4s ease; text-align: center; }
.event-icon { width: 45px; height: 45px; margin-bottom: 15px; color: var(--color-accent); transition: color 0.4s ease; }
.event-circle h3 { font-size: 1.05rem; font-family: var(--font-heading); color: var(--color-text-dark); margin: 0; transition: color 0.4s ease; }

.event-link:hover .event-circle { background-color: var(--color-bg-green); border-color: var(--color-bg-green); transform: translateY(-10px); box-shadow: 0 15px 30px rgba(36, 64, 48, 0.3); }
.event-link:hover .event-icon, .event-link:hover .event-circle h3 { color: var(--color-white); }

/* =========================================
   8. RECENSIONI & FOOTER
   ========================================= */
.reviews-section { background-color: var(--color-bg-green); color: var(--color-white); }
.reviews-section .section-title { color: var(--color-white); }
.carousel-container { position: relative; max-width: 900px; margin: 0 auto; display: flex; align-items: center; }
.carousel-track-wrapper { overflow: hidden; width: 100%; padding: 20px 0; }
.carousel-track { display: flex; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
.carousel-slide { min-width: 100%; padding: 0 50px; text-align: center; box-sizing: border-box; }
.review-content { max-width: 700px; margin: 0 auto; }
.stars { color: #A3C2A3; font-size: 1.2rem; letter-spacing: 2px; margin-bottom: 20px; }
.review-text { font-family: var(--font-heading); font-size: 1.8rem; font-style: italic; line-height: 1.5; margin-bottom: 30px; color: var(--color-white); }
.review-author { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 2px; color: var(--color-white); }
.carousel-btn { background: transparent; border: none; font-size: 2.5rem; color: var(--color-white); opacity: 0.7; cursor: pointer; padding: 10px; z-index: 10; }
.carousel-btn:hover { opacity: 1; transform: scale(1.1); }

.footer { background-color: #0E1D14; color: var(--color-white); padding: 80px 0 30px; }
.footer-content { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 40px; margin-bottom: 30px; }
.footer-logo-container { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.footer-logo { height: 45px; opacity: 0.9; }
.footer-logo2 { height: 70px; opacity: 0.9; }
.footer-bottom { width: 100%; text-align: center; color: #777; font-size: 0.85rem; padding: 0 20px; display: flex; justify-content: center; align-items: center; }
.footer-bottom p { margin: 0; text-align: center; }

/* =========================================
   9. ANIMAZIONI & FIX SPOTIFY GLOBALE
   ========================================= */
.fade-in { animation: fadeIn 1s ease-in; }
.slide-up { animation: slideUp 1.2s cubic-bezier(0.23, 1, 0.32, 1) forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1); }
.reveal.active { opacity: 1; transform: translateY(0); }

iframe[src*="spotify.com"], .spotify-player {
    display: block !important;
    height: 82px !important; 
    min-height: 82px !important;
    max-height: 82px !important;
    width: 100% !important;
    overflow: hidden !important; 
    border: none !important;
    margin-top: 15px !important;
    
    /* IL TUO FILTRO RIPRISTINATO */
    filter: sepia(0.7) hue-rotate(70deg) saturate(0.8);
}
iframe[src*="spotify.com"]::-webkit-scrollbar, .spotify-player::-webkit-scrollbar {
    display: none !important; width: 0 !important; height: 0 !important;
}

/* =========================================
   10. MEDIA QUERIES (RESPONSIVE UNIFICATO)
   ========================================= */

/* --- TABLET (Fino a 1024px) --- */
@media (max-width: 1024px) {
    .hero h1 { font-size: 3.2rem; }
    .layout-split { gap: 30px; } 
    .decor-side { width: 200px; height: 350px; border-radius: 100px; }
    .decor-left { left: -100px; }
    .decor-right { right: -100px; }

    /* Fix Flip Cards su Tablet: Trasforma in carosello orizzontale sicuro */
    .services-grid { 
        display: flex; 
        overflow-x: auto; 
        scroll-snap-type: x mandatory; 
        gap: 20px; 
        padding-bottom: 20px; 
        scrollbar-width: none !important; 
        -ms-overflow-style: none !important; 
        align-items: center; /* Impedisce l'allungamento in verticale */
    }
    .services-grid::-webkit-scrollbar { display: none !important; }
    
    .services-grid .flip-card { 
        flex: 0 0 65% !important; /* Non si schiaccia */
        max-width: 400px;
        height: 500px !important; 
        scroll-snap-align: center; 
    }
}

/* --- MENU MOBILE E LAYOUT (Fino a 920px) --- */
@media (max-width: 920px) {
    .navbar { padding: 15px 25px; }
    .logo { height: 45px; }
    .hero h1 { font-size: 2.5rem; }
    .menu-toggle { display: block; }
    nav { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(26, 51, 36, 0.98); backdrop-filter: blur(10px); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.4s ease-in-out; z-index: 1001; }
    nav.active { opacity: 1; visibility: visible; }
    .nav-links { flex-direction: column; gap: 30px; text-align: center; }
    
    /* Colori del menu corretti */
    .navbar .nav-links a, .navbar.scrolled .nav-links a, .navbar .btn-nav, .navbar.scrolled .btn-nav { font-family: var(--font-heading); font-size: 2rem; color: var(--color-white) !important; text-transform: none; border-color: var(--color-accent) !important; }
    .navbar .submenu a, .navbar.scrolled .submenu a { font-family: var(--font-body); font-size: 1.1rem; color: rgba(255, 255, 255, 0.8) !important; padding: 10px 0; }
    
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    
    .dropdown { display: flex; flex-direction: column; align-items: center; width: 100%; }
    .submenu { position: static; transform: none; background-color: transparent !important; box-shadow: none !important; min-width: 100%; padding: 0; max-height: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: all 0.5s ease; }
    .submenu.open { max-height: 250px; padding-top: 20px; opacity: 1; visibility: visible; }
    
    .layout-split { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .layout-split .text-content { order: -1; }
    .text-content h2 { font-size: 2.2rem; margin-bottom: 20px; }
    .text-content p { padding: 0 25px !important; line-height: 1.7; }
}

/* --- SMARTPHONE (Fino a 768px) --- */
@media (max-width: 768px) {
    .hero h1 { font-size: 2.2rem; }
    .section-title { font-size: 1.6rem; margin-bottom: 30px; }
    .text-content h2 { font-size: 1.8rem; }
    .front-overlay h3 { font-size: 1.6rem; }
    .decor-side { display: none; } 
    .footer-content { grid-template-columns: 1fr; text-align: center; gap: 30px; }
    .footer-logo-container { justify-content: center; }

    /* Flip Cards Mobile: Più larghe e leggermente più basse */
    .services-grid .flip-card { flex: 0 0 85% !important; height: 480px !important; }
    .card-body { padding: 20px 10px !important; }
    .card-body p { padding: 0 15px !important; font-size: 0.95rem; }
    .card-image { height: 200px !important; }

    /* Eventi Mobile */
    .btn-events-toggle { display: flex; align-items: center; justify-content: center; width: 100%; padding: 15px; background-color: transparent; border: 1px solid var(--color-accent); color: var(--color-text-dark); border-radius: 30px; font-family: var(--font-heading); font-size: 1.2rem; cursor: pointer; transition: all 0.3s ease; margin-bottom: 20px; }
    .btn-events-toggle .arrow { margin-left: 10px; transition: transform 0.4s ease; }
    .btn-events-toggle.open { background-color: var(--color-bg-green); color: var(--color-white); border-color: var(--color-bg-green); }
    .btn-events-toggle.open .arrow { transform: rotate(180deg); }
    #mobile-events-list { max-height: 0; overflow: hidden; opacity: 0; transition: all 0.5s ease-in-out; margin: 0; padding-top: 0 !important; padding-bottom: 0 !important; }
    #mobile-events-list.open { max-height: 2000px; opacity: 1; padding-top: 20px !important; }
    #mobile-events-list.events-container, .events-row { gap: 15px !important; }
    .events-row { flex-direction: column; align-items: center; width: 100%; }
    .event-link { width: 100%; }
    .event-circle { width: 100%; height: auto; flex-direction: row; justify-content: flex-start; background: transparent; border: none; padding: 10px 0; border-radius: 0; }
    .event-icon { width: 65px; height: 65px; min-width: 65px; border-radius: 50%; border: 2px solid var(--color-accent); background-color: var(--color-white); padding: 16px; margin-bottom: 0; margin-right: 20px; color: var(--color-accent); transition: all 0.4s ease; }
    .event-circle h3 { font-size: 1.2rem; letter-spacing: 1px; text-align: left; color: var(--color-text-dark); }
    .event-link:hover .event-circle { transform: translateX(10px); background: transparent; }
    .event-link:hover .event-icon { background-color: var(--color-bg-green); border-color: var(--color-bg-green); color: var(--color-white); box-shadow: 0 10px 20px rgba(36, 64, 48, 0.2); }
    .event-link:hover .event-circle h3 { color: var(--color-bg-green); }

    /* Recensioni Mobile */
    /* --- TOGLIAMO LO SCHERMO INTERO A EVENTI E RECENSIONI SU MOBILE --- */
    .events-section, 
    .reviews-section {
        min-height: auto !important;   /* Annulla il 100vh */
        padding-top: 60px !important;  /* Margini più proporzionati per il telefono */
        padding-bottom: 60px !important;
    }

    /* Recensioni Mobile */
    .carousel-container { display: block !important; position: relative; }
    .carousel-slide { padding: 0 15px !important; }
    .review-text { font-size: 1.15rem !important; line-height: 1.5; margin-bottom: 20px; }
    
    /* FRECCE SENZA ALONE */
    .carousel-btn { 
        position: absolute !important; 
        top: 40%; 
        transform: translateY(-50%); 
        background: transparent !important; /* Elimina il cerchio semitrasparente */
        width: auto !important; 
        height: auto !important; 
        border-radius: 0 !important;
        display: flex; 
        align-items: center; 
        justify-content: center; 
        padding: 10px !important; /* Spazio invisibile per non cliccare a vuoto */
        font-size: 2rem !important; /* Freccia leggermente ingrandita per compensare */
    }
    .prev-btn { left: -10px; }
    .next-btn { right: -10px; }
}

/* --- SCHERMI MICROSCOPICI (Fino a 400px) --- */
@media (max-width: 400px) {
    .hero h1 { font-size: 1.8rem !important; }
    .section-title { font-size: 1.4rem !important; }
    .text-content h2 { font-size: 1.5rem !important; }
    .front-overlay h3 { font-size: 1.4rem !important; }
    .carosello-scroll .slide-title { font-size: 1.8rem !important; }
}