* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-blue: #E91E63;
    --secondary-pink: #F48FB1;
    --dark-blue: #C2185B;
    --light-bg: #FFF5FA;
    --white: #FFFFFF;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #E0E0E0;
    --accent: #EC407A;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background-color: var(--light-bg);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER & NAVIGATION */
.header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-pink) 100%);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.25);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.logo:hover .logo-img {
    transform: rotate(-5deg) scale(1.08);
    box-shadow: 0 12px 35px rgba(233, 30, 99, 0.4);
}

.logo-text {
    color: var(--white);
}

.logo-text h1 {
    font-size: 2.2rem;
    margin-bottom: 0.25rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.logo-text p {
    font-size: 0.85rem;
    opacity: 0.95;
    font-weight: 500;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    position: relative;
    letter-spacing: 0.5px;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-pink) 100%);
    background-size: cover;
    background-position: center;
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 50%;
    bottom: -50px;
    left: -50px;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(20px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
    font-weight: 800;
    letter-spacing: 1px;
}

.hero-content p {
    font-size: 1.6rem;
    margin-bottom: 2.5rem;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* BUTTONS */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent) 0%, #FF4081 100%);
    color: var(--white);
    padding: 0.85rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    cursor: pointer;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(233, 30, 99, 0.5);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* SECTIONS */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.8rem;
    text-align: center;
    margin-bottom: 3.5rem;
    color: var(--dark-blue);
    position: relative;
    padding-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    animation: slideInDown 0.6s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-pink));
    border-radius: 2px;
    box-shadow: 0 4px 15px rgba(233, 30, 99, 0.25);
}

/* GALLERY SECTION */
.gallery-section {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.8), rgba(244, 143, 177, 0.6));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.gallery-item:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 50px rgba(233, 30, 99, 0.3);
}

.gallery-item:hover::after {
    opacity: 0;
}

.gallery-placeholder {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.2), rgba(255, 182, 193, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gallery-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item p {
    padding: 1rem;
    text-align: center;
    color: var(--dark-blue);
    font-weight: 600;
}

/* MENU SECTION */
.menu-section {
    background: var(--white);
}

.menu-intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(244, 143, 177, 0.1));
    padding: 2.5rem;
    border-radius: 15px;
    margin-bottom: 3rem;
}

.menu-intro-content {
    text-align: left;
}

.menu-intro-content p {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
}

.menu-qr {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.15);
    text-align: center;
}


.qr-code {
    display: block;
    width: 100%;           
    max-width: 300px;      
    height: auto;          
    object-fit: contain;   
}

.qr-code:hover {
}

.qr-label {
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    margin: 0;
}

.menu-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.menu-card {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.08), rgba(244, 143, 177, 0.08));
    padding: 2.5rem 2rem;
    border-radius: 15px;
    border-left: 5px solid var(--primary-blue);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(233, 30, 99, 0.2);
    border-left-color: var(--accent);
}

.menu-card:hover::before {
    left: 100%;
}

.menu-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.menu-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.menu-info {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-pink) 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
}

.menu-info a {
    color: var(--white);
    text-decoration: underline;
    font-weight: 600;
}

/* EVENTS SECTION */
.events-section {
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.05), rgba(255, 182, 193, 0.05));
}

.events-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
    align-items: start;
}

/* MINI CALENDAR - COMPATTO */
.mini-calendar-container {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.mini-calendar-title {
    color: var(--dark-blue);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.mini-calendar {
    width: 100%;
}

.mini-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    gap: 0.5rem;
}

.mini-month-year {
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 1rem;
    flex: 1;
    text-align: center;
}

.mini-nav-btn {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-pink));
    color: var(--white);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.9rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 3px 10px rgba(135, 206, 235, 0.3);
}

.mini-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.mini-day-header {
    text-align: center;
    font-weight: 700;
    color: var(--primary-blue);
    font-size: 0.75rem;
    padding: 0.5rem 0;
    text-transform: uppercase;
}

.mini-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    background: var(--white);
    color: var(--text-dark);
}

.mini-day:hover:not(.other-month) {
    border-color: var(--primary-blue);
    background: rgba(135, 206, 235, 0.15);
    transform: scale(1.05);
}

.mini-day.other-month {
    color: #ddd;
    cursor: not-allowed;
    background: #fafafa;
}

.mini-day.today {
    border-color: var(--accent);
    background: rgba(255, 107, 157, 0.1);
    font-weight: 700;
    box-shadow: 0 0 0 1px var(--accent);
}

.mini-day.has-event {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-pink) 100%);
    color: var(--white);
    border-color: transparent;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(135, 206, 235, 0.4);
    position: relative;
    cursor: pointer;
}

.mini-day.has-event::after {
    content: '★';
    position: absolute;
    font-size: 0.6rem;
    top: 2px;
    right: 2px;
}

.mini-day.selected {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

/* EVENTS LIST */
.events-list-container {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.events-list-container h3 {
    color: var(--dark-blue);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.events-items {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.events-items::-webkit-scrollbar {
    width: 6px;
}

.events-items::-webkit-scrollbar-track {
    background: rgba(135, 206, 235, 0.1);
    border-radius: 10px;
}

.events-items::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-pink));
    border-radius: 10px;
}

.event-item {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.08), rgba(244, 143, 177, 0.08));
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 5px solid var(--accent);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
}

.event-item:hover {
    transform: translateX(10px) translateY(-3px);
    box-shadow: 0 10px 30px rgba(233, 30, 99, 0.25);
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.15), rgba(244, 143, 177, 0.15));
    border-left-color: var(--primary-blue);
}

.event-date {
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.event-item h4 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.event-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.event-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-pink));
    color: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.event-link-btn {
    color: var(--accent);
    background: none;
    border: 1px solid var(--accent);
    padding: 0.4rem 0.8rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.event-link-btn:hover {
    background: var(--accent);
    color: var(--white);
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

.empty-state-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* BOOKING SECTION */
.booking-section {
    background: var(--white);
}

.booking-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.booking-form {
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.05), rgba(255, 182, 193, 0.05));
    padding: 2rem;
    border-radius: 10px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-blue);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(135, 206, 235, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.booking-info {
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.1), rgba(255, 182, 193, 0.1));
    padding: 2rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.booking-info h3 {
    color: var(--dark-blue);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.booking-info h3:first-child {
    margin-top: 0;
}

.booking-info p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.booking-info a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.booking-info a:hover {
    text-decoration: underline;
}

.hours {
    list-style: none;
}

.hours li {
    color: var(--text-light);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* CONTACT SECTION */
.contact-section {
    background: linear-gradient(135deg, rgba(135, 206, 235, 0.05), rgba(255, 182, 193, 0.05));
}

/* MAPPA */
.map-container {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 3rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* CONTACT CARDS - PIÙ LARGHI */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.contact-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-top: 5px solid var(--primary-blue);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-blue), var(--secondary-pink));
    transform: translateX(-100%);
    transition: transform 0.4s ease;
}

.contact-card:nth-child(even) {
    border-top-color: var(--secondary-pink);
}

.contact-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 45px rgba(233, 30, 99, 0.2);
}

.contact-card:hover::before {
    transform: translateX(0);
}

.contact-card h3 {
    color: var(--dark-blue);
    margin-bottom: 1.2rem;
    font-size: 1.3rem;
}

.contact-card a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    display: block;
}

.contact-card a:hover {
    text-decoration: underline;
}

.contact-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

/* FOOTER */
.footer {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-pink) 100%);
    color: var(--white);
    text-align: center;
    padding: 3rem 0;
    margin-top: 4rem;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .menu-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .nav-menu {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .nav-menu.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-pink) 100%);
        padding: 1rem;
        gap: 0;
    }

    .nav-link {
        padding: 1rem;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .events-wrapper {
        grid-template-columns: 1fr;
    }

    .mini-calendar-container {
        position: static;
    }

    .booking-container {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 350px;
    }

    section {
        padding: 2rem 0;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }

    .hero {
        height: 350px;
    }

    .hero-content h2 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 300px;
    }

    .contact-card {
        padding: 1.5rem;
    }

    .mini-calendar-grid {
        gap: 4px;
    }

    .mini-day {
        font-size: 0.8rem;
    }
}