/* ============================================
   Shige's Saimin Stand — Editorial Style
   Color Palette: Emerald Green + Cream
   ============================================ */

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

:root {
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --cream-50: #faf9f6;
    --cream-100: #f5f3ed;
    --cream-200: #ebe8df;
    --cream-300: #d4cfc4;
    --charcoal: #1a1a18;
    --charcoal-light: #2d2d2a;
    --warm-gray: #6b6560;
    --warm-gray-light: #98908a;
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--sans);
    background-color: var(--cream-50);
    color: var(--charcoal);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* ============================================
   Typography
   ============================================ */

.section-eyebrow {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 1rem;
    display: block;
}

.section-headline {
    font-family: var(--serif);
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--charcoal);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-headline em {
    font-style: italic;
    color: var(--emerald-700);
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--sans);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 1rem 2rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    text-transform: uppercase;
}

.btn--primary {
    background-color: var(--emerald-700);
    color: #fff;
}

.btn--primary:hover {
    background-color: var(--emerald-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(4, 120, 87, 0.3);
}

.btn--ghost {
    background-color: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.btn--ghost:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    transform: translateY(-2px);
}

.btn--large {
    padding: 1.25rem 2.5rem;
    font-size: 0.9375rem;
}

/* ============================================
   Navigation
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
    background-color: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.875rem 0;
    box-shadow: 0 1px 0 var(--cream-200);
}

.nav.scrolled .nav__logo-text {
    color: var(--charcoal);
}

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

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    transition: color 0.3s ease;
}

.nav__logo-icon {
    font-size: 1.5rem;
}

.nav__logo-text {
    transition: color 0.3s ease;
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav__link {
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: var(--emerald-500);
    transition: width 0.3s var(--ease-out);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link:hover {
    color: #fff;
}

.nav.scrolled .nav__link {
    color: var(--warm-gray);
}

.nav.scrolled .nav__link:hover {
    color: var(--charcoal);
}

.nav__link--cta {
    background-color: var(--emerald-700);
    color: #fff !important;
    padding: 0.625rem 1.25rem;
    border-radius: 6px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.nav__link--cta::after {
    display: none;
}

.nav__link--cta:hover {
    background-color: var(--emerald-800);
    transform: translateY(-1px);
}

/* Mobile Toggle */
.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav__toggle-bar {
    width: 24px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s var(--ease-out);
}

.nav.scrolled .nav__toggle-bar {
    background-color: var(--charcoal);
}

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

.nav__toggle.active .nav__toggle-bar:nth-child(2) {
    opacity: 0;
}

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

/* ============================================
   Hero
   ============================================ */

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

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

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(6, 78, 59, 0.55) 0%,
        rgba(6, 78, 59, 0.4) 40%,
        rgba(26, 26, 24, 0.7) 100%
    );
}

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

.hero__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.5rem;
    display: block;
}

.hero__headline {
    font-family: var(--serif);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 900;
    line-height: 1.0;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero__headline em {
    font-style: italic;
    color: var(--emerald-400, #34d399);
}

.hero__sub {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   About
   ============================================ */

.about {
    padding: 8rem 2rem;
    background-color: var(--cream-50);
}

.about__container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about__text .section-headline {
    margin-bottom: 1.5rem;
}

.about__text p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--warm-gray);
    margin-bottom: 1.25rem;
}

.about__image {
    position: relative;
}

.about__image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.12);
}

.about__image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    background-color: var(--emerald-700);
    border-radius: 8px;
    z-index: -1;
}

/* ============================================
   Menu
   ============================================ */

.menu {
    padding: 8rem 2rem;
    background-color: var(--cream-100);
}

.menu__container {
    max-width: 1200px;
    margin: 0 auto;
}

.menu__header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 4rem;
}

.menu__header .section-headline {
    margin-bottom: 1rem;
}

.menu__intro {
    font-size: 1.0625rem;
    color: var(--warm-gray);
    line-height: 1.7;
}

.menu__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.menu__card {
    background-color: var(--cream-50);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.menu__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.menu__card-img {
    overflow: hidden;
    height: 240px;
}

.menu__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.menu__card:hover .menu__card-img img {
    transform: scale(1.06);
}

.menu__card-body {
    padding: 1.75rem;
}

.menu__card-title {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 0.75rem;
}

.menu__card-desc {
    font-size: 0.9375rem;
    color: var(--warm-gray);
    line-height: 1.7;
}

.menu__note {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--warm-gray-light);
    font-style: italic;
}

/* ============================================
   Visit
   ============================================ */

.visit {
    padding: 8rem 2rem;
    background-color: var(--cream-50);
}

.visit__container {
    max-width: 1200px;
    margin: 0 auto;
}

.visit__content {
    max-width: 720px;
    margin: 0 auto;
}

.visit__content .section-headline {
    text-align: center;
    margin-bottom: 3rem;
}

.visit__info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.visit__item {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.visit__icon {
    color: var(--emerald-700);
    flex-shrink: 0;
}

.visit__label {
    font-family: var(--serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--charcoal);
}

.visit__item p,
.visit__item a {
    font-size: 0.9375rem;
    color: var(--warm-gray);
    line-height: 1.6;
}

.visit__item a:hover {
    color: var(--emerald-700);
    text-decoration: underline;
}

.visit__map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

/* ============================================
   CTA
   ============================================ */

.cta {
    position: relative;
    padding: 6rem 2rem;
    overflow: hidden;
}

.cta__bg {
    position: absolute;
    inset: 0;
}

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

.cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(6, 78, 59, 0.88) 0%,
        rgba(4, 120, 87, 0.82) 100%
    );
}

.cta__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta__eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    display: block;
}

.cta__headline {
    font-family: var(--serif);
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 2.5rem;
    letter-spacing: -0.02em;
}

.cta__headline em {
    font-style: italic;
    color: var(--emerald-300, #6ee7b7);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background-color: var(--charcoal);
    padding: 3rem 2rem;
}

.footer__inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.5rem;
}

.footer__logo {
    font-size: 1.5rem;
}

.footer__name {
    font-family: var(--serif);
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
}

.footer__copy {
    font-size: 0.875rem;
    color: var(--warm-gray-light);
}

.footer__copyright {
    font-size: 0.75rem;
    color: var(--warm-gray);
}

/* ============================================
   Animations
   ============================================ */

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .about__container {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav__toggle {
        display: flex;
    }

    .nav__links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background-color: var(--cream-50);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-out);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
    }

    .nav__links.open {
        transform: translateX(0);
    }

    .nav__link {
        color: var(--charcoal) !important;
        font-size: 1rem;
    }

    .nav__link:hover {
        color: var(--emerald-700) !important;
    }

    .nav__link--cta {
        background-color: var(--emerald-700);
        color: #fff !important;
        text-align: center;
        width: 100%;
        display: block;
    }

    .hero__headline {
        font-size: clamp(2.5rem, 10vw, 4rem);
    }

    .about__container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .about__image img {
        height: 360px;
    }

    .about__image-accent {
        display: none;
    }

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

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

@media (max-width: 480px) {
    .hero {
        min-height: 600px;
    }

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

    .btn {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }

    .about,
    .menu,
    .visit {
        padding: 5rem 1.25rem;
    }

    .nav__inner {
        padding: 0 1.25rem;
    }
}

/* Mobile menu overlay */
.nav__overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav__overlay.active {
    display: block;
    opacity: 1;
}
