/* =========================================================
   GAMCHO RESTAURANT 2.0
   Main Style
   ========================================================= */

/* ---------------------------------------------------------
   01. DESIGN TOKENS
--------------------------------------------------------- */

:root {
    --color-bg: #f7f5f0;
    --color-bg-light: #fbfaf7;
    --color-white: #ffffff;

    --color-text: #22201d;
    --color-text-light: #706b63;
    --color-border: rgba(34, 32, 29, 0.12);

    --color-accent: #8a5a32;
    --color-accent-dark: #694324;
    --color-accent-light: #b88b61;

    --font-serif: "Noto Serif KR", serif;
    --font-sans: "Pretendard", sans-serif;

    --container: 1240px;

    --header-height: 88px;

    --section-padding: 140px;

    --transition: 0.35s ease;
}


/* ---------------------------------------------------------
   02. RESET
--------------------------------------------------------- */

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

html {
    scroll-behavior: smooth;
}

body {
    background: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
}

body,
button,
a {
    -webkit-font-smoothing: antialiased;
}

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

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

button {
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    cursor: pointer;
}


/* ---------------------------------------------------------
   03. COMMON
--------------------------------------------------------- */

.section-inner {
    width: min(
        calc(100% - 80px),
        var(--container)
    );

    margin: 0 auto;
}

.section-eyebrow {
    margin-bottom: 18px;

    color: var(--color-accent);

    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 700;

    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;

    position: relative;

    font-size: 14px;
    font-weight: 600;

    transition: var(--transition);
}

.text-link span {
    font-size: 18px;

    transition: transform var(--transition);
}

.text-link:hover {
    color: var(--color-accent);
}

.text-link:hover span {
    transform: translateX(5px);
}


/* ---------------------------------------------------------
   04. HEADER
--------------------------------------------------------- */

.site-header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: var(--header-height);

    z-index: 1000;

    color: var(--color-white);

    transition:
        background var(--transition),
        color var(--transition),
        box-shadow var(--transition);
}

.site-header.scrolled {
    background: rgba(247, 245, 240, 0.96);

    color: var(--color-text);

    box-shadow:
        0 1px 0 rgba(0, 0, 0, 0.08);

    backdrop-filter: blur(12px);
}

.header-inner {
    width: min(
        calc(100% - 80px),
        1440px
    );

    height: 100%;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;
}


/* Logo */

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

    flex-shrink: 0;

    line-height: 1.1;
}

.logo-ko {
    font-family: var(--font-serif);
    font-size: 21px;
    font-weight: 600;
}

.logo-en {
    margin-top: 4px;

    font-size: 8px;
    font-weight: 600;

    letter-spacing: 0.18em;

    opacity: 0.75;
}


/* Navigation */

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;

    margin-left: auto;
}

.main-nav a {
    position: relative;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.12em;

    opacity: 0.9;

    transition: var(--transition);
}

.main-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: currentColor;

    transition: width var(--transition);
}

.main-nav a:hover::after {
    width: 100%;
}


/* Language */

.language-selector {
    position: relative;
    flex-shrink: 0;
}

.language-button {
    min-width: 48px;

    padding: 8px 4px;

    font-size: 10px;
    font-weight: 700;

    letter-spacing: 0.08em;
}

.language-menu {
    position: absolute;

    top: calc(100% + 10px);
    right: 0;

    min-width: 110px;

    padding: 8px;

    background: var(--color-white);

    color: var(--color-text);

    border: 1px solid var(--color-border);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-5px);

    transition: var(--transition);
}

.language-selector:hover .language-menu,
.language-selector.is-open .language-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-menu button {
    display: block;

    width: 100%;

    padding: 9px 10px;

    text-align: left;

    font-size: 12px;

    transition: var(--transition);
}

.language-menu button:hover {
    background: var(--color-bg);
    color: var(--color-accent);
}


/* Mobile menu button */

.mobile-menu-button {
    display: none;

    width: 32px;
    height: 32px;

    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.mobile-menu-button span {
    display: block;

    width: 22px;
    height: 1px;

    background: currentColor;

    transition: var(--transition);
}


/* ---------------------------------------------------------
   05. HERO
--------------------------------------------------------- */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: var(--color-white);
}

.hero-background {
    position: absolute;
    inset: 0;

    background-image:
        url("../images/menu/gamcho-sundae-gukbap.jpeg");

    background-position: center;
    background-size: cover;

    transform: scale(1.03);

    animation: heroZoom 14s ease-out forwards;
}

@keyframes heroZoom {
    from {
        transform: scale(1.08);
    }

    to {
        transform: scale(1);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.62) 0%,
            rgba(0, 0, 0, 0.32) 48%,
            rgba(0, 0, 0, 0.12) 100%
        );
}

.hero-content {
    position: relative;

    width: min(
        calc(100% - 80px),
        var(--container)
    );

    margin: 0 auto;

    padding-top: var(--header-height);

    z-index: 2;
}

.hero-eyebrow {
    margin-bottom: 25px;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.25em;
}

.hero h1 {
    max-width: 720px;

    font-family: var(--font-serif);
    font-size: clamp(44px, 5.5vw, 78px);
    font-weight: 500;

    line-height: 1.25;
    letter-spacing: -0.04em;
}

.hero-description {
    margin-top: 28px;

    font-family: var(--font-serif);
    font-size: 17px;

    line-height: 1.9;

    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 42px;
}


/* Buttons */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-width: 140px;

    min-height: 48px;

    padding: 0 24px;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 0.14em;

    transition: var(--transition);
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.6);

    color: var(--color-white);
}

.btn-outline:hover {
    background: var(--color-white);
    color: var(--color-text);
}


/* Hero scroll */

.hero-scroll {
    position: absolute;

    right: 50px;
    bottom: 42px;

    z-index: 2;

    display: flex;
    align-items: center;
    gap: 14px;

    font-size: 9px;
    font-weight: 600;

    letter-spacing: 0.2em;

    writing-mode: vertical-rl;
}

.scroll-line {
    width: 1px;
    height: 65px;

    background: rgba(255, 255, 255, 0.7);
}


/* ---------------------------------------------------------
   06. INTRO
--------------------------------------------------------- */

.intro {
    padding: var(--section-padding) 0;

    text-align: center;

    background: var(--color-bg-light);
}

.intro h2,
.signature-menu h2,
.media-preview h2,
.review-preview h2,
.location-cta h2 {
    font-family: var(--font-serif);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 500;

    line-height: 1.45;
    letter-spacing: -0.04em;
}

.intro-text {
    margin-top: 30px;

    color: var(--color-text-light);

    font-size: 15px;
    line-height: 2;
}

.intro .text-link {
    margin-top: 35px;
}


/* ---------------------------------------------------------
   07. SIGNATURE MENU
--------------------------------------------------------- */

.signature-menu {
    padding: var(--section-padding) 0;

    background: var(--color-bg);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;

    margin-bottom: 55px;
}

.menu-preview {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;
}

.menu-preview-card {
    background: var(--color-white);

    overflow: hidden;

    transition: transform var(--transition);
}

.menu-preview-card:hover {
    transform: translateY(-6px);
}

.menu-image {
    aspect-ratio: 4 / 3;

    overflow: hidden;

    background: #e8e4dd;
}
.menu-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}
.menu-image.placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    color: rgba(34, 32, 29, 0.35);

    font-size: 10px;
    letter-spacing: 0.15em;
}

.menu-info {
    padding: 25px;
}

.menu-info h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 600;
}

.menu-info p {
    margin-top: 8px;

    color: var(--color-text-light);

    font-size: 13px;
}


/* ---------------------------------------------------------
   08. STORY CTA
--------------------------------------------------------- */

.story-cta {
    position: relative;

    min-height: 600px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    color: var(--color-white);

    text-align: center;
}

.story-cta-background {
    position: absolute;
    inset: 0;

    background-image:
        url("../images/story/story-main.jpeg");

    background-size: cover;
    background-position: center;
}

.story-cta-overlay {
    position: absolute;
    inset: 0;

    background: rgba(0, 0, 0, 0.45);
}

.story-cta-content {
    position: relative;
    z-index: 2;
}

.story-cta h2 {
    margin-bottom: 35px;

    font-family: var(--font-serif);
    font-size: clamp(34px, 4.5vw, 58px);
    font-weight: 500;

    line-height: 1.45;
}


/* ---------------------------------------------------------
   09. MEDIA
--------------------------------------------------------- */

.media-preview {
    padding: var(--section-padding) 0;

    background: var(--color-bg-light);
}

.media-preview h2 {
    max-width: 720px;

    margin-bottom: 35px;
}


/* ---------------------------------------------------------
   10. REVIEW
--------------------------------------------------------- */

.review-preview {
    padding: var(--section-padding) 0;

    background: var(--color-bg);
}

.review-preview h2 {
    max-width: 720px;

    margin-bottom: 35px;
}


/* ---------------------------------------------------------
   11. LOCATION
--------------------------------------------------------- */

.location-cta {
    padding: 130px 0;

    background: var(--color-accent);

    color: var(--color-white);

    text-align: center;
}

.location-cta .section-eyebrow {
    color: rgba(255, 255, 255, 0.75);
}

.location-cta h2 {
    margin-bottom: 20px;
}

.location-cta p {
    margin-bottom: 35px;

    opacity: 0.85;
}


/* ---------------------------------------------------------
   12. FOOTER
--------------------------------------------------------- */

.site-footer {
    padding: 65px 0 45px;

    background: #1f1d1a;

    color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
    width: min(
        calc(100% - 80px),
        var(--container)
    );

    margin: 0 auto;
}

.footer-brand {
    display: flex;
    flex-direction: column;

    margin-bottom: 35px;
}

.footer-brand strong {
    color: var(--color-white);

    font-family: var(--font-serif);
    font-size: 23px;
    font-weight: 600;
}

.footer-brand span {
    margin-top: 4px;

    font-size: 8px;
    letter-spacing: 0.2em;
}

.footer-info {
    margin-bottom: 40px;

    font-size: 12px;

    line-height: 2;
}

.copyright {
    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    font-size: 9px;

    letter-spacing: 0.08em;

    opacity: 0.55;
}


/* ---------------------------------------------------------
   END
--------------------------------------------------------- */
