/* =============================================
   SUSHI GO MŁAWA - Custom Styles
   ============================================= */

/* CSS Custom Properties */
:root {
    /* Colors - Inspired by Japanese aesthetics */
    --color-black: #0d0d0d;
    --color-charcoal: #1a1a1a;
    --color-dark: #2a2a2a;
    --color-ink: #3d3d3d;
    --color-slate: #6b6b6b;
    --color-ash: #9a9a9a;
    --color-silver: #c4c4c4;
    --color-cream: #f5f2eb;
    --color-white: #ffffff;

    /* Accent - Warm vermillion (torii gate red) */
    --color-accent: #d94f3d;
    --color-accent-light: #e8675a;
    --color-accent-dark: #b83d2d;

    /* Secondary - Bamboo gold */
    --color-gold: #c9a227;
    --color-gold-light: #dbb84a;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.25);
}

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

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

body {
    font-family: var(--font-body);
    background-color: var(--color-charcoal);
    color: var(--color-cream);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

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

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

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

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

.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(13,13,13,0.5) 0%,
        rgba(13,13,13,0.3) 30%,
        rgba(13,13,13,0.5) 70%,
        rgba(26,26,26,0.95) 100%
    );
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg);
    background: linear-gradient(to bottom, rgba(13,13,13,0.8), transparent);
    transition: background var(--transition-base);
}

.nav.scrolled {
    background: rgba(13,13,13,0.95);
    backdrop-filter: blur(10px);
}

.nav__logo {
    font-family: var(--font-display);
    font-size: clamp(1.25rem, 4vw, 1.5rem);
    font-weight: 700;
    color: var(--color-accent);
    letter-spacing: 0.05em;
}

.nav__links {
    display: none;
    list-style: none;
    gap: var(--space-xl);
}

.nav__links a {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-silver);
    transition: color var(--transition-fast);
}

.nav__links a:hover {
    color: var(--color-white);
}

/* Hero Content */
.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: var(--space-xl);
    max-width: 800px;
}

.hero__tagline {
    display: inline-block;
    font-size: clamp(0.75rem, 2vw, 0.875rem);
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: var(--space-md);
    padding: var(--space-xs) var(--space-md);
    border: 1px solid var(--color-gold);
    border-radius: var(--radius-full);
}

.hero__title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 12vw, 6rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

/* Rating */
.hero__rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.stars {
    display: flex;
    gap: 2px;
}

.star {
    font-size: 1.5rem;
    color: var(--color-ink);
}

.star.filled {
    color: var(--color-gold);
}

.star.partial {
    background: linear-gradient(90deg, var(--color-gold) 70%, var(--color-ink) 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rating-text {
    font-size: 0.9rem;
    color: var(--color-silver);
}

.rating-text strong {
    color: var(--color-white);
    font-size: 1.1rem;
}

/* CTA Buttons */
.hero__cta {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(217,79,61,0.4);
}

.btn--primary:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(217,79,61,0.5);
}

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

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

/* Badges */
.hero__badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
}

.badge {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    backdrop-filter: blur(5px);
}

/* Scroll indicator */
.hero__scroll {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-silver);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* =============================================
   SECTIONS - Common Styles
   ============================================= */
section {
    padding: var(--space-4xl) 0;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--space-md);
    color: var(--color-white);
}

.section-title--left {
    text-align: left;
}

.section-subtitle {
    text-align: center;
    color: var(--color-ash);
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    margin-bottom: var(--space-3xl);
}

/* =============================================
   GALLERY SECTION
   ============================================= */
.gallery {
    background: var(--color-black);
}

.gallery__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    cursor: pointer;
    aspect-ratio: 4/3;
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: var(--space-md);
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-cream);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.gallery__item:hover figcaption {
    transform: translateY(0);
}

/* =============================================
   REVIEWS SECTION
   ============================================= */
.reviews {
    background: linear-gradient(135deg, var(--color-charcoal) 0%, var(--color-dark) 100%);
}

.reviews__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.review-card {
    background: var(--color-black);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid var(--color-ink);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

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

.review-card__header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.review-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-white);
}

.review-card__author {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 2px;
}

.review-card__stars {
    color: var(--color-gold);
    font-size: 0.875rem;
    letter-spacing: 2px;
}

.review-card__text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-silver);
    font-style: italic;
    margin-bottom: var(--space-md);
}

.review-card__date {
    font-size: 0.75rem;
    color: var(--color-slate);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact {
    background: var(--color-black);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
}

/* Hours Table */
.hours-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: var(--space-lg);
}

.hours-table td {
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-ink);
}

.hours-table td:first-child {
    color: var(--color-silver);
    font-weight: 500;
}

.hours-table td:last-child {
    text-align: right;
    color: var(--color-white);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.hours-table tr:last-child td {
    border-bottom: none;
}

/* Contact Info */
.contact__details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.contact__item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: var(--color-charcoal);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-ink);
    transition: all var(--transition-base);
}

.contact__item:hover {
    border-color: var(--color-accent);
    transform: translateX(4px);
}

.contact__icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--color-white);
}

.contact__label {
    display: block;
    font-size: 0.75rem;
    color: var(--color-slate);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.contact__value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-white);
}

.contact__payment {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.payment-badge {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.75rem;
    font-weight: 500;
    background: var(--color-dark);
    border: 1px solid var(--color-ink);
    border-radius: var(--radius-full);
    color: var(--color-ash);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--color-charcoal);
    padding: var(--space-3xl) 0 var(--space-xl);
    border-top: 1px solid var(--color-ink);
}

.footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
    text-align: center;
    margin-bottom: var(--space-xl);
}

.footer__logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

.footer__tagline {
    color: var(--color-slate);
    font-size: 0.875rem;
    margin-top: var(--space-xs);
}

.footer__quick {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
}

.footer__link {
    color: var(--color-silver);
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: var(--color-accent);
}

.footer__divider {
    color: var(--color-ink);
}

.footer__bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-ink);
    color: var(--color-slate);
    font-size: 0.75rem;
}

/* =============================================
   LIGHTBOX
   ============================================= */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox__close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 48px;
    height: 48px;
    font-size: 2rem;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.1);
    transition: background var(--transition-fast);
    z-index: 10;
}

.lightbox__close:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.1);
    transition: background var(--transition-fast);
    z-index: 10;
}

.lightbox__prev { left: var(--space-lg); }
.lightbox__next { right: var(--space-lg); }

.lightbox__prev:hover,
.lightbox__next:hover {
    background: rgba(255,255,255,0.2);
}

.lightbox__content {
    max-width: 90vw;
    max-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox__image {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
}

.lightbox__counter {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    color: var(--color-silver);
    font-size: 0.875rem;
}

/* =============================================
   RESPONSIVE - Tablet (768px+)
   ============================================= */
@media (min-width: 768px) {
    .nav__links {
        display: flex;
    }

    .hero__cta {
        flex-direction: row;
        justify-content: center;
    }

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

    .gallery__item--large {
        grid-column: span 2;
    }

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

    .reviews__grid .review-card:last-child {
        grid-column: span 2;
    }

    .contact__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4xl);
    }

    .footer__content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

/* =============================================
   RESPONSIVE - Desktop (1024px+)
   ============================================= */
@media (min-width: 1024px) {
    .gallery__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .gallery__item--large {
        grid-column: span 1;
        grid-row: span 2;
        aspect-ratio: auto;
    }

    .gallery__item--wide {
        grid-column: span 2;
    }

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

    .reviews__grid .review-card:last-child {
        grid-column: span 1;
    }
}

/* =============================================
   ANIMATIONS & EFFECTS
   ============================================= */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* Body scroll lock when lightbox is open */
body.lightbox-open {
    overflow: hidden;
}
