/* ============================================================
   BELLA NAPOLI — Dark Luxury Theme
   ============================================================ */

/* --- Variables --- */
:root {
    --color-bg:         #080808;
    --color-bg-alt:     #0f0f0f;
    --color-bg-card:    #111111;
    --color-gold:       #c9a84c;
    --color-gold-light: #e0c47a;
    --color-burgundy:   #7c1a2e;
    --color-burgundy-hover: #9c2238;
    --color-text:       #e8e0d0;
    --color-text-muted: #8a8070;
    --color-border:     #222018;
    --color-border-gold:#3a3020;

    --font-serif:       'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body:        'Cormorant Garamond', Georgia, serif;

    --max-width:        1200px;
    --max-width-narrow: 760px;

    --space-xs:  0.5rem;
    --space-sm:  1rem;
    --space-md:  2rem;
    --space-lg:  4rem;
    --space-xl:  7rem;
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    line-height: 1.75;
    color: var(--color-text);
    background-color: var(--color-bg);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* ============================================================
   NAV
   ============================================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem var(--space-sm);
    transition: background 0.4s ease, padding 0.4s ease;
}

.nav.is-scrolled {
    background: rgba(8, 8, 8, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-gold);
    padding: 0.9rem var(--space-sm);
}

.nav__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-sm);
}

.nav__logo {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    flex-shrink: 0;
}

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

.nav__link {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: color 0.2s;
}

.nav__link:hover {
    color: var(--color-gold);
}

/* Mobile toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__toggle span {
    display: block;
    width: 24px;
    height: 1px;
    background: var(--color-gold);
    transition: transform 0.3s, opacity 0.3s;
}

.nav__toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */

.hero {
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem var(--space-sm) 4rem;
    position: relative;
    overflow: hidden;
}

/* Decorative background texture */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(124, 26, 46, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 50% 80%, rgba(201, 168, 76, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    max-width: 680px;
}

.hero__eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.hero__title {
    font-family: var(--font-serif);
    font-size: clamp(3.8rem, 10vw, 8rem);
    font-weight: 700;
    line-height: 0.95;
    color: var(--color-text);
    margin-bottom: 1.5rem;
}

.hero__title em {
    font-style: italic;
    color: var(--color-gold);
    font-weight: 400;
}

.hero__tagline {
    font-family: var(--font-body);
    font-size: 1rem;
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    margin-bottom: 1.75rem;
}

.hero__divider {
    width: 60px;
    height: 1px;
    background: var(--color-gold);
    margin: 0 auto 1.75rem;
    opacity: 0.6;
}

.hero__sub {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    letter-spacing: 0.04em;
    margin-bottom: 2.5rem;
}

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

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    color: var(--color-text-muted);
    font-size: 0.65rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-gold), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50%       { opacity: 1;   transform: scaleY(1.1); }
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
    display: inline-block;
    padding: 0.85rem 2.2rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.15s;
    border: 1px solid transparent;
    white-space: nowrap;
}

.btn:active { transform: scale(0.98); }

.btn--primary {
    background: var(--color-burgundy);
    color: var(--color-text);
    border-color: var(--color-burgundy);
}

.btn--primary:hover {
    background: var(--color-burgundy-hover);
    border-color: var(--color-burgundy-hover);
}

.btn--ghost {
    background: transparent;
    color: var(--color-gold);
    border-color: var(--color-gold);
}

.btn--ghost:hover {
    background: rgba(201, 168, 76, 0.08);
}

.btn--full {
    width: 100%;
    text-align: center;
}

/* ============================================================
   SECTIONS
   ============================================================ */

.section {
    padding: var(--space-xl) var(--space-sm);
}

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

.section__header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section__eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.75rem;
}

.section__title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 1.25rem;
}

.section__subtitle {
    font-size: 1rem;
    color: var(--color-text-muted);
    max-width: 520px;
    margin: 0 auto;
    font-style: italic;
}

/* ============================================================
   CONTAINER
   ============================================================ */

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    width: 100%;
}

.container--narrow {
    max-width: var(--max-width-narrow);
}

/* ============================================================
   MENU
   ============================================================ */

.menu-grid {
    display: grid;
    gap: var(--space-lg);
}

.menu-category__title {
    font-family: var(--font-serif);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border-gold);
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.menu-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
}

.menu-item__info {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.menu-item__name {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 400;
    font-style: italic;
    color: var(--color-text);
}

.menu-item__desc {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    font-weight: 300;
}

.menu-item__price {
    font-family: var(--font-serif);
    font-size: 1rem;
    color: var(--color-gold);
    white-space: nowrap;
    flex-shrink: 0;
}

.menu-note {
    margin-top: var(--space-lg);
    text-align: center;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    letter-spacing: 0.04em;
    font-style: italic;
}

/* ============================================================
   ABOUT
   ============================================================ */

.about__body {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--color-text);
    text-align: center;
}

.about__body p {
    font-style: italic;
    font-weight: 300;
}

.about__rule {
    width: 40px;
    height: 1px;
    background: var(--color-gold);
    margin: 2rem auto;
    opacity: 0.5;
}

.about__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-top: var(--space-lg);
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1.5rem 2.5rem;
}

.stat__number {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--color-gold);
    line-height: 1;
}

.stat__label {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.stat__divider {
    width: 1px;
    height: 50px;
    background: var(--color-border-gold);
    flex-shrink: 0;
}

/* ============================================================
   RESERVATIONS
   ============================================================ */

.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-group--submit {
    margin-top: 0.5rem;
}

label {
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

input,
select,
textarea {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border-gold);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 300;
    padding: 0.85rem 1rem;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
    transition: border-color 0.2s;
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: var(--color-text-muted);
    opacity: 0.6;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--color-gold);
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c9a84c' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

select option {
    background: var(--color-bg-card);
    color: var(--color-text);
}

textarea {
    resize: vertical;
    min-height: 90px;
}

/* Date input calendar icon theming (best-effort) */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.7) sepia(1) saturate(2) hue-rotate(5deg);
    cursor: pointer;
    opacity: 0.7;
}

.form-note {
    text-align: center;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    font-style: italic;
}

.form-note a {
    color: var(--color-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Success state */
.reservation-success {
    display: none;
    text-align: center;
    padding: var(--space-md) 0;
}

.reservation-success.is-visible {
    display: block;
}

.reservation-success__icon {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
    display: block;
}

.reservation-success h3 {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    font-weight: 400;
    color: var(--color-text);
    margin-bottom: 0.75rem;
}

.reservation-success p {
    color: var(--color-text-muted);
    font-style: italic;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
}

.contact-block__title {
    font-size: 0.68rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-weight: 400;
}

.contact-block__body {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 400;
    color: var(--color-text);
    font-style: normal;
    line-height: 1.8;
}

address {
    font-style: normal;
}

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

.contact-link {
    color: var(--color-text);
    transition: color 0.2s;
}

.contact-link:hover {
    color: var(--color-gold);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border-gold);
    padding: var(--space-lg) var(--space-sm);
}

.footer__inner {
    text-align: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer__logo {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 0.4rem;
}

.footer__tagline {
    font-size: 0.82rem;
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: 1.75rem;
}

.footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    justify-content: center;
    margin-bottom: 2rem;
}

.footer__nav a {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    transition: color 0.2s;
}

.footer__nav a:hover {
    color: var(--color-gold);
}

.footer__copy {
    font-size: 0.72rem;
    color: var(--color-text-muted);
    letter-spacing: 0.06em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet (640px+) */
@media (min-width: 640px) {
    .form-row {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop nav (768px+) */
@media (min-width: 768px) {
    .nav__toggle {
        display: none !important;
    }

    .nav__links {
        display: flex !important;
    }

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

/* Large desktop (1024px+) */
@media (min-width: 1024px) {
    .menu-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg) calc(var(--space-lg) * 1.5);
    }
}

/* ============================================================
   MOBILE NAV
   ============================================================ */

@media (max-width: 767px) {
    .nav__toggle {
        display: flex;
    }

    .nav:has(.nav__links.is-open) {
        background: var(--color-bg);
    }

    .nav__links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2.5rem;
        z-index: 99;
    }

    .nav__links.is-open {
        display: flex;
    }

    .nav__link {
        font-size: 1.2rem;
        letter-spacing: 0.2em;
    }

    .stat__divider {
        display: none;
    }

    .about__stats {
        gap: 0.5rem;
    }
}
