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

:root {
    --color-bg: #0a0a0a;
    --color-bg-warm: #111108;
    --color-bg-card: #1a1a17;
    --color-bg-card-hover: #222218;
    --color-text: #f5f0e8;
    --color-text-muted: #a09882;
    --color-accent: #6db34b;
    --color-accent-light: #8ecc6e;
    --color-accent-dark: #4a8a2e;
    --color-gold: #c8a96e;
    --color-border: #2a2820;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: var(--color-accent);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--color-accent-light);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s ease;
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-accent) !important;
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.nav-logo span {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--color-accent);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.55) 0%,
        rgba(10, 10, 10, 0.4) 40%,
        rgba(10, 10, 10, 0.7) 80%,
        rgba(10, 10, 10, 0.95) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 24px;
    filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5));
}

.hero-subtitle {
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
    font-weight: 400;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 700;
    color: var(--color-text);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-tagline {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 36px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.hero-scroll span {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

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

@keyframes scrollLine {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

@keyframes menuPageFadeIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 14px 36px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn-primary {
    background: var(--color-accent);
    color: #fff;
    border: 2px solid var(--color-accent);
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--color-text);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* ===== Sections ===== */
.section {
    padding: 100px 0;
}

.section-label {
    font-size: 0.78rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
    font-weight: 500;
}

.section-label.center,
.section-title.center,
.menu-subtitle.center {
    text-align: center;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: 20px;
}

/* ===== About ===== */
.section-about {
    background: var(--color-bg-warm);
}

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

.about-photo {
    width: 100%;
    height: auto;
    border-radius: 12px;
    aspect-ratio: 4/3;
    object-fit: cover;
    border: 1px solid var(--color-border);
}

.about-description {
    color: var(--color-text-muted);
    font-size: 1.05rem;
    margin-bottom: 20px;
    font-weight: 300;
}

.about-description strong {
    color: var(--color-accent);
    font-weight: 600;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid var(--color-border);
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: 0.82rem;
    color: var(--color-text-muted);
    margin-top: 6px;
    letter-spacing: 0.5px;
}

/* ===== Gallery ===== */
.section-gallery {
    background: var(--color-bg);
    padding-bottom: 60px;
}

.gallery-mosaic {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
    gap: 6px;
    margin-top: 48px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 12px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease, filter 0.4s ease;
    aspect-ratio: 1;
}

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

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

.gallery-item--wide img {
    aspect-ratio: 2/1;
}

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

.gallery-item--tall img {
    aspect-ratio: auto;
    height: 100%;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 16px 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Menu Book ===== */
.section-menu {
    background: var(--color-bg-warm);
    padding-bottom: 80px;
}

.menu-subtitle {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    margin-bottom: 48px;
    font-weight: 300;
}

.menu-book-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
}

.menu-book {
    display: flex;
    gap: 4px;
    perspective: 1200px;
    width: 100%;
    max-width: 900px;
}

.menu-page {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.4);
    transition: transform 0.4s ease;
    will-change: transform, opacity;
}

.menu-page-enter {
    animation: menuPageFadeIn 0.28s ease;
}

.menu-page img {
    width: 100%;
    height: auto;
    display: block;
}

/* Cover state - single page centered */
.menu-book.is-cover {
    max-width: 450px;
}

.menu-nav {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background: var(--color-bg-card);
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.menu-nav:hover:not(:disabled) {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}

.menu-nav:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.menu-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 24px;
}

.menu-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-border);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.menu-dot.active {
    background: var(--color-accent);
    transform: scale(1.3);
}

/* ===== Reviews ===== */
.section-reviews {
    background: var(--color-bg);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.review-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 36px 28px;
    transition: all 0.3s ease;
}

.review-card:hover {
    border-color: var(--color-accent-dark);
    transform: translateY(-4px);
}

.review-stars {
    color: var(--color-gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.review-text {
    font-size: 1rem;
    color: var(--color-text);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 16px;
    font-weight: 300;
}

.review-author {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ===== Contact ===== */
.section-contact {
    background: var(--color-bg-warm);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 48px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contact-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--color-accent);
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.contact-card a {
    color: var(--color-text-muted);
}

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

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table td {
    padding: 6px 0;
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.hours-table td:last-child {
    text-align: right;
    font-weight: 500;
    color: var(--color-text);
}

.hours-table .closed td {
    color: var(--color-text-muted);
    opacity: 0.6;
}

.hours-table .closed td:last-child {
    color: var(--color-text-muted);
    opacity: 0.6;
}

.hours-note {
    margin-top: 8px;
    font-size: 0.82rem !important;
    color: var(--color-accent) !important;
    font-style: italic;
}

.social-links {
    display: flex;
    gap: 24px;
}

.social-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--color-accent);
}

.social-links a svg {
    flex-shrink: 0;
}

.contact-map {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    min-height: 400px;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 400px;
}

/* ===== Footer ===== */
.footer {
    padding: 48px 0;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg);
}

.footer-content {
    text-align: center;
}

.footer-logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 12px;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 8px;
}

.footer-text {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.footer-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    transition: color 0.3s;
}

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

.footer-divider {
    color: var(--color-border);
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    opacity: 0.5;
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 968px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .about-photo {
        aspect-ratio: 16/9;
    }

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

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

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

    .gallery-item--tall img {
        aspect-ratio: 1;
    }

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

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

@media (max-width: 768px) {
    /* Menu book - mobile: single page */
    .menu-book {
        max-width: 400px !important;
    }

    .menu-page:nth-child(2) {
        display: none;
    }

    .menu-book.is-cover {
        max-width: 320px !important;
    }

    .menu-book-wrapper {
        gap: 10px;
    }

    .menu-nav {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 640px) {
    .section {
        padding: 72px 0;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .gallery-mosaic {
        grid-template-columns: 1fr 1fr;
        gap: 4px;
    }

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

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

    .about-stats {
        gap: 32px;
    }

    .hero-tagline br {
        display: none;
    }

    .hero-logo {
        width: 80px;
        height: 80px;
    }

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