:root {
    --navy: #232654;
    --navy-dark: #181a3d;
    --sea: #1e73be;
    --sand: #f8f5ef;
    --gold: #c99a45;
    --text: #2c303a;
    --text-muted: #5e6472;
    --white: #ffffff;
    --border: #e5e2dc;
    --shadow: 0 10px 30px rgba(35, 38, 84, 0.08);
    --radius: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    background-color: var(--white);
    line-height: 1.7;
    font-size: 16px;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
    line-height: 1.25;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER & NAVIGATION */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 82px;
    gap: 16px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 50%;
}

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

.brand-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--navy);
    letter-spacing: 0.5px;
}

.brand-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 18px;
}

.nav-list > li > a,
.dropdown-trigger {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy);
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.nav-list > li > a:hover,
.nav-list > li > a.active,
.dropdown-trigger:hover,
.dropdown-trigger.active {
    color: var(--sea);
}

.nav-highlight {
    background: var(--navy) !important;
    color: var(--white) !important;
    padding: 9px 16px !important;
    border-radius: 50px;
}

.nav-highlight:hover {
    background: var(--sea) !important;
}

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #e53935;
    border-radius: 50%;
    animation: pulseLive 1.5s infinite;
}

@keyframes pulseLive {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(229, 57, 53, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(229, 57, 53, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(229, 57, 53, 0); }
}

/* DROPDOWN */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 230px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    list-style: none;
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.dropdown-open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 18px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--navy);
    transition: background 0.2s ease;
}

.dropdown-menu li a:hover,
.dropdown-menu li a.active {
    background: var(--sand);
    color: var(--sea);
    font-weight: 600;
}

/* SELETTORE LINGUA CON BANDIERINE */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 1px solid var(--border);
    padding-left: 14px;
}

.flag-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px !important;
    border-radius: 50px;
    border: 1.5px solid transparent;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    background: var(--sand);
    transition: all 0.2s ease;
}

.flag-btn:hover {
    border-color: var(--sea);
    color: var(--navy);
}

.flag-btn.active-lang {
    border-color: var(--navy);
    background: var(--white);
    color: var(--navy);
    box-shadow: 0 2px 8px rgba(35, 38, 84, 0.12);
}

.flag-icon {
    width: 20px;
    height: 14px;
    border-radius: 2px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.25);
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    width: 26px;
    height: 3px;
    background: var(--navy);
    border-radius: 2px;
}

/* HERO SLIDER (HOME) */
.hero-slider {
    position: relative;
    height: 78vh;
    min-height: 500px;
    max-height: 780px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.slides-wrapper,
.hero-slide {
    position: absolute;
    inset: 0;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 1s ease, transform 6s ease;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(24, 26, 61, 0.45) 0%, rgba(24, 26, 61, 0.72) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
    max-width: 820px;
}

/* PAGE BANNER (PAGINE INTERNE) */
.page-banner {
    position: relative;
    min-height: 320px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 64px 0;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(24, 26, 61, 0.62) 0%, rgba(24, 26, 61, 0.82) 100%);
}

.page-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 820px;
}

.page-banner-content h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 4.5vw, 3.4rem);
    margin-bottom: 12px;
}

.page-banner-content p {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    opacity: 0.94;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.hero-content h1 {
    color: var(--white);
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    margin-bottom: 16px;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.hero-content p {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    margin-bottom: 30px;
    opacity: 0.95;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: #b58735;
    transform: translateY(-2px);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.14);
    border: 2px solid var(--white);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
}

.btn-navy {
    background: var(--navy);
    color: var(--white);
}

.btn-navy:hover {
    background: var(--sea);
    transform: translateY(-2px);
}

/* SLIDER CONTROLS */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(35, 38, 84, 0.55);
    color: var(--white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s ease;
}

.slider-arrow:hover {
    background: var(--navy);
}

.slider-arrow.prev { left: 18px; }
.slider-arrow.next { right: 18px; }

.slider-dots {
    position: absolute;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: all 0.2s ease;
}

.slider-dot.active {
    background: var(--white);
    transform: scale(1.25);
}

/* CONTENT SECTIONS */
.content-section {
    padding: 84px 0;
}

.section-alt {
    background-color: var(--sand);
}

.split-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 54px;
    align-items: center;
}

.split-grid.reverse .split-text {
    order: 2;
}

.split-grid.reverse .split-media {
    order: 1;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--sea);
    margin-bottom: 10px;
}

.split-text h2 {
    font-size: clamp(1.9rem, 3.2vw, 2.6rem);
    margin-bottom: 20px;
}

.split-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    margin: 24px 0 12px;
    color: var(--navy);
}

.split-text p {
    margin-bottom: 16px;
    color: var(--text);
}

.feature-list {
    list-style: none;
    margin-bottom: 22px;
}

.feature-list li {
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--sea);
    font-weight: 700;
}

.cert-box,
.hours-box {
    background: var(--white);
    border-left: 4px solid var(--navy);
    padding: 16px 20px;
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: var(--shadow);
    margin-top: 20px;
}

.cert-box p,
.hours-box p {
    margin: 0;
    font-size: 0.95rem;
}

.split-media {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.split-media img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    object-fit: cover;
    max-height: 360px;
}

/* PAGINA RISTORANTE & GALLERY CLICCABILE */
.restaurant-intro-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--white);
}

.restaurant-intro-card h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin-bottom: 22px;
}

.restaurant-intro-card p {
    margin-bottom: 18px;
    font-size: 1.04rem;
    color: var(--text);
}

.lead-closing {
    font-weight: 500;
    color: var(--navy) !important;
}

.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
}

.gallery-item-btn {
    position: relative;
    border: none;
    padding: 0;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    cursor: pointer;
    aspect-ratio: 4 / 3;
    display: block;
}

.gallery-item-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.gallery-zoom-badge {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(35, 38, 84, 0.85);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.25s ease;
}

.gallery-item-btn:hover .gallery-zoom-badge {
    opacity: 1;
    transform: translateY(0);
}

/* LIGHTBOX MODAL */
.lightbox-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(15, 17, 42, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.lightbox-modal.open {
    display: flex;
}

.lightbox-stage {
    max-width: 92vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.lightbox-stage img {
    max-width: 100%;
    max-height: 76vh;
    border-radius: 10px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-caption {
    color: var(--white);
    margin-top: 14px;
    font-size: 1rem;
    font-weight: 500;
}

.lightbox-counter {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    margin-top: 4px;
}

.lightbox-close {
    position: absolute;
    top: 18px;
    right: 24px;
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.8rem;
    line-height: 1;
    cursor: pointer;
}

.lightbox-close:hover {
    background: var(--gold);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.14);
    color: var(--white);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.3rem;
    cursor: pointer;
}

.lightbox-nav:hover {
    background: var(--gold);
}

.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

/* GOOGLE REVIEWS */
.reviews-section {
    padding: 84px 0;
    background: var(--navy);
    color: var(--white);
}

.section-header-center {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}

.reviews-section .section-tag {
    color: var(--gold);
}

.reviews-section h2 {
    color: var(--white);
    font-size: clamp(1.9rem, 3.2vw, 2.5rem);
    margin-bottom: 10px;
}

.reviews-section .section-header-center p {
    opacity: 0.85;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.review-card {
    background: var(--white);
    color: var(--text);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.review-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reviewer-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--navy);
    color: var(--white);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviewer-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--navy);
}

.review-date {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.google-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f3f4;
    color: #4285f4;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.review-stars {
    color: #fbbc04;
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.review-text {
    font-size: 0.94rem;
    color: var(--text);
    line-height: 1.6;
}

/* FOOTER */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.85);
    padding-top: 64px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.footer-brand img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--white);
    padding: 3px;
}

.footer-brand h3 {
    color: var(--white);
    font-size: 1.4rem;
}

.footer-col h4 {
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
}

.footer-contacts,
.footer-links {
    list-style: none;
}

.footer-contacts li,
.footer-links li {
    margin-bottom: 10px;
    font-size: 0.92rem;
}

.footer-links a:hover,
.footer-contacts a:hover {
    color: var(--gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 20px 0;
    font-size: 0.85rem;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* RESPONSIVE / MOBILE FRIENDLY */
@media (max-width: 1080px) {
    .nav-toggle {
        display: flex;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        display: none;
        padding: 20px;
    }

    .main-nav.open {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .nav-list > li {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--sand);
        display: none;
        margin-top: 6px;
    }

    .has-dropdown.dropdown-open .dropdown-menu {
        display: block;
    }

    .lang-switcher {
        border-left: none;
        padding-left: 0;
        padding-top: 12px;
        border-top: 1px solid var(--border);
    }

    .split-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .split-grid.reverse .split-text,
    .split-grid.reverse .split-media {
        order: initial;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .hero-slider {
        height: 70vh;
        min-height: 440px;
    }

    .slider-arrow,
    .lightbox-nav {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }

    .lightbox-nav.prev { left: 10px; }
    .lightbox-nav.next { right: 10px; }

    .content-section,
    .reviews-section {
        padding: 58px 0;
    }
}
