:root {
    --color-brown-dark: #2D1B13;
    --color-brown-medium: #4E342E;
    --color-brown-light: #6D4C41;
    --color-gold: #D4AF37;
    --color-gold-light: #F1D279;
    --color-text-light: #F5F5F5;
    --color-text-dark: #2D1B13;
    --color-bg-light: #FFFBF0;
    --color-bg-dark: #1A0F0A;
    --font-serif: "Playfair Display", serif;
    --font-sans: "Noto Sans JP", sans-serif;
    --font-accent: "Marcellus", serif;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-light);
    color: var(--color-text-dark);
    font-family: var(--font-sans);
    line-height: 1.8;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

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

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
}

header.scrolled {
    background: rgba(45, 27, 19, 0.95);
    padding: 10px 0;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    color: var(--color-gold);
    letter-spacing: 0.1em;
    line-height: 1;
}

.logo-sub {
    font-size: 0.7rem;
    color: var(--color-text-light);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.nav-desktop ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-desktop a {
    color: var(--color-text-light);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    font-weight: 500;
}

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

.fb-link {
    font-size: 1.2rem;
    background: var(--color-gold);
    color: var(--color-brown-dark) !important;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.fb-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.4);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 30px;
    height: 2px;
    background: var(--color-gold);
    transition: var(--transition);
}

/* Mobile Nav */
.nav-mobile {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: var(--color-brown-dark);
    z-index: 999;
    padding: 100px 40px;
    transition: var(--transition);
}

.nav-mobile.active {
    right: 0;
}

.nav-mobile ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.nav-mobile a {
    color: var(--color-text-light);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

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

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

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

.section-title .en {
    display: block;
    font-family: var(--font-accent);
    color: var(--color-gold);
    font-size: 0.9rem;
    letter-spacing: 0.3em;
    margin-bottom: 10px;
}

.section-title h2 {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 20px;
    background: linear-gradient(to bottom, var(--color-gold-light), var(--color-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--color-gold), transparent);
}

.section-title.left h2::after {
    left: 0;
    transform: none;
    background: linear-gradient(to right, var(--color-gold), transparent);
}

/* Hero */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    color: var(--color-text-light);
    overflow: hidden;
}


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

.catchphrase {
    font-family: var(--font-serif);
    font-size: 5rem;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.catchphrase span {
    display: block;
}

.hero-sub {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    color: var(--color-gold);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    z-index: 20;
}

.scroll-down .line {
    width: 1px;
    height: 60px;
    background: var(--color-gold);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* About */
.about-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--color-brown-dark);
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
}


/* Menu */
.bg-dark {
    background-color: var(--color-bg-dark);
    color: var(--color-text-light);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.menu-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 20px;
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-10px);
    border-color: var(--color-gold);
}

.menu-img {
    height: 250px;
    margin-bottom: 20px;
}

.menu-info h3 {
    font-family: var(--font-serif);
    color: var(--color-gold);
    margin-bottom: 10px;
}

.btn-container {
    text-align: center;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    letter-spacing: 0.2em;
    font-size: 0.9rem;
}

.btn:hover {
    background: var(--color-gold);
    color: var(--color-brown-dark);
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

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

/* Info */
.bg-brown {
    background-color: var(--color-brown-dark);
    color: var(--color-text-light);
}

.info-layout {
    display: flex;
    gap: 80px;
    align-items: stretch;
}

.info-content {
    flex: 1.2;
}

.info-visual {
    flex: 1;
    aspect-ratio: 1;
    overflow: hidden;
}

.sns-links {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 40px;
}

.info-table th, .info-table td {
    padding: 15px 0;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    text-align: left;
    vertical-align: top;
}

.info-table th {
    width: 120px;
    color: var(--color-gold);
    font-weight: 500;
}

.fb-button, .uber-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    color: white;
    min-width: 220px;
}

.fb-button { background: #1877F2; }
.fb-button:hover { background: #166fe5; transform: scale(1.05); }

.uber-button { background: #06C167; }
.uber-button:hover { background: #05a357; transform: scale(1.05); }

.uber-link {
    font-size: 1.2rem;
    background: #06C167;
    color: white !important;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.uber-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(6, 193, 103, 0.4);
}

/* Slideshow */
.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slideshow-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.4), rgba(0,0,0,0.7));
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* About Slider */
.about-image {
    flex: 1;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.about-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

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

/* Static Gallery */
.gallery-grid-static {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.gallery-item {
    aspect-ratio: 1;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

@media (max-width: 992px) {
    .gallery-grid-static {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Placeholders */
.gray-placeholder {
    background-color: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.placeholder-text {
    color: #999;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

/* Footer */
.footer {
    background: #111;
    color: #666;
    padding: 60px 0;
    text-align: center;
}

.footer .logo-text {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.footer-copy {
    font-size: 0.8rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

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

/* Responsive */
@media (max-width: 992px) {
    .catchphrase { font-size: 3.5rem; }
    .about-flex { flex-direction: column; align-items: stretch; }
    .about-image { display: block; width: 100%; height: 300px; margin-top: 30px; }
    .info-layout { flex-direction: column; }
    .info-visual { width: 100%; height: auto; aspect-ratio: 1; }
    .carousel-item { flex: 0 0 calc(100% - 14px); }
}

@media (max-width: 768px) {
    .nav-desktop { display: none; }
    .mobile-menu-btn { display: flex; }
    .gallery-grid-static { grid-template-columns: repeat(2, 1fr); }
    .catchphrase { font-size: 2.5rem; }
    .section { padding: 60px 0; }
    
    /* Smaller text for info section on mobile */
    .info-table th, .info-table td {
        font-size: 0.85rem;
        padding: 10px 0;
    }
    .info-table th {
        width: 100px;
    }
    .fb-button, .uber-button {
        font-size: 0.8rem;
        padding: 12px 20px;
        min-width: auto;
        flex: 1;
    }
    #info .section-title h2 {
        font-size: 1.8rem;
    }
    #info .section-title .en {
        font-size: 0.75rem;
    }
}
