:root {
    --bg-dark: #0a0a0a;
    --bg-light: #161616;
    --text-main: #f5f5f5;
    --text-muted: #999;
    --accent: #d4af37;
    /* Gold */
    --accent-hover: #c5a059;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

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

.jp-text {
    font-size: 0.35em;
    font-weight: 400;
    color: var(--accent);
    opacity: 0.85;
    text-transform: none;
    vertical-align: middle;
    font-family: sans-serif;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 800;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 3.5rem;
    padding-bottom: 1.8rem;
    text-transform: uppercase;
    text-align: center;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0.8rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent);
}

.section-title--left {
    text-align: left;
    left: 0;
    transform: none;
}

.section-title--left::after {
    left: 0;
    transform: none;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    font-size: 3.25rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: -0.05em;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}

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

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/hero.webp') center/cover;
    z-index: -1;
    filter: blur(10px) brightness(0.5);
    transform: scale(1.1) translateY(5%);
}

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

.hero-content h1 {
    font-size: 8.4rem;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: var(--accent);
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #ccc;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.description {
    font-size: 1.2rem;
    max-width: 500px;
    margin-bottom: 2.5rem;
    color: var(--text-muted);
}

.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--accent);
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn:hover {
    background: var(--accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

/* Sections */
.section {
    padding: 8rem 0;
}

.section.dark {
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.section.dark::before {
    content: 'お';
    position: absolute;
    top: -0.2em;
    right: -0.1em;
    font-size: 70rem;
    font-family: sans-serif;
    color: rgba(212, 175, 55, 0.018);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.section.dark::after {
    content: '';
}

.section.dark > * {
    position: relative;
    z-index: 1;
}

#contact::before {
    right: auto;
    left: -0.1em;
}

/* Concept */
.concept-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}


.concept-text p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.concept-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.concept-image img:hover {
    transform: scale(1.02);
}

/* Menu */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem 6rem;
}

.menu-category h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--accent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
}

.menu-items {
    list-style: none;
}

.menu-items li {
    margin-bottom: 2rem;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
}

.item-name {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.item-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.contact-left {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.contact-right {
    align-self: start;
    position: sticky;
    top: 100px;
}

.contact-map {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    border: none;
    filter: brightness(2) contrast(1.4) sepia(0.3);
    background: #1a1a2e;
}

.contact-map .leaflet-container,
.contact-map .leaflet-layer,
.contact-map .leaflet-tile-pane,
.contact-map .leaflet-tile {
    background: #0a0a0a !important;
}

.contact-map .leaflet-tile {
    outline: 1px solid transparent;
}


.info-block {
    margin-bottom: 2rem;
}

.info-block h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.info-block p {
    font-size: 1.2rem;
}

.contact-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.map-gmaps-link {
    display: block;
    font-size: 0.85rem;
    color: var(--accent);
    margin-top: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    transition: color 0.3s ease;
}

.map-gmaps-link:hover {
    color: var(--text-main);
}

.social-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--text-main);
}

.reservation-wrapper {
    max-width: 480px;
    margin: 0 auto;
}

.contact-form-container {
    background: var(--bg-dark);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form-container h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.contact-form input {
    width: 100%;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.contact-form input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
}

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

.form-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
}

/* Photo Slider */
.photo-slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.menu-slider-col {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
}

.menu-col-right {
    grid-column: 2;
}

.photo-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.photo-slide {
    min-width: 100%;
    position: relative;
}

.photo-slide img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    background: var(--bg-light);
}

.photo-slide-label {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #fff;
    background: rgba(0,0,0,0.55);
    padding: 0.35rem 1rem;
    border-radius: 50px;
    backdrop-filter: blur(6px);
    white-space: nowrap;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background 0.3s, color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--accent);
    color: #000;
}

.slider-btn--prev { left: 1rem; }
.slider-btn--next { right: 1rem; }

.slider-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transition: background 0.3s;
    cursor: pointer;
}

.slider-dot.active {
    background: var(--accent);
}

/* Footer */
footer {
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Hero glitch RGB */
.hero-glitch-el::before,
.hero-glitch-el::after {
    content: attr(data-text);
    position: absolute;
    inset: 0;
    font-size: inherit;
    font-weight: inherit;
    opacity: 0;
    pointer-events: none;
}

.hero-glitch-el.glitching::before {
    opacity: 0;
}

.hero-glitch-el.glitching::after {
    opacity: 0;
}

@keyframes heroGlitchFlash {
    0%   { opacity: 0.7; }
    40%  { opacity: 0.7; }
    60%  { opacity: 0; }
    100% { opacity: 0; }
}

@keyframes heroGlitchTop {
    0%   { transform: translate(-4px, -2px); }
    33%  { transform: translate(4px, 1px); }
    66%  { transform: translate(-2px, 0); }
    100% { transform: translate(0); }
}

@keyframes heroGlitchBot {
    0%   { transform: translate(4px, 2px); }
    33%  { transform: translate(-4px, -1px); }
    66%  { transform: translate(2px, 0); }
    100% { transform: translate(0); }
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-indicator svg {
    width: 36px;
    height: 36px;
    animation: scrollChevron 1.6s ease-in-out infinite;
}

@keyframes scrollChevron {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50%       { transform: translateY(6px); opacity: 1; }
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-fade {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.reveal-fade.visible {
    opacity: 1;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Responsive */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.97);
        flex-direction: column;
        align-items: center;
        gap: 0;
        border-top: 1px solid rgba(255,255,255,0.05);
    }

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

    .nav-links a {
        width: 100%;
        text-align: center;
        padding: 1.2rem 0;
        margin: 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }

    .hero {
        height: 100vh;
        height: 100dvh;
    }

    .hero-content h1 {
        font-size: 5.4rem;
    }

    .section-title {
        font-size: 2.3rem;
        margin-bottom: 2.5rem;
        padding-bottom: 1rem;
    }

    .hero-jp {
        font-size: 1.1rem !important;
    }

    .scroll-indicator {
        width: 40px;
        height: 40px;
        bottom: 1.5rem;
        border: none;
        border-radius: 0;
        padding: 0;
    }

    .scroll-indicator svg {
        width: 40px;
        height: 40px;
    }

    .subtitle {
        font-size: 1.1rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        white-space: normal;
    }

    .subtitle .bullet {
        display: none;
    }

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

    .menu-slider-col,
    .menu-col-right {
        grid-column: 1;
        grid-row: auto;
        order: 99;
    }

    .contact-map {
        position: static;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 5rem 0;
    }

    .contact-form-container {
        padding: 2rem;
    }

    .hero-bg {
        background-image: url('../img/hero-mobile.webp');
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-fade {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .scroll-indicator svg {
        animation: none;
        opacity: 0.7;
    }

    .navbar {
        backdrop-filter: none;
        background: rgba(10, 10, 10, 0.95);
    }

    .hero-bg {
        filter: brightness(0.5);
        transform: none;
    }

    * {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
