/* =========================================
   Reset & Variables (Cafe Theme)
========================================= */
:root {
    --color-text: #59534e;
    --color-heading: #3c3631;
    --color-bg: #fdfcfb;
    --color-bg-warm: #f4f0eb;
    --color-border: #e8e4de;
    --color-white: #ffffff;
    
    /* Fonts: Elegant serif for headings, clean serif for body */
    --font-serif: 'Shippori Mincho', serif;
    --font-en: 'Cormorant Garamond', serif;
    
    --max-width: 1100px;
    --header-height: 80px;
}

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

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

body {
    font-family: var(--font-serif);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 2;
    letter-spacing: 0.08em;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.6;
}

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

ul {
    list-style: none;
}

/* =========================================
   Layout & Common
========================================= */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 120px 0;
}

.bg-warm {
    background-color: var(--color-bg-warm);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-title {
    font-family: var(--font-en);
    font-size: 3rem;
    color: var(--color-heading);
    margin-bottom: 15px;
    font-weight: 400;
    font-style: italic;
}

.section-subtitle {
    font-size: 0.85rem;
    color: var(--color-text);
    letter-spacing: 0.15em;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in.delay-1 {
    transition-delay: 0.2s;
}

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

/* =========================================
   Header
========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: transparent;
    z-index: 100;
    transition: background-color 0.4s ease, border-bottom 0.4s ease;
}

.header.is-scrolled {
    background-color: rgba(253, 252, 251, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    height: 100%;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo a {
    font-family: var(--font-en);
    font-size: 1.8rem;
    color: var(--color-white); /* White initially over hero image */
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: color 0.4s ease;
}

.header.is-scrolled .logo a {
    color: var(--color-heading);
}

.global-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    gap: 40px;
    margin-right: 40px;
}

.nav-list a {
    font-family: var(--font-en);
    font-size: 1.1rem;
    color: var(--color-white);
    transition: color 0.4s ease, opacity 0.3s ease;
}

.header.is-scrolled .nav-list a {
    color: var(--color-heading);
}

.nav-icon {
    color: var(--color-white);
    display: flex;
    align-items: center;
    transition: color 0.4s ease;
}

.header.is-scrolled .nav-icon {
    color: var(--color-heading);
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1000;
}

.hamburger span {
    position: absolute;
    width: 100%;
    height: 1px;
    background-color: var(--color-white);
    left: 0;
    transition: 0.3s ease;
}

.header.is-scrolled .hamburger span {
    background-color: var(--color-heading);
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { top: 18px; }

.hamburger.is-active span:nth-child(1) { top: 9px; transform: rotate(45deg); background-color: var(--color-heading); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { top: 9px; transform: rotate(-45deg); background-color: var(--color-heading); }

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-bg);
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-menu.is-active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav-list {
    text-align: center;
}

.mobile-nav-list li {
    margin-bottom: 40px;
}

.mobile-nav-list a {
    font-family: var(--font-en);
    font-size: 2rem;
    color: var(--color-heading);
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Slightly larger for parallax */
    background-size: cover;
    background-position: center;
    z-index: -1;
    transform: translateY(0); /* Parallax controlled by JS */
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2); /* Darken slightly to make white text pop */
    z-index: 0;
}

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

.hero-catchphrase {
    color: var(--color-white);
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    align-items: center;
    font-family: var(--font-en);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 60px;
    background-color: rgba(255,255,255,0.5);
    margin-top: 10px;
    animation: scrollLine 2s infinite ease-in-out;
    transform-origin: top;
}

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

/* =========================================
   Concept
========================================= */
.concept-wrapper {
    display: flex;
    align-items: center;
    gap: 80px;
}

.concept-text {
    flex: 1;
}

.concept-text .section-title {
    text-align: left;
    margin-bottom: 30px;
}

.concept-lead {
    font-size: 1.6rem;
    color: var(--color-heading);
    margin-bottom: 30px;
    font-weight: 500;
    line-height: 1.8;
}

.concept-image {
    flex: 1;
}

.concept-image img {
    border-radius: 2px;
    box-shadow: -20px 20px 0 var(--color-bg-warm);
}

/* =========================================
   Recommend Menu
========================================= */
.menu-items {
    display: flex;
    flex-direction: column;
    gap: 100px;
    max-width: 900px;
    margin: 0 auto;
}

.menu-card {
    display: flex;
    align-items: center;
    gap: 60px;
}

.menu-card.reverse {
    flex-direction: row-reverse;
}

.menu-card-img {
    flex: 1.2;
}

.menu-card-img img {
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 2px;
}

.menu-card-text {
    flex: 1;
}

.menu-name {
    font-size: 1.4rem;
    color: var(--color-heading);
    margin-bottom: 20px;
    font-weight: 500;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 15px;
}

.menu-name span {
    display: block;
    font-family: var(--font-en);
    font-size: 0.9rem;
    color: #999;
    margin-top: 5px;
    font-weight: 400;
}

.menu-desc {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.menu-price {
    font-size: 1.2rem;
    color: var(--color-heading);
    font-family: var(--font-en);
}

.menu-note {
    text-align: center;
    margin-top: 80px;
    font-size: 0.9rem;
}

/* =========================================
   Gallery
========================================= */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 2px;
    transition: transform 0.6s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

.instagram-link {
    text-align: center;
}

.btn-outline {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--color-heading);
    color: var(--color-heading);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background-color: var(--color-heading);
    color: var(--color-white);
    opacity: 1;
}

/* =========================================
   Access & Info
========================================= */
.access-wrapper {
    display: flex;
    gap: 60px;
}

.info-box {
    flex: 1;
}

.map-box {
    flex: 1;
    min-height: 400px;
}

.map-box iframe {
    border-radius: 2px;
    filter: grayscale(20%) contrast(90%); /* Make map look slightly more aesthetic */
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th, .info-table td {
    padding: 25px 0;
    border-bottom: 1px solid var(--color-border);
    vertical-align: top;
}

.info-table th {
    width: 30%;
    text-align: left;
    font-weight: 500;
    color: var(--color-heading);
}

.tel-link {
    font-size: 1.4rem;
    color: var(--color-heading);
    font-family: var(--font-en);
    display: inline-block;
    margin-bottom: 10px;
}

.info-note {
    display: block;
    font-size: 0.85rem;
    color: #888;
    line-height: 1.6;
}

/* =========================================
   Footer
========================================= */
.footer {
    background-color: var(--color-heading);
    color: var(--color-white);
    text-align: center;
    padding: 80px 0 40px;
}

.footer-logo {
    font-family: var(--font-en);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.footer-address {
    font-size: 0.9rem;
    margin-bottom: 30px;
    color: rgba(255,255,255,0.7);
}

.footer-sns {
    margin-bottom: 50px;
}

.footer-sns a {
    color: var(--color-white);
}

.copyright {
    font-family: var(--font-en);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.1em;
}

/* =========================================
   Responsive (Tablet & Mobile)
========================================= */
@media screen and (max-width: 900px) {
    .concept-wrapper {
        flex-direction: column;
        gap: 50px;
    }
    
    .concept-image img {
        box-shadow: -10px 10px 0 var(--color-bg-warm);
    }

    .menu-card, .menu-card.reverse {
        flex-direction: column;
        gap: 30px;
    }

    .access-wrapper {
        flex-direction: column;
    }
}

@media screen and (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2.5rem;
    }

    /* Header */
    .header-inner {
        padding: 0 20px;
    }

    .global-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .header.is-scrolled .logo a {
        color: var(--color-heading);
    }
    
    /* When menu is active, ensure logo and hamburger are visible over white bg */
    .mobile-menu.is-active ~ .header .logo a,
    .mobile-menu.is-active ~ .header .hamburger span {
        color: var(--color-heading);
    }

    /* Hero */
    .hero-catchphrase {
        font-size: 1.8rem;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr; /* Single column on mobile for big photos */
    }

    /* Info Table */
    .info-table th, .info-table td {
        display: block;
        width: 100%;
        padding: 15px 0;
    }

    .info-table th {
        padding-bottom: 0;
        border-bottom: none;
        color: var(--color-text); /* slightly soften on mobile */
    }

    .map-box {
        min-height: 300px;
    }
}
