/* ============================================
   Showa Era Izakaya - Main Stylesheet
   Authentic Japanese Izakaya in NYC
   Design: Showa-era nostalgia + modern UX
   ============================================ */

/* --- CSS Variables --- */
:root {
    --charcoal: #1a1a1a;
    --charcoal-light: #2a2a2a;
    --wood-dark: #3d2b1f;
    --wood-medium: #5c3d2e;
    --wood-light: #8b6f47;
    --cream: #f5f0e8;
    --cream-dark: #e8e0d0;
    --red-japan: #8b2500;
    --red-accent: #c0392b;
    --gold: #c9a96e;
    --gold-light: #d4b97a;
    --gold-dark: #a88b4a;
    --white: #ffffff;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-dark: #2c2c2c;
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    --shadow-light: 0 2px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --font-heading: 'Cormorant Garamond', 'Georgia', serif;
    --font-body: 'Inter', 'Helvetica Neue', sans-serif;
    --font-japanese: 'Noto Serif JP', serif;
}

/* --- 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(--charcoal);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul, ol {
    list-style: none;
}

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

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

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

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: 0.05em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: 0.03em;
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    letter-spacing: 0.02em;
}

.section-label {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: var(--gold);
    display: block;
    margin-bottom: 1rem;
}

.section-divider {
    width: 60px;
    height: 1px;
    background: var(--gold);
    margin: 1.5rem auto;
}

.jp-text {
    font-family: var(--font-japanese);
    font-style: normal;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.nav.scrolled {
    background: rgba(26, 26, 26, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.8rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo a {
    color: var(--cream);
    text-decoration: none;
    transition: var(--transition);
}

.logo a:hover {
    opacity: 0.8;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cream);
}

.logo-sub {
    display: block;
    font-family: var(--font-japanese);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: var(--gold);
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-light);
    position: relative;
    padding: 0.3rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

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

.nav-cta {
    font-size: 0.75rem !important;
    padding: 0.6rem 1.5rem !important;
    border: 1px solid var(--gold);
    color: var(--gold) !important;
    letter-spacing: 0.15em !important;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--gold);
    color: var(--charcoal) !important;
}

.nav-cta::after {
    display: none !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.menu-toggle span {
    width: 28px;
    height: 1.5px;
    background: var(--cream);
    transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

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

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

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
}

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

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5em;
    color: var(--gold);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 1s 0.5s forwards;
}

.hero h1 {
    color: var(--cream);
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeUp 1s 0.7s forwards;
}

.hero-jp {
    font-family: var(--font-japanese);
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: var(--gold);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 1s 0.9s forwards;
}

.hero-tagline {
    font-size: clamp(0.95rem, 1.5vw, 1.1rem);
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    opacity: 0;
    animation: fadeUp 1s 1.1s forwards;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 1s 1.3s forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeUp 1s 1.8s forwards;
}

.hero-scroll span {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--text-muted);
}

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

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 0.9rem 2.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-family: var(--font-body);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gold);
    color: var(--charcoal);
}

.btn-primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(201, 169, 110, 0.3);
}

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

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}

.btn-dark {
    background: var(--charcoal);
    color: var(--cream);
    border: 1px solid var(--charcoal);
}

.btn-dark:hover {
    background: var(--charcoal-light);
    transform: translateY(-2px);
}

/* --- Section Styles --- */
.section {
    padding: 7rem 0;
}

.section-dark {
    background: var(--charcoal);
}

.section-darker {
    background: var(--charcoal-light);
}

.section-cream {
    background: var(--cream);
    color: var(--text-dark);
}

.section-wood {
    background: var(--wood-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 0.3rem;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 1.5rem auto 0;
    font-size: 1rem;
    line-height: 1.8;
}

.section-cream .section-header p {
    color: rgba(44, 44, 44, 0.7);
}

/* --- Intro / Welcome Section --- */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intro-image {
    position: relative;
    overflow: hidden;
}

.intro-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.intro-image:hover img {
    transform: scale(1.03);
}

.intro-image-accent {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--gold);
    pointer-events: none;
}

.intro-text .section-label {
    text-align: left;
}

.intro-text h2 {
    margin-bottom: 1.5rem;
}

.intro-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.9;
}

.intro-signature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.intro-signature-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
}

.intro-signature span {
    font-family: var(--font-japanese);
    font-size: 0.85rem;
    color: var(--gold);
    letter-spacing: 0.1em;
}

/* --- Menu Preview Section --- */
.menu-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.menu-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
}

.menu-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.menu-card:hover img {
    transform: scale(1.08);
}

.menu-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(26, 26, 26, 0.9) 0%,
        rgba(26, 26, 26, 0.1) 60%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem 1.5rem;
    transition: var(--transition);
}

.menu-card:hover .menu-card-overlay {
    background: linear-gradient(
        to top,
        rgba(26, 26, 26, 0.95) 0%,
        rgba(26, 26, 26, 0.3) 70%
    );
}

.menu-card h3 {
    color: var(--cream);
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
}

.menu-card-jp {
    font-family: var(--font-japanese);
    font-size: 0.75rem;
    color: var(--gold);
    letter-spacing: 0.1em;
}

.menu-card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.menu-card:hover .menu-card-desc {
    opacity: 1;
    transform: translateY(0);
}

/* --- Full Menu Page --- */
.menu-section-group {
    margin-bottom: 5rem;
}

.menu-section-title {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.menu-section-title h2 {
    white-space: nowrap;
    font-size: 2rem;
}

.menu-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.menu-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--charcoal-light);
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.menu-item-image {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    overflow: hidden;
}

.menu-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-item-info {
    flex: 1;
}

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

.menu-item-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--cream);
}

.menu-item-price {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gold);
    white-space: nowrap;
    margin-left: 1rem;
}

.menu-item-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.menu-item-tag {
    display: inline-block;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--red-accent);
    border: 1px solid var(--red-accent);
    padding: 0.15rem 0.5rem;
    margin-top: 0.5rem;
}

/* Menu page image showcase */
.menu-showcase {
    position: relative;
    margin-bottom: 4rem;
    height: 400px;
    overflow: hidden;
}

.menu-showcase img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26,26,26,0.3), rgba(26,26,26,0.8));
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-showcase-overlay h1 {
    color: var(--cream);
    text-align: center;
}

/* --- Atmosphere / Ambiance Section --- */
.atmosphere-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 1rem;
}

.atmosphere-item {
    position: relative;
    overflow: hidden;
}

.atmosphere-item:first-child {
    grid-row: 1 / 3;
}

.atmosphere-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.atmosphere-item:hover img {
    transform: scale(1.05);
}

.atmosphere-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(to top, rgba(26,26,26,0.8), transparent);
}

.atmosphere-caption span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
}

/* --- Hours & Location Section --- */
.hours-location {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.hours-card {
    padding: 3rem;
    background: var(--charcoal-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hours-card h3 {
    margin-bottom: 2rem;
    color: var(--gold);
}

.hours-list {
    margin-bottom: 2rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
}

.hours-row .day {
    color: var(--cream);
}

.hours-row .time {
    color: var(--text-muted);
}

.location-info p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.location-info a {
    color: var(--gold);
}

.location-info a:hover {
    color: var(--gold-light);
}

.map-container {
    width: 100%;
    height: 350px;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(30%) contrast(1.1);
}

/* --- Gallery Section --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
}

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

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

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay span {
    font-size: 2rem;
    color: var(--cream);
}

/* Gallery Filter */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    padding: 0.5rem 1.5rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201, 169, 110, 0.1);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 1.5rem;
    color: var(--cream);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.3);
    transition: var(--transition);
    background: none;
}

.lightbox-close:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--cream);
    cursor: pointer;
    padding: 1rem;
    transition: var(--transition);
    background: none;
    border: none;
}

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

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

/* --- About Page --- */
.about-hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

.about-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26,26,26,0.3), rgba(26,26,26,0.9));
    display: flex;
    align-items: flex-end;
    padding-bottom: 4rem;
}

.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-story p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.9;
}

.about-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.value-card {
    text-align: center;
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.value-card:hover {
    border-color: var(--gold);
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    margin-bottom: 1rem;
    color: var(--cream);
}

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

/* --- Reservation Section --- */
.reservation-section {
    position: relative;
}

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

.reservation-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
}

.reservation-content {
    position: relative;
    z-index: 1;
}

.reservation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.reservation-info h2 {
    margin-bottom: 1.5rem;
}

.reservation-info p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.reservation-detail {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.reservation-detail-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold);
    font-size: 0.9rem;
}

.reservation-detail-text h4 {
    font-size: 0.9rem;
    color: var(--cream);
    margin-bottom: 0.3rem;
    font-family: var(--font-body);
    font-weight: 500;
}

.reservation-detail-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* --- Forms --- */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

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

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="time"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--cream);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
    outline: none;
}

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

select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23c9a96e' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

select option {
    background: var(--charcoal);
    color: var(--cream);
}

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

::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Cream section forms */
.section-cream input,
.section-cream select,
.section-cream textarea {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
}

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

/* --- Testimonials --- */
.testimonials-slider {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.testimonial {
    display: none;
}

.testimonial.active {
    display: block;
}

.testimonial-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    line-height: 1.6;
    color: var(--cream);
    font-style: italic;
    margin-bottom: 2rem;
}

.testimonial-author {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold);
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.testimonial-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.testimonial-dot.active {
    background: var(--gold);
}

/* --- CTA Banner --- */
.cta-banner {
    position: relative;
    padding: 6rem 0;
    text-align: center;
    overflow: hidden;
}

.cta-banner-bg {
    position: absolute;
    inset: 0;
}

.cta-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.cta-banner-content {
    position: relative;
    z-index: 1;
}

.cta-banner h2 {
    margin-bottom: 1rem;
}

.cta-banner p {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

/* --- Contact Page --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info-card {
    padding: 2rem;
    background: var(--charcoal-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border: 1px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold);
    font-size: 1.2rem;
}

.contact-detail h4 {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    color: var(--cream);
}

.contact-detail p,
.contact-detail a {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

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

.contact-form-wrapper {
    padding: 3rem;
    background: var(--charcoal-light);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-form-wrapper h3 {
    margin-bottom: 0.5rem;
}

.contact-form-wrapper > p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

/* --- Footer --- */
footer {
    background: #111111;
    color: var(--text-light);
    padding: 4rem 0 1.5rem;
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo-text {
    font-size: 1.3rem;
    display: block;
    margin-bottom: 0.3rem;
}

.footer-brand .logo-sub {
    margin-bottom: 1.5rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.8;
    max-width: 280px;
}

.footer-section h3 {
    color: var(--cream);
    font-size: 0.8rem;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
}

.footer-section p,
.footer-section a {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 2;
    display: block;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-partner {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-partner a {
    color: var(--gold);
    transition: var(--transition);
}

.footer-partner a:hover {
    color: var(--gold-light);
}

/* --- Animations --- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* --- Page Hero (Interior pages) --- */
.page-hero {
    position: relative;
    height: 50vh;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(26,26,26,0.5), rgba(26,26,26,0.9));
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-hero-content .section-label {
    margin-bottom: 1rem;
}

.page-hero-content h1 {
    margin-bottom: 0.5rem;
}

.page-hero-content p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .menu-categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }

    .hours-location {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .atmosphere-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }

    .atmosphere-item:first-child {
        grid-column: 1 / 3;
        grid-row: auto;
        height: 300px;
    }

    .atmosphere-item {
        height: 200px;
    }

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

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

@media (max-width: 768px) {
    .nav {
        padding: 1rem 0;
    }

    .nav.scrolled {
        padding: 0.6rem 0;
    }

    .logo-text {
        font-size: 1.15rem;
        letter-spacing: 0.1em;
    }

    .logo-sub {
        font-size: 0.5rem;
        letter-spacing: 0.2em;
    }

    .hero {
        min-height: 100vh;
        min-height: 100svh;
    }

    .hero h1 {
        font-size: 2rem;
        letter-spacing: 0.03em;
        margin-bottom: 0.3rem;
    }

    .hero-label {
        font-size: 0.55rem;
        letter-spacing: 0.35em;
        margin-bottom: 1rem;
    }

    .hero-jp {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }

    .hero-tagline {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        max-width: 320px;
    }

    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-scroll {
        bottom: 1.5rem;
    }

    .hero-scroll span {
        font-size: 0.55rem;
    }

    .scroll-line {
        height: 25px;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: var(--charcoal);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        transition: right 0.4s ease;
        border-left: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links.open {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .intro-grid,
    .about-story,
    .reservation-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .intro-image img {
        height: 350px;
    }

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

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

    .menu-item {
        flex-direction: column;
    }

    .menu-item-image {
        width: 100%;
        height: 200px;
    }

    .about-values {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .gallery-item.wide,
    .gallery-item.tall {
        grid-column: auto;
        grid-row: auto;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

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

    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }

    .section {
        padding: 4rem 0;
    }

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

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

    .atmosphere-item:first-child {
        grid-column: auto;
        height: 250px;
    }

    .atmosphere-item {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.2rem;
    }

    .logo-text {
        font-size: 1rem;
        letter-spacing: 0.08em;
    }

    .logo-sub {
        font-size: 0.45rem;
        letter-spacing: 0.15em;
    }

    .nav-inner {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 1.7rem;
        letter-spacing: 0.02em;
    }

    .hero-label {
        font-size: 0.5rem;
        letter-spacing: 0.3em;
        margin-bottom: 0.8rem;
    }

    .hero-jp {
        font-size: 0.78rem;
        margin-bottom: 0.8rem;
    }

    .hero-tagline {
        font-size: 0.8rem;
        line-height: 1.55;
        margin-bottom: 1.2rem;
        max-width: 280px;
    }

    .hero-buttons .btn {
        font-size: 0.65rem;
        padding: 0.8rem 1.5rem;
        max-width: 240px;
    }

    .hero-content {
        padding: 0 1.2rem;
    }

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

    .menu-card {
        aspect-ratio: 4/3;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.3rem;
    }

    .hours-card {
        padding: 2rem 1.5rem;
    }

    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }

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

    .section-header h2 {
        font-size: 1.6rem;
    }

    .cta-banner h2 {
        font-size: 1.5rem;
    }

    .cta-banner p {
        font-size: 0.85rem;
    }
}

/* --- Utility Classes --- */
.text-center {
    text-align: center;
}

.text-gold {
    color: var(--gold);
}

.text-cream {
    color: var(--cream);
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }

/* Mobile nav overlay */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

.nav-overlay.active {
    display: block;
}

/* Structured Data hidden */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
