/* ==========================================
   CSS VARIABLES
   ========================================== */
:root {
    /* Colori Principali */
    --primary-color: #d62828;
    --primary-dark: #9d0208;
    --primary-light: #f77f00;
    --secondary-color: #fcbf49;
    --accent-color: #eae2b7;

    /* Colori Neutri */
    --text-dark: #1a1a1a;
    --text-light: #f8f9fa;
    --text-muted: #6c757d;
    --bg-light: #ffffff;
    --bg-dark: #212529;
    --bg-gray: #f8f9fa;

    /* Ombre */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 16px rgba(0,0,0,0.2);
    --shadow-xl: 0 12px 24px rgba(0,0,0,0.25);

    /* Transizioni */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Spaziature */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Tipografia */
    --font-primary: 'Georgia', 'Times New Roman', serif;
    --font-secondary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

    /* Container */
    --container-max-width: 1200px;
    --container-padding: 1.5rem;

    /* Navbar */
    --navbar-height: 70px;
}

/* ==========================================
   RESET E BASE
   ========================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-secondary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--bg-light);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.section {
    padding: var(--spacing-xl) 0;
}

.section--dark {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title {
    font-family: var(--font-primary);
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: var(--spacing-sm);
    color: inherit;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    margin: 0 auto var(--spacing-sm);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.section--dark .section-subtitle {
    color: var(--accent-color);
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: var(--transition-base);
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255,255,255,0.2);
    transition: var(--transition-base);
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

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

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    height: var(--navbar-height);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.nav-logo {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link--cta {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
}

.nav-link--cta::after {
    display: none;
}

.nav-link--cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition-base);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    margin-top: var(--navbar-height);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    center/cover no-repeat;
    opacity: 0.3;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(214, 40, 40, 0.9) 0%, rgba(157, 2, 8, 0.8) 100%);
}

.hero__content {
    position: relative;
    z-index: 10;
    text-align: center;
    color: white;
    padding: var(--spacing-md);
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero__title {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero__subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: var(--spacing-md);
    font-weight: 300;
    letter-spacing: 1px;
}

.hero__rating {
    margin-bottom: var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: var(--secondary-color);
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.star.half {
    position: relative;
    display: inline-block;
}

.star.half::after {
    content: '★';
    position: absolute;
    left: 0;
    width: 50%;
    overflow: hidden;
    color: var(--secondary-color);
}

.rating-text {
    font-size: 1.1rem;
    font-weight: 500;
}

.hero__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.875rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.scroll-arrow {
    width: 2px;
    height: 20px;
    background: white;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    transform: translateX(-50%) rotate(45deg);
}

/* ==========================================
   QUICK INFO BANNER
   ========================================== */
.quick-info {
    background: white;
    padding: var(--spacing-md) 0;
    box-shadow: var(--shadow-sm);
}

.quick-info__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
}

.info-card {
    text-align: center;
    padding: var(--spacing-sm);
}

.info-card__icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.info-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--primary-color);
}

.info-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.about__text h3 {
    font-family: var(--font-primary);
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.about__text p {
    margin-bottom: var(--spacing-sm);
    font-size: 1.05rem;
    line-height: 1.8;
}

.features-list {
    margin-top: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.feature-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 500;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.2rem;
}

.about__image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.about__image:hover img {
    transform: scale(1.05);
}

/* ==========================================
   SPECIALITÀ SECTION
   ========================================== */
.specialita__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.specialty-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: var(--spacing-md);
    transition: var(--transition-base);
    position: relative;
}

.specialty-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.1);
    box-shadow: var(--shadow-xl);
}

.specialty-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

.specialty-card h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-color);
}

.specialty-card p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

.specialty-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: rgba(252, 191, 73, 0.2);
    color: var(--secondary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

/* ==========================================
   GALLERY SECTION
   ========================================== */
.gallery__filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition-base);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-sm);
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery-item.hidden {
    display: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-base);
}

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

.gallery-item__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: var(--spacing-sm);
    transform: translateY(100%);
    transition: var(--transition-base);
}

.gallery-item:hover .gallery-item__overlay {
    transform: translateY(0);
}

.gallery-item__overlay span {
    font-size: 1.1rem;
    font-weight: 500;
}

/* ==========================================
   RECENSIONI SECTION
   ========================================== */
.recensioni__summary {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    margin: var(--spacing-md) 0;
    flex-wrap: wrap;
}

.rating-summary {
    text-align: center;
}

.rating-summary__score {
    font-size: 4rem;
    font-weight: bold;
    color: var(--secondary-color);
    line-height: 1;
}

.rating-summary__stars {
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 0.5rem 0;
}

.rating-summary__count {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.rating-distribution {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-width: 300px;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-bar__label {
    width: 50px;
    color: var(--accent-color);
}

.rating-bar__bg {
    flex: 1;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    overflow: hidden;
}

.rating-bar__fill {
    height: 100%;
    background: var(--secondary-color);
    transition: width 1s ease;
}

.rating-bar__count {
    width: 40px;
    text-align: right;
    color: var(--accent-color);
    font-size: 0.9rem;
}

.recensioni__carousel {
    position: relative;
    margin-top: var(--spacing-lg);
}

.recensioni__slider {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: var(--spacing-sm) 0;
    scrollbar-width: none;
}

.recensioni__slider::-webkit-scrollbar {
    display: none;
}

.review-card {
    flex: 0 0 350px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: var(--spacing-md);
    transition: var(--transition-base);
}

.review-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-5px);
}

.review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-sm);
}

.review-card__stars {
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.review-card__date {
    color: var(--accent-color);
    font-size: 0.875rem;
}

.review-card__text {
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
    color: var(--text-light);
}

.review-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.review-card__badge {
    display: inline-block;
    background: rgba(252, 191, 73, 0.2);
    color: var(--secondary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    width: fit-content;
}

.review-card__ratings {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: var(--accent-color);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn--prev {
    left: -20px;
}

.carousel-btn--next {
    right: -20px;
}

/* ==========================================
   SERVIZI SECTION
   ========================================== */
.servizi__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.service-card {
    background: var(--bg-gray);
    border-radius: 12px;
    padding: var(--spacing-md);
    text-align: center;
    transition: var(--transition-base);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card__icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================
   ORARI SECTION
   ========================================== */
.orari__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    max-width: 900px;
    margin: 0 auto;
}

.orari__list {
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    padding: var(--spacing-md);
}

.orari__item {
    display: flex;
    justify-content: space-between;
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.orari__item:last-child {
    border-bottom: none;
}

.orari__item--closed {
    opacity: 0.5;
}

.orari__day {
    font-weight: 600;
}

.orari__time {
    color: var(--secondary-color);
}

.orari__note {
    background: rgba(252, 191, 73, 0.1);
    border-left: 4px solid var(--secondary-color);
    padding: var(--spacing-md);
    border-radius: 8px;
}

.orari__note p {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.orari__note p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   ORDINA SECTION
   ========================================== */
.ordina__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.order-card {
    background: white;
    border-radius: 12px;
    padding: var(--spacing-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.order-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.order-card__logo {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
    padding: var(--spacing-sm);
    border-radius: 8px;
}

.order-card__logo--glovo {
    background: #ffc244;
    color: #000;
}

.order-card__logo--justeat {
    background: #ff8000;
    color: white;
}

.order-card__icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.order-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.order-card p {
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
}

.order-card__phone {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.order-card__cta {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: auto;
}

/* ==========================================
   CONTATTI SECTION
   ========================================== */
.contatti__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.contatti__info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-item {
    display: flex;
    gap: var(--spacing-sm);
    background: rgba(255,255,255,0.05);
    padding: var(--spacing-md);
    border-radius: 12px;
}

.contact-item__icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item__content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.contact-item__content p {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.contact-item__content a {
    color: var(--text-light);
    transition: var(--transition-base);
}

.contact-item__content a:hover {
    color: var(--secondary-color);
}

.contact-link {
    color: var(--secondary-color) !important;
    font-weight: 500;
}

.contact-note {
    font-size: 0.9rem;
    color: var(--accent-color);
}

.contatti__map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 100%;
    min-height: 400px;
}

.contatti__map iframe {
    width: 100%;
    height: 100%;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer__section h3 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-color);
}

.footer__section h4 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-sm);
    color: var(--secondary-color);
}

.footer__section p {
    line-height: 1.7;
    color: var(--accent-color);
}

.footer__rating {
    margin-top: var(--spacing-sm);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__rating .stars {
    color: var(--secondary-color);
}

.footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__links li a {
    color: var(--accent-color);
    transition: var(--transition-base);
}

.footer__links li a:hover {
    color: var(--secondary-color);
}

.footer__bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255,255,255,0.1);
    color: var(--accent-color);
}

.footer__credits {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* ==========================================
   BACK TO TOP BUTTON
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-base);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-5px);
}

/* ==========================================
   MODAL
   ========================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.95);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
}

.modal.active {
    display: flex;
}

.modal__close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    z-index: 2001;
}

.modal__close:hover {
    background: rgba(255,255,255,0.2);
    transform: rotate(90deg);
}

.modal__content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.modal__content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 12px;
}

.modal__prev,
.modal__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    color: var(--primary-color);
    border-radius: 50%;
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.modal__prev:hover,
.modal__next:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.modal__prev {
    left: -60px;
}

.modal__next {
    right: -60px;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: var(--navbar-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--navbar-height));
        background: rgba(255,255,255,0.98);
        flex-direction: column;
        padding: var(--spacing-md);
        gap: 1rem;
        transition: var(--transition-base);
        box-shadow: var(--shadow-lg);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .about__content,
    .orari__content,
    .contatti__grid {
        grid-template-columns: 1fr;
    }

    .carousel-btn--prev {
        left: 0;
    }

    .carousel-btn--next {
        right: 0;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 3rem;
        --spacing-lg: 2rem;
        --spacing-md: 1.5rem;
    }

    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero__buttons .btn {
        width: 100%;
    }

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

    .specialita__grid,
    .gallery__grid,
    .servizi__grid,
    .ordina__grid {
        grid-template-columns: 1fr;
    }

    .recensioni__summary {
        flex-direction: column;
        align-items: center;
    }

    .rating-distribution {
        width: 100%;
    }

    .modal__prev,
    .modal__next {
        position: static;
        margin-top: var(--spacing-sm);
    }

    .modal__content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .quick-info__grid {
        grid-template-columns: 1fr;
    }

    .hero__title {
        font-size: 2rem;
    }

    .hero__subtitle {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 1rem;
        right: 1rem;
    }
}