/* ===========================
   Reset & Base Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #2d2d2d;
    --accent-color: #c9a961;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f8f8;
    --white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Serif JP', serif;
    color: var(--text-color);
    line-height: 1.8;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   Typography
   =========================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    line-height: 1.3;
}

.section-label {
    display: inline-block;
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-family: 'Noto Serif JP', serif;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.divider {
    width: 60px;
    height: 2px;
    background: var(--accent-color);
    margin: 2rem 0;
}

.divider.center {
    margin: 2rem auto;
}

/* ===========================
   Navigation
   =========================== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

#navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 20px;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.95rem;
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('../images/dish1.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7), rgba(45, 45, 45, 0.6));
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: 8px;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.subtitle {
    font-size: 1.3rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: transparent;
    color: var(--white);
    border: 2px solid var(--accent-color);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: var(--transition);
}

.cta-button:hover {
    background: var(--accent-color);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator span {
    display: block;
    width: 1px;
    height: 40px;
    background: var(--white);
    opacity: 0.6;
    animation: scrollAnimation 2s infinite;
}

@keyframes scrollAnimation {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(10px); opacity: 1; }
}

/* ===========================
   About Section
   =========================== */
.about {
    padding: 8rem 0;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 2px;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.about-text h2 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.about-text h3 {
    font-size: 1.5rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-weight: 300;
}

.about-text .lead {
    font-size: 1.15rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.about-text .lead-en {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-style: italic;
    line-height: 1.8;
}

.about-text p {
    margin-bottom: 1.2rem;
    color: var(--text-light);
}

.about-text .about-en {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
    line-height: 1.8;
    opacity: 0.9;
}

.signature {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e0e0e0;
    font-style: italic;
    color: var(--accent-color);
}

.signature-en {
    margin-top: 1rem;
    font-style: italic;
    color: var(--accent-color);
    opacity: 0.9;
    font-size: 0.95rem;
}

/* ===========================
   Dishes Section
   =========================== */
.dishes {
    padding: 8rem 0;
    background: var(--bg-light);
    text-align: center;
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.dish-card {
    background: var(--white);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.dish-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.dish-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.dish-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.dish-card:hover .dish-image img {
    transform: scale(1.05);
}

.dish-info {
    padding: 2rem;
    text-align: left;
}

.dish-info h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.dish-info h4 {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-bottom: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.dish-info p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.dish-info p.en {
    font-style: italic;
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.8;
}

.menu-pdf {
    margin-top: 4rem;
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.menu-button {
    display: inline-block;
    padding: 1rem 3rem;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--accent-color);
    text-decoration: none;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.9rem;
    font-family: 'Cormorant Garamond', serif;
    transition: var(--transition);
}

.menu-button:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(201, 169, 97, 0.3);
}

/* ===========================
   Service Section
   =========================== */
.service {
    padding: 8rem 0;
    background: var(--white);
    text-align: center;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.service-card {
    padding: 3rem 2rem;
    background: var(--bg-light);
    border-radius: 2px;
    transition: var(--transition);
}

.service-card:hover {
    background: var(--white);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.price {
    font-size: 2.5rem;
    color: var(--accent-color);
    font-family: 'Cormorant Garamond', serif;
    margin: 1rem 0;
}

.price-note {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.small {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

.small.note {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.cancel-policy {
    list-style: none;
    text-align: left;
    max-width: 200px;
    margin: 1rem auto;
}

.cancel-policy li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

/* ===========================
   Contact Section
   =========================== */
.contact {
    padding: 8rem 0;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--white);
    text-align: center;
}

.contact .section-label {
    color: var(--accent-color);
}

.contact .section-title {
    color: var(--white);
}

.contact .divider {
    background: var(--accent-color);
}

.contact-intro {
    margin: 2rem auto 4rem;
    max-width: 700px;
    font-size: 1.05rem;
    opacity: 0.9;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    margin-top: 4rem;
}

.contact-card {
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 2px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.contact-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.contact-card a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.1rem;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--white);
}

.qr-code {
    margin-top: 2rem;
}

.qr-code img {
    width: 150px;
    height: 150px;
    margin: 1rem auto;
    background: var(--white);
    padding: 10px;
    border-radius: 5px;
}

/* ===========================
   Footer
   =========================== */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

footer p {
    font-size: 0.9rem;
    opacity: 0.7;
    margin: 0.5rem 0;
}

.location {
    color: var(--accent-color);
}

/* ===========================
   Animations
   =========================== */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.fade-in:nth-child(1) { animation-delay: 0.2s; }
.fade-in:nth-child(2) { animation-delay: 0.4s; }
.fade-in:nth-child(3) { animation-delay: 0.6s; }
.fade-in:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        gap: 0;
        transition: var(--transition);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        padding: 1.5rem 0;
        border-bottom: 1px solid #e0e0e0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 7px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero h1 {
        font-size: 3rem;
        letter-spacing: 4px;
    }

    .section-title {
        font-size: 2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-text h2 {
        font-size: 2rem;
    }

    .dishes-grid {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero h1 {
        font-size: 2.5rem;
        letter-spacing: 3px;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.85rem;
    }
}
