:root {
    --cream: #f6f1e8;
    --sand: #efe5d6;
    --charcoal: #1d1b19;
    --ink: #2b2622;
    --gold: #c9a26a;
    --brass: #9c7a4c;
    --mist: #fdfbf7;
    --shadow: 0 30px 60px rgba(18, 16, 14, 0.18);
}

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

body {
    font-family: "Sora", sans-serif;
    color: var(--ink);
    background: radial-gradient(circle at top, #fff7ec 0%, var(--cream) 55%, #f1e7d8 100%);
    line-height: 1.6;
}

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

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

.hero {
    position: relative;
    min-height: 100vh;
    padding: 0 0 80px;
    color: #fdfbf7;
    background: #13110f;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(201, 162, 106, 0.25), transparent 60%);
    pointer-events: none;
    z-index: 1;
}

.hero-slides {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 55%;
    opacity: 1;
    animation: none;
}

.slide-1 {
    background-image: url("assets/home.jpg");
}


.header-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fffaf3;
    color: var(--charcoal);
    border-bottom: 1px solid rgba(40, 32, 24, 0.08);
    z-index: 10;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 8vw;
}

.logo {
    font-family: "Cormorant Garamond", serif;
    font-size: 34px;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 28px;
    font-size: 14px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.nav-links a {
    color: rgba(35, 30, 26, 0.7);
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 1px solid rgba(35, 30, 26, 0.35);
    color: var(--charcoal);
    padding: 8px 12px;
    border-radius: 999px;
}

.hero-content {
    position: relative;
    max-width: 680px;
    padding: clamp(240px, 32vh, 340px) 8vw 0;
    margin: 0 auto;
    text-align: center;
    animation: rise 0.9s ease forwards;
    z-index: 2;
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 18px;
}

.hero-content h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.hero-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 auto 28px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    justify-content: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 1px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
    background: linear-gradient(120deg, var(--gold), #d5b784);
    color: #1c150f;
    box-shadow: 0 20px 40px rgba(201, 162, 106, 0.35);
}

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

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.hero-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    justify-content: center;
}

.hero-badges span {
    padding: 8px 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.25);
}

.scroll-indicator {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 30px;
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    z-index: 2;
}

.section {
    padding: 110px 8vw;
    scroll-margin-top: 140px;
}

.section-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-heading h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 3vw, 3rem);
    color: var(--charcoal);
}

.section-heading p {
    margin-top: 12px;
    color: #5f554b;
}

.about {
    background: linear-gradient(120deg, var(--mist), var(--sand));
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.about-card {
    background: #fff;
    padding: 26px;
    border-radius: 18px;
    box-shadow: 0 20px 45px rgba(36, 30, 24, 0.08);
    border: 1px solid rgba(156, 122, 76, 0.15);
}

.about-card h3 {
    font-family: "Cormorant Garamond", serif;
    margin-bottom: 10px;
    font-size: 22px;
}

.menu {
    background: #f6f1e8;
    color: var(--ink);
}

.menu .section-heading h2,
.menu .section-heading p {
    color: var(--charcoal);
}

.menu-filter {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto 36px;
}

.menu-pill {
    border: 1px solid rgba(35, 30, 26, 0.2);
    background: #fff;
    color: #2b2622;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.menu-pill.is-active {
    background: linear-gradient(120deg, var(--gold), #d5b784);
    color: #1c150f;
    border-color: transparent;
    box-shadow: 0 12px 26px rgba(201, 162, 106, 0.3);
}

.menu-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.menu-item {
    background: #fff;
    border: 1px solid rgba(156, 122, 76, 0.2);
    padding: 24px;
    border-radius: 18px;
    display: grid;
    gap: 10px;
    min-height: 200px;
    box-shadow: 0 16px 30px rgba(34, 27, 20, 0.08);
}

.menu-item.is-hidden {
    display: none;
}

.menu-item h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 22px;
}

.menu-tag {
    align-self: start;
    width: fit-content;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #7a6346;
    background: #f8f2e8;
    border: 1px solid rgba(156, 122, 76, 0.2);
    padding: 6px 10px;
    border-radius: 999px;
}

.menu-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.price {
    color: var(--gold);
    font-weight: 500;
    letter-spacing: 0.2em;
}

.menu-actions {
    margin-top: 32px;
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.experience {
    background: linear-gradient(180deg, var(--cream), #fffdf9);
}

.experience-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    align-items: center;
}

.experience-grid h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2.2rem, 3vw, 3.2rem);
    margin: 16px 0;
}

.experience-list {
    list-style: none;
    margin-top: 18px;
    display: grid;
    gap: 10px;
}

.experience-list li::before {
    content: "•";
    color: var(--gold);
    margin-right: 8px;
}

.experience-image {
    min-height: 360px;
    border-radius: 28px;
    background: url("assets/imag-home.png") center/cover;
    box-shadow: var(--shadow);
}

.gallery {
    background: #f5efe4;
}

.gallery-scroller {
    overflow: hidden;
    position: relative;
    padding: 8px 0;
}

.gallery-track {
    display: flex;
    gap: 28px;
    width: max-content;
    animation: gallery-marquee 26s linear infinite;
}

.gallery-item {
    width: clamp(180px, 22vw, 260px);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-color: #fff;
    background-size: 160% auto;
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: none;
}

.gallery-item:nth-child(1) {
    background-image: url("assets/piatti-1.png");
    background-size: 155% auto;
}

.gallery-item:nth-child(2) {
    background-image: url("assets/piatti-2.png");
    background-size: 165% auto;
}

.gallery-item:nth-child(3) {
    background-image: url("assets/piatti-3.png");
    background-size: 170% auto;
}

.gallery-item:nth-child(4) {
    background-image: url("assets/piatti-4.png");
}

.gallery-item:nth-child(5) {
    background-image: url("assets/piatti-1.png");
    background-size: 155% auto;
}

.gallery-item:nth-child(6) {
    background-image: url("assets/piatti-2.png");
    background-size: 165% auto;
}

.gallery-item:nth-child(7) {
    background-image: url("assets/piatti-3.png");
    background-size: 170% auto;
}

.gallery-item:nth-child(8) {
    background-image: url("assets/piatti-4.png");
}

.whatsapp-fab {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.25);
    z-index: 12;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(0, 0, 0, 0.3);
}

.whatsapp-fab svg {
    width: 26px;
    height: 26px;
    display: block;
}

.footer {
    background: #0f0d0b;
    color: #e7dccd;
}

.footer-contact {
    position: relative;
    padding: 80px 8vw;
    background: #14110f;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    align-items: center;
}

.contact-panel {
    max-width: 420px;
    background: #191411;
    padding: 36px;
    border-radius: 18px;
    border: 1px solid rgba(201, 162, 106, 0.2);
    box-shadow: var(--shadow);
}

.footer-contact .eyebrow {
    color: var(--gold);
}

.contact-panel h3 {
    font-family: "Cormorant Garamond", serif;
    font-size: 28px;
    margin-bottom: 18px;
}

.contact-list {
    list-style: none;
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(231, 220, 205, 0.85);
}

.contact-icon {
    min-width: 44px;
    padding: 6px 10px;
    border: 1px solid rgba(201, 162, 106, 0.35);
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 10px;
    text-align: center;
    color: var(--gold);
}

.contact-socials {
    display: flex;
    gap: 10px;
}

.contact-socials a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(201, 162, 106, 0.35);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: var(--gold);
}

.contact-socials a svg {
    width: 18px;
    height: 18px;
}

.footer-map {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(201, 162, 106, 0.25);
    background: #14110f;
    padding: 6px;
    box-shadow: var(--shadow);
    min-height: 280px;
}

.footer-map iframe {
    width: 100%;
    height: 100%;
    min-height: 268px;
    border: 0;
    border-radius: 16px;
    display: block;
}

.footer-newsletter {
    background: linear-gradient(120deg, #c99456, #d9ad73);
    color: #2a1d14;
    padding: 34px 8vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-newsletter p {
    font-family: "Cormorant Garamond", serif;
    font-size: 20px;
    letter-spacing: 0.08em;
}

.footer-newsletter form {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.footer-newsletter input {
    border: 1px solid rgba(42, 29, 20, 0.35);
    background: rgba(255, 255, 255, 0.25);
    padding: 10px 14px;
    border-radius: 999px;
    min-width: 240px;
}

.footer-newsletter button {
    border: 0;
    border-radius: 999px;
    padding: 10px 22px;
    background: #1e1712;
    color: #f8f1e6;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 12px;
}

.footer-main {
    padding: 70px 8vw 40px;
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-main h4 {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 12px;
    margin-bottom: 14px;
    color: var(--gold);
}

.footer-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.footer-gallery span {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-color: #fff;
    background-size: 165% auto;
    background-repeat: no-repeat;
    background-position: center;
}

.footer-gallery span:nth-child(1) {
    background-image: url("assets/piatti-1.png");
}

.footer-gallery span:nth-child(2) {
    background-image: url("assets/piatti-2.png");
}

.footer-gallery span:nth-child(3) {
    background-image: url("assets/piatti-3.png");
}

.footer-gallery span:nth-child(4) {
    background-image: url("assets/piatti-1.png");
}

.footer-bottom {
    border-top: 1px solid rgba(231, 220, 205, 0.08);
    padding: 18px 8vw 28px;
}

.footer small {
    color: rgba(231, 220, 205, 0.6);
}

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

@keyframes hero-fade {
    0%,
    8% {
        opacity: 0;
    }
    16%,
    40% {
        opacity: 1;
    }
    48%,
    100% {
        opacity: 0;
    }
}

@keyframes gallery-marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(calc(-50% - 9px));
    }
}

@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .hero-content {
        padding-top: 180px;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 80px 6vw;
    }

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

}

@media (prefers-reduced-motion: reduce) {
    .gallery-track {
        animation: none;
    }
}
