@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

:root {
    --primary-color: #7A1C1C; /* Bordeaux/Rosso Vino caldo */
    --secondary-color: #D4AF37; /* Oro Antico */
    --accent-color: #2C1810; /* Marrone Fondente Scuro (Sostituisce il nero per un effetto più caldo da panificio) */
    
    --bg-color: #FDFBF7; /* Sfondo panna/crema caldissimo al posto del bianco puro */
    --bg-light: #F4EFEA; /* Crema leggermente più intenso per le sezioni alternate */
    
    --text-color: #2C1810; 
    --text-light: #5A4A42;
    
    --font-heading: 'Playfair Display', serif;
    --font-main: 'Montserrat', sans-serif;
    
    --border-radius: 2px;
    --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-color); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--secondary-color); }
img { max-width: 100%; height: auto; display: block; }

.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 4rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 4rem; }
.p-2 { padding: 3rem 2rem; }
.bg-light { background-color: var(--bg-light); }
.shadow-lg { box-shadow: 0 15px 40px rgba(44,24,16,0.08); }
.w-100 { width: 100%; }

.container { width: 90%; max-width: 1380px; margin: 0 auto; }
.section-padding { padding: 6rem 0; }

.grid-2 { display: grid; grid-template-columns: 1fr; gap: 3rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 3rem; }
@media(min-width: 768px) {
    .grid-2 { grid-template-columns: 1fr 1fr; }
    .grid-3 { grid-template-columns: repeat(3, 1fr); }
}

.font-heading, h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 600; color: var(--accent-color); }
.section-title { font-size: 2.8rem; margin-bottom: 1rem; line-height: 1.2; }
.section-text { font-size: 1.05rem; color: var(--text-light); max-width: 800px; margin: 0 auto; }
.gold-divider { height: 2px; width: 60px; background-color: var(--secondary-color); margin: 1.5rem 0; }
.center-div { margin: 1.5rem auto; }

/* Top Bar */
.top-bar { background-color: var(--accent-color); color: #F4F1EA; padding: 0.6rem 0; font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; z-index: 999; position: relative; overflow: visible; }
.top-bar-carousel { display: grid; grid-template-areas: "stack"; place-items: center; width: 100%; min-height: 2rem; }
.news-item { grid-area: stack; width: 100%; text-align: center; line-height: 1.4; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s; pointer-events: none; }
.news-item.active { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; }
@media (max-width: 768px) { .top-bar { font-size: 0.75rem; padding: 0.5rem 0; } .top-bar-carousel { min-height: 2.5rem; } }

/* Navbar con Logo Gigante (Stile Riferimento) */
.navbar { background-color: rgba(253, 251, 247, 0.98); padding: 0.5rem 0; border-bottom: 1px solid #E6DED5; position: sticky; top: 0; z-index: 1000; }
.nav-container { display: flex; justify-content: space-between; align-items: center; }
.logo-container { display: flex; align-items: center; gap: 20px; text-decoration: none; }
.site-logo { 
    width: 150px; /* Logo ancora più grande e imponente come richiesto */
    height: 150px; 
    object-fit: contain; 
    border-radius: 50%; 
    box-shadow: 0 6px 20px rgba(44,24,16,0.15); 
    border: 3px solid var(--secondary-color); 
    background-color: #FFFFFF;
    margin: -15px 0; /* Permette al logo di fuoriuscire elegantemente dalla barra */
    position: relative;
    top: 13px;
    z-index: 1002;
    transition: transform 0.3s ease;
}
.logo-container:hover .site-logo { transform: scale(1.04); }
.logo-text { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 700; color: var(--accent-color); letter-spacing: -0.5px; }

.footer-logo-container { display: flex; align-items: center; gap: 20px; margin-bottom: 1rem; justify-content: center; }
@media(min-width: 768px) { .footer-logo-container { justify-content: flex-start; } }
.footer-site-logo { width: 100px; height: 100px; object-fit: contain; border-radius: 50%; border: 3px solid var(--secondary-color); box-shadow: 0 4px 15px rgba(0,0,0,0.3); background-color: #FFFDF7; }
.footer-logo { font-family: var(--font-heading); font-size: 2.5rem; color: white; margin-bottom: 0; }

.nav-links { display: none; }
.nav-links.active { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%; background-color: #FDFBF7; padding: 2rem; border-bottom: 1px solid #E6DED5; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.nav-links a { padding: 0.8rem 1rem; font-size: 0.9rem; font-weight: 600; color: var(--text-color); text-transform: uppercase; letter-spacing: 1.5px; }
.nav-links a.active { color: var(--primary-color); }
.nav-links a:hover { color: var(--primary-color); }
.mobile-toggle { display: block; background: none; border: none; font-size: 2.2rem; cursor: pointer; color: var(--accent-color); }

@media(min-width: 768px) {
    .mobile-toggle { display: none; }
    .nav-links { display: flex !important; flex-direction: row; position: static; width: auto; padding: 0; background: transparent; box-shadow: none; border: none; }
    .nav-links a { padding: 0.5rem 1.2rem; }
}

@media(max-width: 768px) {
    .site-logo { width: 85px; height: 85px; margin: -8px 0; }
    .logo-text { font-size: 1.4rem; }
    .logo-container { gap: 12px; }
}

/* Hero Section */
.hero { position: relative; height: 70vh; display: flex; align-items: center; justify-content: center; text-align: center; color: white; background-size: cover; background-position: center; }
.hero-large { height: 90vh; background-image: url('https://images.unsplash.com/photo-1509440159596-0249088772ff?auto=format&fit=crop&w=1600&q=80'); }
.inner-hero { position: relative; height: 50vh; background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to bottom, rgba(44,24,16,0.4), rgba(44,24,16,0.85)); }
.hero-content, .inner-hero-content { position: relative; z-index: 1; max-width: 900px; padding: 2rem; }
.hero-subtitle { font-family: var(--font-main); text-transform: uppercase; letter-spacing: 4px; font-size: 0.85rem; color: var(--secondary-color); display: block; margin-bottom: 1.5rem; }
.hero h1 { color: white; font-size: 4.5rem; line-height: 1.1; margin-bottom: 1.5rem; font-weight: 400; font-style: italic;}
.hero p { font-size: 1.2rem; color: #F4F1EA; margin-bottom: 3rem; font-weight: 300; }
.hero-buttons { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; }

@media(max-width: 768px) {
    .hero h1 { font-size: 2.8rem; }
    .hero-large { height: 80vh; }
}

/* Bottoni */
.btn { display: inline-block; padding: 1rem 2.5rem; border-radius: var(--border-radius); font-weight: 500; text-align: center; cursor: pointer; border: 1px solid transparent; transition: var(--transition); text-transform: uppercase; letter-spacing: 1px; font-size: 0.85rem; }
.btn-primary { background-color: var(--primary-color); color: white !important; }
.btn-primary:hover { background-color: #5E1313; }
.btn-outline-light { background-color: transparent; border-color: white; color: white !important; }
.btn-outline-light:hover { background-color: white; color: var(--accent-color) !important; }
.btn-outline { background-color: transparent; border-color: var(--accent-color); color: var(--accent-color) !important; }
.btn-outline:hover { background-color: var(--accent-color); color: white !important; }
.btn-link { color: var(--primary-color); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; display:inline-block;}
.btn-link:hover { color: var(--secondary-color); }

/* Editorial Blocks */
.editorial-block { display: flex; flex-direction: column; gap: 3rem; align-items: center; }
.editorial-block.reverse { flex-direction: column; }
@media(min-width: 900px) {
    .editorial-block { flex-direction: row; gap: 5rem; }
    .editorial-block.reverse { flex-direction: row-reverse; }
    .editorial-text, .editorial-img-box { flex: 1; }
}
.editorial-img-box { width: 100%; position: relative; }
.editorial-img { width: 100%; height: 500px; object-fit: cover; border-radius: var(--border-radius); }

/* Cards */
.card { background: white; border-radius: var(--border-radius); overflow: hidden; border: 1px solid #EAE4DC; transition: var(--transition); }
.premium-card { border: none; border-bottom: 2px solid var(--secondary-color); background: #FFFFFF; }
.premium-card:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(44,24,16,0.08); }
.card-img-container { overflow: hidden; }
.card-img { width: 100%; height: 250px; object-fit: cover; transition: transform 0.8s ease; }
.premium-card:hover .card-img { transform: scale(1.05); }
.card-content { padding: 3rem 2rem; }
.card-content h3 { font-size: 1.6rem; margin-bottom: 1rem; }
.card-actions { margin-top: 2rem; display: flex; gap: 1rem; flex-direction: column; }
@media(min-width: 480px) { .card-actions { flex-direction: row; } }

/* Marquee / Infinite Image Gallery */
.marquee-section { width: 100%; overflow: hidden; padding: 3rem 0; background-color: var(--accent-color); }
.marquee-track { display: flex; width: max-content; animation: scroll-marquee 40s linear infinite; }
.marquee-track img { height: 350px; width: 280px; object-fit: cover; margin-right: 2rem; border-radius: 2px; transition: filter 0.3s; }

@keyframes scroll-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); }
}
@media(max-width: 768px) {
    .marquee-track img { height: 250px; width: 200px; margin-right: 1rem;}
    @keyframes scroll-marquee {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-50% - 0.5rem)); }
    }
}

/* Punti di Forza */
.strengths-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media(min-width: 600px) { .strengths-grid { grid-template-columns: 1fr 1fr; } }
@media(min-width: 900px) { .strengths-grid { grid-template-columns: repeat(4, 1fr); } }
.strength-card { padding: 1.5rem; text-align: center; background: #FFFFFF; border: 1px solid #EAE4DC; }
.strength-icon { font-size: 2.5rem; margin-bottom: 1.5rem; display: block; color: var(--secondary-color);}
.strength-card h4 { font-size: 1.2rem; margin-bottom: 1rem; }

.info-list { list-style: none; margin-bottom: 2rem; }
.info-list li { margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid #EAE4DC; color: var(--text-light); }
.info-list strong { color: var(--accent-color); font-weight: 500;}

.sede-detail-grid { display: grid; grid-template-columns: 1fr; gap: 4rem; align-items: start; }
@media(min-width: 900px) { .sede-detail-grid { grid-template-columns: 1fr 1fr; } }
.sede-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Carosello Recensioni */
.reviews { overflow: hidden; }
.carousel-container { width: 100%; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); padding: 2rem 0; }
.review-track { display: flex; gap: 3rem; width: max-content; animation: scroll-reviews 35s linear infinite; }
.review-track:hover { animation-play-state: paused; }
.review-card { background: white; padding: 3rem; width: 450px; flex-shrink: 0; box-shadow: 0 10px 30px rgba(44,24,16,0.03); border: 1px solid #EAE4DC; text-align: center; }
.review-card .stars { margin-bottom: 1.5rem; font-size: 1.4rem; color: var(--secondary-color); letter-spacing: 2px; }
.review-card p { font-family: var(--font-heading); font-style: italic; font-size: 1.15rem; color: var(--accent-color); margin-bottom: 1.5rem; }
.review-card h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-light);}

@keyframes scroll-reviews {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1.5rem)); }
}
@media(max-width: 768px) { .review-card { width: 320px; padding: 2rem; } }

/* Footer Premium */
.footer-premium { background-color: var(--accent-color); color: #F4F1EA; padding: 6rem 0 2rem 0; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; margin-bottom: 4rem; }
@media(min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-payoff { color: var(--secondary-color); font-style: italic; font-family: var(--font-heading); font-size: 1.1rem; }
.footer-links h4 { color: white; font-size: 1.1rem; margin-bottom: 1.5rem; }
.footer-links a { display: block; color: #AAAAAA; margin-bottom: 0.8rem; font-size: 0.9rem; }
.footer-links a:hover { color: var(--secondary-color); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 2rem; font-size: 0.85rem; color: #888; }
.social-links { display: flex; gap: 1rem; }
.social-links a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1px solid rgba(255,255,255,0.2); border-radius: 50%; color: white; }
.social-links a:hover { border-color: var(--secondary-color); background: var(--secondary-color); color: var(--accent-color); }
.social-links svg { width: 18px; height: 18px; }

.map-responsive { overflow: hidden; padding-bottom: 60%; position: relative; height: 0; border: 1px solid #EAE4DC; }
.map-responsive iframe { left: 0; top: 0; height: 100%; width: 100%; position: absolute; border: 0; }

.copy-icon { cursor: pointer; margin-left: 0.4rem; color: var(--secondary-color); transition: transform 0.2s ease, color 0.3s ease; display: inline-flex; vertical-align: middle; }
.copy-icon:hover { color: var(--primary-color); transform: scale(1.15); }
.copy-icon svg { width: 18px; height: 18px; fill: currentColor; }

.open-status-badge { display: inline-flex; align-items: center; padding: 0.15rem 0.6rem; border-radius: 2px; font-size: 0.7rem; font-weight: 600; margin-left: 0.5rem; vertical-align: middle; text-transform: uppercase; letter-spacing: 1px; }
.badge-open { background-color: #E8F5E9; color: #2E7D32; border: 1px solid #A5D6A7;}
.badge-closed { background-color: #FFEBEE; color: #C62828; border: 1px solid #EF9A9A;}

.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 30px; right: 30px; background-color: #25d366; color: #FFF; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4); z-index: 1000; transition: all 0.3s ease; }
.whatsapp-float:hover { background-color: #128C7E; transform: scale(1.1); }
@media (max-width: 768px) { .whatsapp-float { width: 50px; height: 50px; bottom: 20px; right: 20px; } .whatsapp-float svg { width: 26px; height: 26px; } }


/* FIX DEFINITIVO NAVBAR & MENU A CAPO */
.container {
    width: 94%;
    max-width: 1380px;
}
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    flex-shrink: 0;
}
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--accent-color);
    white-space: nowrap;
}
.nav-links {
    flex-shrink: 0;
}
.nav-links a {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.82rem !important;
    white-space: nowrap !important;
}

/* FIX DEFINITIVO WHATSAPP FLUTTUANTE */
.whatsapp-float {
    position: fixed !important;
    width: 60px !important;
    height: 60px !important;
    bottom: 30px !important;
    right: 30px !important;
    background-color: #25d366 !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
    z-index: 99999 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: transform 0.3s ease, background-color 0.3s ease !important;
}
.whatsapp-float:hover {
    background-color: #128C7E !important;
    transform: scale(1.1) !important;
}
.whatsapp-float svg {
    width: 32px !important;
    height: 32px !important;
    fill: #ffffff !important;
}
@media (max-width: 768px) {
    .whatsapp-float {
        width: 52px !important;
        height: 52px !important;
        bottom: 20px !important;
        right: 20px !important;
    }
    .whatsapp-float svg {
        width: 28px !important;
        height: 28px !important;
    }
}


/* STILI MENU A TENDINA WHATSAPP MULTI-SEDE */
.whatsapp-widget {
    position: fixed !important;
    bottom: 30px !important;
    right: 30px !important;
    z-index: 999999 !important;
}

.whatsapp-float {
    width: 62px !important;
    height: 62px !important;
    background-color: #25d366 !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3) !important;
    cursor: pointer !important;
    transition: transform 0.25s ease, background-color 0.25s ease !important;
}

.whatsapp-float:hover {
    background-color: #1ebe5d !important;
    transform: scale(1.08) !important;
}

.whatsapp-menu {
    display: none;
    position: absolute;
    bottom: 75px;
    right: 0;
    width: 280px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(44, 24, 16, 0.25);
    border: 1px solid #E6DED5;
    overflow: hidden;
    animation: waFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-menu.active {
    display: block !important;
}

@keyframes waFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.wa-menu-header {
    background: #128C7E;
    color: #ffffff;
    padding: 12px 16px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.wa-close-btn {
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.85;
}
.wa-close-btn:hover {
    opacity: 1;
}

.wa-menu-body {
    padding: 14px;
    background: #FDFBF7;
}

.wa-menu-sub {
    font-size: 0.82rem;
    color: #5A4A42;
    margin-bottom: 10px;
    font-weight: 500;
}

.wa-item {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: #ffffff !important;
    padding: 12px 14px !important;
    border-radius: 8px !important;
    margin-bottom: 8px !important;
    border: 1px solid #EAE4DC !important;
    text-decoration: none !important;
    color: #2C1810 !important;
    transition: all 0.2s ease !important;
}

.wa-item:last-child {
    margin-bottom: 0 !important;
}

.wa-item:hover {
    border-color: #25d366 !important;
    background: #F4EFEA !important;
    transform: translateX(3px) !important;
}

.wa-pin {
    font-size: 1.3rem;
}

.wa-item strong {
    display: block;
    font-size: 0.9rem;
    color: #2C1810;
}

.wa-item small {
    display: block;
    font-size: 0.75rem;
    color: #8C7B72;
}

@media (max-width: 768px) {
    .whatsapp-widget {
        bottom: 20px !important;
        right: 20px !important;
    }
    .whatsapp-float {
        width: 54px !important;
        height: 54px !important;
    }
    .whatsapp-menu {
        bottom: 66px;
        right: 0;
        width: 260px;
    }
}
