/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;500;600&family=Lato:wght@300;400;700&family=Crimson+Text:wght@400;600&display=swap');

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

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #c9a96e;
    --accent-color: #b89355;
    --text-dark: #2c2c2c;
    --text-light: #7a7a7a;
    --text-lighter: #999;
    --bg-light: #fafafa;
    --bg-cream: #f5f3f0;
    --white: #ffffff;
    --shadow: 0 10px 40px rgba(0,0,0,0.08);
    --shadow-hover: 0 15px 50px rgba(0,0,0,0.12);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Crimson Text', 'Playfair Display', Georgia, serif;
    line-height: 1.8;
    color: var(--text-dark);
    background-color: var(--white);
    font-size: 17px;
    letter-spacing: 0.3px;
}

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

/* Header */
header {
    background: var(--white);
    color: var(--text-dark);
    padding: 1.5rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}

.header-content {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 3rem;
}

.logo h1 {
    font-size: 1rem;             /* RIDOTTO PER STARE SU 1 RIGA */
    font-weight: 300;
    letter-spacing: 2px;         /* RIDOTTO SPAZIO TRA LETTERE */
    margin: 0;
    color: var(--text-dark);
    text-transform: uppercase;
    white-space: nowrap;         /* Impedisce a capo */
}



.logo p {
    font-size: 0.7rem;           /* Era 0.85rem - RIDOTTO */
    color: var(--text-light);
    margin: 0.2rem 0 0 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* ========== FLEXBOX LOGO + TESTO ========== */
.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stemma-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    flex-shrink: 0;
}

/* ========== HAMBURGER MENU ========== */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 6px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 2.5px;
    background-color: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* ========== NAV DESKTOP ========== */
nav {
    flex: 1;
    text-align: right;
    margin-left: 2rem;
}



nav ul {
    list-style: none;
    display: flex;
    gap: 3rem;
}

nav a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
    font-family: 'Lato', sans-serif;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

nav a:hover {
    color: var(--secondary-color);
}

nav a:hover::after {
    width: 100%;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* HERO SECTION - RISOLTA */
/* ═══════════════════════════════════════════════════════════════════════════ */

.hero {
    background: linear-gradient(rgba(26, 26, 26, 0.4), rgba(26, 26, 26, 0.4)),
                url('../images/hero.jpg') center/cover no-repeat;
    background-position: center 40%;
    background-attachment: scroll;
    color: var(--white);
    text-align: center;
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    max-height: 90vh;
    overflow: visible;
}

.hero-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 80px 40px 80px 40px;
    position: relative;
    z-index: 1;
}

/* PARTE SUPERIORE - TITOLI */
.hero-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    flex: 1;
}

.hero h2 {
    font-size: 3.5rem;
    margin: 0 0 1rem 0;
    font-weight: 600;
    letter-spacing: 10px;
    text-transform: uppercase;
    font-family: 'Cormorant Garamond', serif;
    line-height: 1.2;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.8), 0 0 30px rgba(201,169,110,0.4);
    color: #ffffff;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 6px;
    color: #d4af37;
    margin: 0;
    text-shadow: 3px 3px 8px rgba(0,0,0,1);
}

/* PARTE INFERIORE - DESCRIZIONE E PULSANTE */
.hero-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
    flex-shrink: 0;
}

.hero-description {
    font-family: 'Lato', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    margin: 0;
    max-width: 600px;
    line-height: 1.6;
    text-shadow: 2px 2px 6px rgba(0,0,0,1);
}

.btn-hero {
    font-size: 1rem;
    padding: 1rem 2.5rem;
    background: #d4af37;
    border: 3px solid #d4af37;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #1a1a1a;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-hero:hover {
    background: transparent;
    color: #d4af37;
}

/* RESPONSIVE - TABLET */
@media (max-width: 1024px) {
    .hero {
        aspect-ratio: 16 / 11;
        max-height: 85vh;
        background-position: center 35%;
    }
    
    .hero-content {
        padding: 70px 30px 70px 30px;
    }
    
    .hero h2 {
        font-size: 2.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
}

/* RESPONSIVE - MOBILE */
@media (max-width: 768px) {
    .hero {
        aspect-ratio: 1 / 1.2;
        max-height: 80vh;
        background-position: center 30%;
    }
    
    .hero-content {
        padding: 60px 20px 60px 20px;
    }
    
    .hero h2 {
        font-size: 2rem;
        letter-spacing: 6px;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
        letter-spacing: 4px;
    }
    
    .hero-description {
        font-size: 0.95rem;
        max-width: 90%;
    }
    
    .hero-bottom {
        gap: 1rem;
    }
    
    .btn-hero {
        font-size: 0.9rem;
        padding: 0.8rem 2rem;
    }
}

/* RESPONSIVE - MOBILE PICCOLI */
@media (max-width: 480px) {
    .hero {
        aspect-ratio: 1 / 1.4;
        max-height: 75vh;
        background-position: center 25%;
    }
    
    .hero-content {
        padding: 50px 15px 50px 15px;
    }
    
    .hero h2 {
        font-size: 1.5rem;
        letter-spacing: 4px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        letter-spacing: 3px;
    }
    
    .hero-description {
        font-size: 0.9rem;
    }
    
    .btn-hero {
        font-size: 0.85rem;
        padding: 0.7rem 1.8rem;
    }
}


.btn {
    display: inline-block;
    padding: 1.2rem 3.5rem;
    background-color: transparent;
    color: var(--white);
    text-decoration: none;
    border: 2px solid var(--white);
    font-weight: 400;
    transition: var(--transition);
    cursor: pointer;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Lato', sans-serif;
}

.btn:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(201, 169, 110, 0.3);
}

.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Sezioni */
section {
    padding: 80px 0;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 8px;
    font-weight: 600;
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-dark);
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 3rem;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
}

/* Camere */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.room-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.room-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-8px);
}

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

.room-info {
    padding: 2rem;
}

.room-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.room-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

.room-price {
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.room-features {
    list-style: none;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.room-features li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.room-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

.btn-book {
    width: 100%;
    padding: 1rem;
    background: var(--secondary-color);
    color: var(--white);
    border: 2px solid var(--secondary-color);
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Lato', sans-serif;
}

.btn-book:hover {
    background: transparent;
    color: var(--secondary-color);
}

/* Servizi */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    transition: var(--transition);
    background: var(--bg-light);
}

.service-card:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: inherit;
    font-weight: 600;
}

.service-description {
    color: inherit;
    opacity: 0.9;
    line-height: 1.8;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--text-dark);
    cursor: pointer;
    background: none;
    border: none;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--secondary-color);
}

.modal-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    font-weight: 600;
}

.modal-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.footer-section a,
.footer-section p {
    display: block;
    margin-bottom: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    border-top: 1px solid rgba(201, 169, 110, 0.2);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

/* Utility */
.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 3rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.hidden {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* SEZIONI GALLERY E COLAZIONE */
/* ═══════════════════════════════════════════════════════════════════════════ */

.gallery-slider-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 3rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.gallery-slider {
    position: relative;
    width: 100%;
    height: 600px;
    background: #000;
}

.gallery-slide {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
}

.gallery-slide.active {
    display: flex;
    flex-direction: column;
    animation: fadeGallery 0.5s;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-slide img:hover {
    transform: scale(1.02);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
    padding: 2rem 2rem 1.5rem;
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    text-align: center;
    line-height: 1.6;
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.gallery-nav:hover {
    background: rgba(212, 175, 55, 1);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    z-index: 10;
}

.gallery-thumbnails {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-behavior: smooth;
}

.gallery-thumbnails::-webkit-scrollbar {
    height: 8px;
}

.gallery-thumbnails::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.gallery-thumbnails::-webkit-scrollbar-thumb {
    background: #c9a96e;
    border-radius: 10px;
}

.gallery-thumb {
    flex: 0 0 150px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s;
    opacity: 0.6;
}

.gallery-thumb:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.gallery-thumb.active {
    border-color: #d4af37;
    opacity: 1;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
}

.gallery-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    max-width: 98%;
    max-height: 95vh;
}

.lightbox-content img {
    max-width: 98%;
    max-height: 95vh;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-caption-box {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    max-width: 80%;
    text-align: center;
    font-size: 1.1rem;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 1rem;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(212, 175, 55, 0.9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 11;
}

.lightbox-nav:hover {
    background: rgba(212, 175, 55, 1);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(212, 175, 55, 0.9);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 11;
}

.lightbox-close:hover {
    background: rgba(212, 175, 55, 1);
    transform: scale(1.1);
}

/* BREAKFAST SLIDER */
.breakfast-slider {
    position: relative;
    width: 100%;
    height: 400px;
}

.breakfast-slide {
    display: none;
    animation: fadeSlide 0.5s;
}

.breakfast-slide.active {
    display: block;
}

@keyframes fadeSlide {
    from { opacity: 0.6; }
    to { opacity: 1; }
}

@keyframes fadeGallery {
    from { opacity: 0; }
    to { opacity: 1; }
}

.breakfast-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: pointer;
}

.breakfast-controls {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.breakfast-dot {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s;
}

.breakfast-dot.active {
    background-color: #d4af37;
    transform: scale(1.2);
}

/* BREAKFAST LIGHTBOX */
.breakfast-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
}

.breakfast-lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 1024px) {
    .mappa-container {
        gap: 25px;
    }
    
    .map-embed {
        height: 450px;
    }
    
    .map-info-box {
        padding: 25px;
    }
    
    .rooms-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        letter-spacing: 4px;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .rooms-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-slider {
        height: 400px;
    }
    
    .breakfast-slider {
        height: 300px;
    }
    
    .mappa-section {
        padding: 60px 0;
        margin: 40px 0;
    }
    
    .mappa-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .map-embed {
        height: 400px;
    }
    
    .map-info-box {
        padding: 20px;
    }
    
    footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 40px 0;
    }
    
    .section-title {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .room-card,
    .service-card {
        padding: 1.5rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .modal-image {
        height: 250px;
    }
    
    .gallery-slider {
        height: 300px;
    }
    
    .breakfast-slider {
        height: 250px;
    }
    
    .gallery-caption {
        padding: 1.5rem 1rem 1rem;
        font-size: 0.9rem;
    }
    
    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .gallery-prev {
        left: 10px;
    }
    
    .gallery-next {
        right: 10px;
    }
    
    .mappa-section {
        padding: 40px 0;
        margin: 30px 0;
    }
    
    .map-embed {
        height: 300px;
    }
    
    .map-info-box {
        padding: 15px;
        gap: 15px;
    }
    
    .info-item {
        gap: 12px;
    }
    
    .info-item .info-icon {
        font-size: 24px;
        min-width: 35px;
    }
    
    .info-item h4 {
        font-size: 0.95rem;
    }
    
    .info-item p {
        font-size: 0.85rem;
    }
    
    .btn-secondary {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    footer {
        padding: 1.5rem 0 0.5rem;
    }
    
    .footer-content {
        gap: 1rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* RESPONSIVE HEADER - MOBILE MENU */
/* ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }
    
    header {
        padding: 0.8rem 0;
    }
    
    .header-content {
        flex-wrap: wrap;
        gap: 0.8rem;
        justify-content: flex-start;
    }
    
    .logo {
        gap: 0.6rem;
        order: 1;
        flex-basis: auto;
    }
    
    .stemma-logo {
        width: 45px;
        height: 45px;
    }
    
    .logo h1 {
        font-size: 0.9rem;
        letter-spacing: 1.2px;
    }
    
    .logo p {
        font-size: 0.65rem;
    }
    
    .hamburger {
        display: flex;
        order: 2;
        margin-left: auto;
    }
    
    nav#nav-menu {
        position: absolute;
        top: calc(100% + 0px);
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
        border-bottom: 1px solid rgba(201, 169, 110, 0.2);
    }
    
    nav#nav-menu.active {
        max-height: 400px;
    }
    
    nav#nav-menu ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }
    
    nav#nav-menu li {
        border-bottom: 1px solid rgba(201, 169, 110, 0.1);
    }
    
    nav#nav-menu li:last-child {
        border-bottom: none;
    }
    
    nav#nav-menu a {
        padding: 1rem 2rem;
        display: block;
        font-size: 0.85rem;
    }
    
    nav#nav-menu a:hover {
        background-color: var(--bg-light);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    header {
        padding: 0.6rem 0;
    }
    
    .header-content {
        gap: 0.6rem;
    }
    
    .logo {
        gap: 0.5rem;
    }
    
    .stemma-logo {
        width: 40px;
        height: 40px;
    }
    
    .logo h1 {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }
    
    .logo p {
        font-size: 0.6rem;
    }
    
    .hamburger {
        padding: 0.3rem;
    }
    
    .hamburger span {
        width: 22px;
        height: 2px;
    }
    
    nav#nav-menu a {
        padding: 0.8rem 1.5rem;
        font-size: 0.8rem;
    }
}


/* ========== LANDSCAPE MOBILE ========== */

@media (max-height: 600px) and (orientation: landscape) {
    header {
        padding: 0.4rem 0;
    }
    
    .header-content {
        gap: 0.4rem;
    }
    
    .logo {
        gap: 0.3rem;
    }
    
    .stemma-logo {
        width: 35px;
        height: 35px;
    }
    
    .logo h1 {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }
    
    .logo p {
        font-size: 0.5rem;
        letter-spacing: 0.2px;
    }
    
    .hamburger span {
        width: 20px;
        height: 2px;
    }
    
    /* Menu ridotto su landscape */
    nav#nav-menu ul {
        gap: 0.5rem;
    }
    
    nav#nav-menu a {
        padding: 0.6rem 1rem;
        font-size: 0.7rem;
    }
    
    nav ul {
        gap: 1.5rem;
    }
    
    nav a {
        font-size: 0.8rem;
    }
}

@media (max-width: 375px) {
    .container {
        padding: 0 10px;
    }
    
    header {
        padding: 0.5rem 0;
    }
    
    .stemma-logo {
        width: 38px;
        height: 38px;
    }
    
    .logo h1 {
        font-size: 0.8rem;
        letter-spacing: 0.8px;
    }
    
    .logo p {
        font-size: 0.55rem;
    }
    
    .hamburger span {
        width: 20px;
    }
    
    nav#nav-menu a {
        padding: 0.7rem 1.2rem;
        font-size: 0.75rem;
    }
}
/* ═══════════════════════════════════════════════════════════════════════════ */
/* SEZIONE MAPPA GOOGLE MAPS EMBED */
/* ═══════════════════════════════════════════════════════════════════════════ */

.mappa-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    margin: 60px 0;
}

.mappa-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    align-items: stretch;
}

.map-embed {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: none;
    overflow: hidden;
}

.map-info-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.info-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.info-item .info-icon {
    font-size: 28px;
    min-width: 40px;
    text-align: center;
    flex-shrink: 0;
}

.info-item h4 {
    margin: 0 0 8px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    font-family: 'Montserrat', sans-serif;
}

.info-item p {
    margin: 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-item a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.map-actions {
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.btn-secondary {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
    font-family: 'Lato', sans-serif;
}

.btn-secondary:hover {
    background: transparent;
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════════════════════ */
/* RESPONSIVE MAPPA */
/* ═══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
    .mappa-container {
        gap: 25px;
    }
    
    .map-embed {
        height: 450px;
    }
    
    .map-info-box {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .mappa-section {
        padding: 60px 0;
        margin: 40px 0;
    }
    
    .mappa-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .map-embed {
        height: 400px;
    }
    
    .map-info-box {
        padding: 20px;
    }
    
    .mappa-section .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .mappa-section {
        padding: 40px 0;
        margin: 30px 0;
    }
    
    .mappa-container {
        gap: 15px;
    }
    
    .map-embed {
        height: 300px;
    }
    
    .map-info-box {
        padding: 15px;
        gap: 15px;
    }
    
    .info-item {
        gap: 12px;
    }
    
    .info-item .info-icon {
        font-size: 24px;
        min-width: 35px;
    }
    
    .info-item h4 {
        font-size: 0.95rem;
    }
    
    .info-item p {
        font-size: 0.85rem;
    }
    
    .btn-secondary {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .mappa-section .section-title {
        font-size: 1.6rem;
    }
    
    .mappa-section .section-subtitle {
        font-size: 0.9rem;
    }
}