/* ===== CSS Variables & Design System ===== */
:root {
    --primary: #F58220;
    --primary-dark: #D96E0A;
    --primary-light: #FFB366;
    --secondary: #2D2D2D;
    --accent: #FFF8F0;
    --text: #1A1A1A;
    --text-light: #666666;
    --white: #FFFFFF;
    --bg-cream: #FFFDF9;
    --gradient: linear-gradient(135deg, #F58220 0%, #FFB366 100%);
    --gradient-dark: linear-gradient(135deg, #D96E0A 0%, #F58220 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 8px 32px rgba(245, 130, 32, 0.3);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --font-primary: 'Outfit', sans-serif;
    --font-display: 'Playfair Display', serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

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

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

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

ul {
    list-style: none;
}

/* ===== Loader ===== */
.loader {
    position: fixed;
    inset: 0;
    background: var(--white);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: opacity 0.5s, visibility 0.5s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-logo img {
    width: 120px;
    height: 120px;
    animation: pulse 1.5s ease-in-out infinite;
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: var(--accent);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.loader-bar::after {
    content: '';
    display: block;
    width: 40%;
    height: 100%;
    background: var(--gradient);
    border-radius: var(--radius-full);
    animation: loading 1s ease-in-out infinite;
}

@keyframes loading {

    0%,
    100% {
        transform: translateX(-100%);
    }

    50% {
        transform: translateX(300%);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo img {
    width: 50px;
    height: 50px;
    transition: var(--transition);
}

.navbar.scrolled .nav-logo img {
    width: 40px;
    height: 40px;
}

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

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

.nav-link {
    font-weight: 500;
    color: var(--text);
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

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

.nav-cta {
    background: var(--gradient);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

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

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('assets/hero-bg.jpg') center center / cover no-repeat;
    filter: blur(2px) saturate(1.2) brightness(1.05);
    transform: scale(1.02);
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(255, 250, 245, 0.92) 0%,
            rgba(255, 240, 225, 0.85) 30%,
            rgba(255, 230, 200, 0.75) 60%,
            rgba(245, 200, 150, 0.7) 100%);
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(30px, 20px) rotate(5deg);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F58220' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background: rgba(245, 130, 32, 0.1);
    color: var(--primary);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    margin-bottom: 1.5rem;
}

.hero-title-line {
    display: block;
    font-size: clamp(1.25rem, 3vw, 1.75rem);
    font-weight: 400;
    color: var(--text-light);
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero-title-brand {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto 2rem;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-info {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-size: 0.85rem;
    animation: bounce 2s ease infinite;
}

.scroll-arrow {
    width: 24px;
    height: 24px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg);
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

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

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

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

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
}

.btn-icon {
    font-size: 1.2rem;
}

/* ===== Container & Section ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-badge {
    display: inline-block;
    background: rgba(245, 130, 32, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

.section-title .highlight {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

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

/* ===== About Section ===== */
.about {
    padding: 6rem 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content {}

.about-text {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-cream);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.about-feature:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-sm);
}

.feature-icon {
    font-size: 2rem;
}

.about-feature h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.about-visual {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    height: 450px;
}

.about-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #F58220, #FFB366);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

#colazioni-img {
    background: url('assets/colazioni-new.jpg') center center / cover no-repeat;
}

#colazioni-img::before {
    display: none;
}

#piadine-img {
    background: url('assets/piadine.jpg') center center / cover no-repeat;
}

#piadine-img::before {
    display: none;
}

.about-image::before {
    content: '☕';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 6rem;
    opacity: 0.3;
}

.about-badge-float {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    text-align: center;
    animation: float 3s ease-in-out infinite;
}

.badge-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge-text {
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ===== Menu Section ===== */
.menu {
    padding: 6rem 0;
    background: var(--bg-cream);
}

.menu-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.menu-tab {
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    background: var(--white);
    color: var(--text);
    border: 2px solid transparent;
    transition: var(--transition);
}

.menu-tab:hover {
    border-color: var(--primary-light);
}

.menu-tab.active {
    background: var(--gradient);
    color: var(--white);
    box-shadow: var(--shadow-glow);
}

.menu-category {
    display: none;
    animation: fadeIn 0.5s ease;
}

.menu-category.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem;
}

.menu-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.menu-card.featured {
    border: 2px solid var(--primary);
}

.menu-card.featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

.menu-card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient);
    color: var(--white);
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

.menu-card-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.menu-card h3 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

.menu-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.menu-cta p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ===== Contact Section ===== */
.contact {
    padding: 6rem 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin: 2rem 0;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-cream);
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-sm);
}

.contact-card-icon {
    font-size: 1.75rem;
}

.contact-card h4 {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.contact-card p,
.contact-card a {
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-card a:hover {
    color: var(--primary);
}

.contact-map {}

.map-wrapper {
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
}

/* ===== Footer ===== */
.footer {
    background: var(--secondary);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand {}

.footer-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary-light);
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--gradient);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

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

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visual {
        order: -1;
    }

    .about-image-wrapper {
        height: 350px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 6rem 2rem 2rem;
        gap: 1.5rem;
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
    }

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

    .nav-toggle {
        display: flex;
        z-index: 1001;
    }

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

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

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

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        margin: 0 auto 1rem;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .menu-tabs {
        flex-direction: column;
    }

    .menu-tab {
        width: 100%;
    }

    .hero-features {
        flex-direction: column;
    }
}

/* ===== Hero Logo ===== */
.hero-logo {
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease;
}

.hero-logo img {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    filter: drop-shadow(0 8px 24px rgba(245, 130, 32, 0.3));
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* ===== Hero Features ===== */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.hero-feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.hero-feature-icon {
    font-size: 1.75rem;
}

.hero-feature strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.hero-feature p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}

/* ===== Piadine Section ===== */
.piadine {
    padding: 6rem 0;
    background: var(--bg-cream);
}

.about-grid.reverse {
    direction: rtl;
}

.about-grid.reverse>* {
    direction: ltr;
}

.about-badge-float.right {
    left: auto;
    right: -20px;
}

.menu-grid.compact {
    margin-top: 2rem;
}

.menu-card.small {
    padding: 1.25rem;
    text-align: left;
}

.menu-card.small .menu-card-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.menu-card.small h3 {
    font-size: 1rem;
}

.menu-card.small p {
    font-size: 0.85rem;
}

/* ===== Gallery Section ===== */
.gallery {
    padding: 6rem 0;
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 200px);
    gap: 1rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    cursor: pointer;
}

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    opacity: 0.8;
}

.gallery-item.gallery-item-large {
    grid-column: span 2;
}

.gallery-item.gallery-item-tall {
    grid-row: span 2;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-weight: 600;
    font-size: 1.25rem;
}

/* ===== Contact Buttons ===== */
.contact-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* ===== Footer Social ===== */
.footer-social-text {
    margin-top: 1rem;
}

.footer-social-text a {
    color: var(--primary-light);
    font-weight: 600;
}

.footer-social-text a:hover {
    color: var(--primary);
}

/* ===== Additional Responsive ===== */
@media (max-width: 992px) {
    .about-grid.reverse {
        direction: ltr;
    }

    .about-badge-float.right {
        right: auto;
        left: -20px;
    }
}

@media (max-width: 768px) {
    .hero-features {
        flex-direction: column;
        align-items: center;
    }

    .hero-feature {
        width: 100%;
        max-width: 300px;
    }

    .hero-logo img {
        width: 120px;
        height: 120px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .gallery-item.gallery-item-large,
    .gallery-item.gallery-item-tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .gallery-item {
        height: 150px;
    }

    .contact-buttons {
        flex-direction: column;
    }
}

/* ===== Coffee Section ===== */
.coffee-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #f5f5f5 0%, #e8e8e8 100%);
    position: relative;
}

.coffee-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.coffee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.coffee-card {
    text-align: center;
    transition: var(--transition);
}

.coffee-card:hover {
    transform: translateY(-8px);
}

.coffee-card:hover .coffee-icon {
    transform: scale(1.05);
}

.coffee-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

.coffee-cup-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.coffee-cup-svg circle {
    transition: var(--transition);
}

.coffee-card:hover .coffee-cup-svg circle {
    fill: #3D3D3D;
}

.coffee-name {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text);
    font-style: italic;
}

/* Coffee Section Responsive */
@media (max-width: 768px) {
    .coffee-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .coffee-icon {
        width: 110px;
        height: 110px;
    }

    .coffee-name {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .coffee-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .coffee-icon {
        width: 90px;
        height: 90px;
    }

    .coffee-name {
        font-size: 0.9rem;
    }
}

/* ===== Gallery Images ===== */
.menu-card-image {
    width: 100%;
    height: 160px;
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.menu-card:hover .menu-card-image img {
    transform: scale(1.05);
}

#gallery-1 {
    /* Vetrina: focus sui ripiani in basso */
    background: url('assets/gallery-colazioni.jpg') center 80% / cover no-repeat;
}

#gallery-2 {
    background: url('assets/gallery-spritz.png') center top / cover no-repeat;
}

#gallery-3 {
    background: url('assets/gallery-piadina-hand.jpg') center center / cover no-repeat;
}

#gallery-4 {
    /* Laptop & Cornetto: focus sul tavolo */
    background: url('assets/gallery-locale.jpg') center bottom / cover no-repeat;
}

#gallery-5 {
    /* Caffè speciale: focus sul bicchiere */
    background: url('assets/gallery-caffe.jpg') center 70% / cover no-repeat;
}

#gallery-6 {
    /* Paste: focus sul vassoio */
    background: url('assets/gallery-dolci.jpg') center 60% / cover no-repeat;
}