/* ==========================================================================
   Ganghwa Chan-u-mul Dolsotbap Chueotang - Premium Website Style Sheet
   ========================================================================== */

/* 1. CSS Custom Properties / Color System */
:root {
    --primary-color: #c09433; /* Elegant Warm Gold */
    --primary-hover: #a57e28;
    --secondary-color: #2c2927; /* Rich Deep Charcoal */
    --accent-red: #9e2a2b; /* Subtle Traditional Red Accent */
    
    /* Light Mode Palette */
    --bg-main: #fbfaf8; /* Warm Soft Eggshell */
    --bg-sec: #f4efe6; /* Warm Light Beige */
    --bg-card: #ffffff;
    --text-main: #2c2927;
    --text-muted: #6b635e;
    --border-color: #e5dec9;
    --shadow-sm: 0 2px 4px rgba(44, 41, 39, 0.04);
    --shadow-md: 0 8px 16px rgba(44, 41, 39, 0.08);
    --shadow-lg: 0 16px 32px rgba(44, 41, 39, 0.12);
    --input-bg: #ffffff;
    
    /* Font Families */
    --font-heading: 'Gowun Batang', serif;
    --font-body: 'Noto Sans KR', sans-serif;
    
    /* Transition Speed */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark Mode Theme */
[data-theme="dark"] {
    --bg-main: #171514; /* Deep Obsidian Charcoal */
    --bg-sec: #23201e; /* Warm Dark Charcoal */
    --bg-card: #2c2927;
    --text-main: #f4efe6;
    --text-muted: #a39992;
    --border-color: #3e3a37;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
    --input-bg: #1e1b1a;
}

/* 2. Reset & Core Typography */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

button, input, select, textarea {
    font-family: inherit;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Accessibility skip link */
.skip-nav {
    position: absolute;
    top: -100px;
    left: 20px;
    background-color: var(--primary-color);
    color: #ffffff;
    padding: 10px 20px;
    z-index: 10000;
    border-radius: 4px;
    transition: top var(--transition-normal);
}
.skip-nav:focus {
    top: 20px;
}

/* Utility Containers */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

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

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

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

.highlight-text {
    color: var(--accent-red);
}

.hidden {
    display: none !important;
}

/* 3. Common Components: Buttons & Dividers */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(192, 148, 51, 0.2);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 6px 16px rgba(192, 148, 51, 0.35);
    transform: translateY(-2px);
}
.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--border-color);
}
.btn-secondary:hover {
    background-color: var(--bg-sec);
    border-color: var(--text-main);
    transform: translateY(-2px);
}
.btn-secondary:active {
    transform: translateY(0);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Section Header Styles */
.section-header {
    margin-bottom: 60px;
}

.sub-title {
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    color: var(--primary-color);
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 2.3rem;
    color: var(--text-main);
    line-height: 1.3;
}

.section-desc {
    margin-top: 15px;
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.title-divider {
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 20px auto 0;
    position: relative;
}
.title-divider::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border: 2px solid var(--bg-main);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}

.title-divider-left {
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px 0 20px 0;
    position: relative;
}
.title-divider-left::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--primary-color);
    border: 2px solid var(--bg-main);
    top: 50%;
    left: 15px;
    transform: translate(-50%, -50%) rotate(45deg);
}

/* Grid layout utility */
.grid {
    display: grid;
    gap: 30px;
}
.grid-2-col {
    grid-template-columns: repeat(2, 1fr);
}
.grid-3-col {
    grid-template-columns: repeat(3, 1fr);
}

/* ==========================================================================
   4. Top Bar & Navigation Header
   ========================================================================== */
.top-bar {
    background-color: var(--secondary-color);
    color: #a39992;
    font-size: 0.8rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-info i {
    margin-right: 6px;
    color: var(--primary-color);
}
.top-info a:hover {
    color: #ffffff;
}

.main-header {
    background-color: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: background-color var(--transition-normal), border-color var(--transition-normal);
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
}

.logo {
    display: flex;
    flex-direction: column;
}
.logo-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 1.5px;
}
.logo-main {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.nav-menu ul {
    display: flex;
    gap: 32px;
}
.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    position: relative;
    padding: 8px 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-normal);
}
.nav-link:hover {
    color: var(--primary-color);
}
.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 1.1rem;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}
.theme-toggle:hover {
    background-color: var(--bg-sec);
    color: var(--primary-color);
    transform: scale(1.05);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    transition: all var(--transition-normal);
}

/* ==========================================================================
   5. Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    color: #ffffff;
    overflow: hidden;
    padding: 80px 0 120px 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
    z-index: -1;
    transform: scale(1.02);
    animation: zoomBackground 20s infinite alternate;
}

@keyframes zoomBackground {
    0% { transform: scale(1.02); }
    100% { transform: scale(1.08); }
}

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

.hero-badge {
    background-color: var(--primary-color);
    color: #ffffff;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 1px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 24px;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}
.hero-title .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}
.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: rgba(192, 148, 51, 0.4);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 40px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    max-width: 700px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}
.hero-btns .btn-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.6);
}
.hero-btns .btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}
.hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}
.hero-wave .shape-fill {
    fill: var(--bg-main);
    transition: fill var(--transition-normal);
}

/* ==========================================================================
   6. Brand Story Section
   ========================================================================== */
.story-container {
    align-items: center;
}

.story-text h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.story-text p {
    color: var(--text-muted);
    margin-bottom: 30px;
    font-size: 1.05rem;
}

.story-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.feature-item {
    display: flex;
    gap: 16px;
}
.feature-icon {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-top: 3px;
}
.feature-body h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
}
.feature-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
    line-height: 1.5;
}

.story-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.story-img-container {
    position: relative;
    max-width: 480px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--bg-card);
    transition: border-color var(--transition-normal);
}

.story-img {
    transition: transform var(--transition-slow);
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.story-img-container:hover .story-img {
    transform: scale(1.03);
}

.img-overlay-card {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background-color: var(--secondary-color);
    color: #ffffff;
    padding: 20px 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary-color);
    z-index: 5;
}
[data-theme="dark"] .img-overlay-card {
    background-color: var(--bg-sec);
}
.card-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}
.card-text {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.4;
    white-space: nowrap;
}

/* ==========================================================================
   7. Menu Section
   ========================================================================== */
.menu-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.tab-btn {
    background-color: var(--bg-card);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 30px;
    cursor: pointer;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}
.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}
.tab-btn.active {
    background-color: var(--primary-color);
    color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(192, 148, 51, 0.25);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 50px;
}

.menu-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}
.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.menu-info {
    padding: 24px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.menu-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.menu-item-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
}

.menu-badge {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    color: #ffffff;
    background-color: var(--text-muted);
}
.badge-signature {
    background-color: var(--accent-red);
}
.badge-recommend {
    background-color: var(--primary-color);
}
.badge-side {
    background-color: #2b7a78;
}

.menu-item-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

.menu-item-price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: auto;
}

/* Sub prices for extra items */
.sub-price-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sub-price-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 6px;
}
.sub-price-item span {
    color: var(--text-muted);
}
.sub-price-item strong {
    font-family: var(--font-heading);
    color: var(--text-main);
    font-weight: 700;
}

.menu-actions {
    margin-top: 40px;
}
.menu-actions .btn {
    gap: 8px;
}

/* ==========================================================================
   8. Dolsotbap Guide Section
   ========================================================================== */
.guide-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.step-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}
.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.step-num {
    position: absolute;
    top: 15px;
    left: 20px;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--border-color);
    line-height: 1;
    transition: color var(--transition-normal);
}
.step-card:hover .step-num {
    color: var(--primary-color);
}

.step-icon {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: var(--bg-sec);
    color: var(--primary-color);
    font-size: 1.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all var(--transition-normal);
}
.step-card:hover .step-icon {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: scale(1.1);
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   9. Customer Reviews Section
   ========================================================================== */
.review-slider-container {
    max-width: 800px;
    margin: 40px auto 0;
    position: relative;
    padding: 0 40px;
}

.review-slider {
    position: relative;
    min-height: 250px;
}

.review-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    display: none;
    box-shadow: var(--shadow-md);
    animation: fadeIn var(--transition-normal);
}
.review-card.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

.review-stars {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.review-text {
    font-size: 1.05rem;
    line-height: 1.7;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 24px;
}

.review-author {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.author-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
}
.author-tag {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 24px;
}

.slider-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}
.slider-btn:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.slider-dots {
    display: flex;
    gap: 8px;
}
.slider-dots .dot {
    width: 8px;
    height: 8px;
    background-color: var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-normal);
}
.slider-dots .dot.active {
    background-color: var(--primary-color);
    width: 24px;
    border-radius: 4px;
}

/* ==========================================================================
   10. Location & Reservation Section (Two Column)
   ========================================================================== */
.location-container {
    grid-template-columns: 55% 45%;
    align-items: start;
}

.location-info-block h2, .reservation-block h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 8px;
}
.location-intro, .res-intro {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Contact List details */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}
.contact-details li {
    display: flex;
    gap: 16px;
}
.detail-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--bg-sec);
    color: var(--primary-color);
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color var(--transition-normal);
}
li:hover .detail-icon {
    background-color: var(--primary-color);
    color: #ffffff;
}
.detail-text {
    display: flex;
    flex-direction: column;
}
.detail-text strong {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.detail-text span {
    font-size: 0.92rem;
    color: var(--text-muted);
}
.phone-link a {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
}
.phone-link a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Map Mockup */
.map-wrapper {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background-color: var(--bg-card);
}
.map-header {
    background-color: var(--bg-sec);
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 700;
}
.map-links .naver-map-btn {
    background-color: #03c75a;
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.map-links .naver-map-btn:hover {
    background-color: #02b14f;
}

.map-mockup {
    height: 250px;
    background-color: #e3efd9; /* Green field color */
    position: relative;
    overflow: hidden;
}

.map-water {
    position: absolute;
    width: 150px;
    height: 100%;
    background-color: #a8d5e5;
    left: -50px;
    border-radius: 0 40% 40% 0;
    opacity: 0.7;
}

.map-road {
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: absolute;
    z-index: 1;
}
.road-horizontal {
    width: 100%;
    height: 18px;
}
.road-vertical {
    width: 18px;
    height: 100%;
}

.map-landmark {
    position: absolute;
    background-color: #ffffff;
    border: 1px solid #c0b0a0;
    border-radius: 4px;
    padding: 4px 8px;
    font-size: 0.7rem;
    color: #555555;
    font-weight: 700;
    z-index: 2;
    box-shadow: var(--shadow-sm);
    transform: translate(-50%, -50%);
}

.intersection {
    background-color: #eae6df;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed #777;
    font-size: 0.6rem;
    text-align: center;
}
.intersection span {
    line-height: 1.1;
    display: block;
    width: 100%;
}

.map-pin {
    position: absolute;
    z-index: 5;
    transform: translate(-50%, -100%);
    cursor: pointer;
}
.pin-pulse {
    position: absolute;
    width: 40px;
    height: 40px;
    background-color: rgba(192, 148, 51, 0.4);
    border-radius: 50%;
    top: -30px;
    left: -12px;
    animation: pulse 1.8s infinite ease-out;
}
@keyframes pulse {
    0% { transform: scale(0.3); opacity: 1; }
    100% { transform: scale(1.3); opacity: 0; }
}

.pin-icon {
    width: 34px;
    height: 34px;
    background-color: var(--accent-red);
    color: #ffffff;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    border: 2px solid #ffffff;
    font-size: 0.9rem;
}
.pin-icon i {
    transform: rotate(45deg);
}

.pin-label {
    position: absolute;
    background-color: var(--secondary-color);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
    top: -34px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--primary-color);
}
.pin-label::after {
    content: '';
    position: absolute;
    border-width: 5px;
    border-style: solid;
    border-color: var(--secondary-color) transparent transparent transparent;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.map-zoom-controls {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 10;
}
.zoom-btn {
    background-color: #ffffff;
    border: 1px solid #ccc;
    color: #333;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    font-size: 0.75rem;
}
.zoom-btn:hover {
    background-color: #eee;
}

/* Reservation Block Form */
.reservation-block {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: sticky;
    top: 105px;
    transition: all var(--transition-normal);
}

.res-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
}
.form-group label .required {
    color: var(--accent-red);
}

.form-group input, .form-group select, .form-group textarea {
    padding: 10px 14px;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    background-color: var(--input-bg);
    color: var(--text-main);
    border-radius: 6px;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(192, 148, 51, 0.15);
}

.form-group textarea {
    resize: none;
}

/* Config panel styling */
.email-setup-info {
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 10px;
    background-color: var(--bg-sec);
}
.email-setup-info summary {
    cursor: pointer;
    font-weight: 700;
    outline: none;
}
.setup-details {
    margin-top: 10px;
}
.setup-tabs {
    display: flex;
    gap: 12px;
    margin: 8px 0;
}
.setup-inputs {
    margin-top: 8px;
}
.setup-inputs input {
    width: 100%;
    padding: 6px 10px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background-color: var(--bg-card);
}

/* Kakao Mail Guide Styling */
.kakao-guide-box {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
}
.guide-step-item {
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px dashed var(--border-color);
}
.guide-step-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.step-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
}
.step-number {
    background-color: var(--primary-color);
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: bold;
}
.step-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.4;
    padding-left: 24px;
}
.step-desc a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 700;
}
.highlight-yellow {
    background-color: rgba(254, 229, 0, 0.1);
    border-left: 3px solid #FEE500;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--text-color);
    margin: 8px 0;
    line-height: 1.5;
}
.setup-badge-free {
    background-color: #2e7d32;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: bold;
    display: inline-block;
    margin-left: 5px;
}
.setup-badge-paid {
    background-color: #d84315;
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: bold;
    display: inline-block;
    margin-left: 5px;
}

/* ==========================================================================
   11. Footer Section
   ========================================================================== */
.main-footer {
    background-color: var(--secondary-color);
    color: #a39992;
    padding: 80px 0 40px 0;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
[data-theme="dark"] .main-footer {
    background-color: #0d0c0b;
}

.footer-content {
    display: grid;
    grid-template-columns: 35% 30% 35%;
    gap: 40px;
}

.footer-brand h2, .footer-info h3, .footer-legal h3 {
    font-family: var(--font-heading);
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-brand h2 {
    font-size: 1.5rem;
}
.footer-brand p {
    line-height: 1.6;
    margin-bottom: 24px;
}
.footer-socials {
    display: flex;
    gap: 12px;
}
.footer-socials a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-normal);
}
.footer-socials a:hover {
    background-color: var(--primary-color);
    transform: scale(1.1);
}

.footer-info h3, .footer-legal h3 {
    font-size: 1.15rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 8px;
}
.footer-info p, .footer-legal p {
    margin-bottom: 12px;
    line-height: 1.6;
}
.footer-info strong, .footer-legal strong {
    color: #ffffff;
}
.footer-info a:hover {
    color: #ffffff;
}

.footer-legal p:last-child {
    font-size: 0.8rem;
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 16px;
    color: #726a64;
}

/* ==========================================================================
   12. Original Menu Modal styling
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    transition: opacity var(--transition-normal);
}
.modal.open {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: var(--bg-card);
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90%;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    animation: modalSlideIn var(--transition-normal) forwards;
}
@keyframes modalSlideIn {
    from { transform: translateY(30px); }
    to { transform: translateY(0); }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 2.2rem;
    color: var(--text-main);
    cursor: pointer;
    line-height: 1;
    z-index: 10;
}
.modal-close:hover {
    color: var(--primary-color);
}

.modal-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-color);
}

.modal-body {
    padding: 24px;
    display: flex;
    justify-content: center;
}
.modal-img {
    max-height: 60vh;
    object-fit: contain;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

/* ==========================================================================
   13. Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .grid-3-col {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .guide-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .location-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .reservation-block {
        position: static;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 60px 0;
    }
    
    .top-bar {
        display: none;
    }
    
    .nav-container {
        height: 70px;
    }
    
    .hamburger {
        display: flex;
        z-index: 110;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100%;
        background-color: var(--bg-card);
        z-index: 105;
        padding: 100px 40px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right var(--transition-normal);
        border-left: 1px solid var(--border-color);
    }
    .nav-menu.open {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 24px;
    }
    
    .btn-header {
        display: none;
    }
    
    .hero-section {
        min-height: auto;
        padding: 60px 0 100px 0;
    }
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .grid-2-col {
        grid-template-columns: 1fr;
    }
    
    .story-img-container {
        max-width: 100%;
    }
    .img-overlay-card {
        right: 15px;
        bottom: 15px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .footer-brand p {
        margin-bottom: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    .hero-btns .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .menu-tabs {
        flex-direction: column;
        align-items: stretch;
    }
    .tab-btn {
        width: 100%;
        text-align: center;
        border-radius: 8px;
    }
    
    .guide-steps {
        grid-template-columns: 1fr;
    }
    
    .review-slider-container {
        padding: 0 10px;
    }
    .review-card {
        padding: 24px 16px;
    }
    .review-text {
        font-size: 0.95rem;
    }
    
    .form-group-row {
        grid-template-columns: 1fr;
    }
    
    .reservation-block {
        padding: 24px 16px;
    }
}

/* ==========================================================================
   14. Micro-animations Classes
   ========================================================================== */
.animate-fade-in {
    opacity: 0;
    animation: animFadeIn 0.8s ease forwards;
}
.animate-slide-up {
    opacity: 0;
    transform: translateY(20px);
    animation: animSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.animate-slide-up-delay {
    opacity: 0;
    transform: translateY(20px);
    animation: animSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s;
}
.animate-slide-up-delay-more {
    opacity: 0;
    transform: translateY(20px);
    animation: animSlideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.4s;
}

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

/* Owner Greeting Style */
.owner-greeting {
    background-color: var(--bg-sec);
    border-left: 4px solid var(--primary-color);
    padding: 30px;
    border-radius: 0 12px 12px 0;
    margin: 35px 0;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
}
[data-theme="dark"] .owner-greeting {
    background-color: var(--bg-card);
}
.owner-greeting:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}
.greeting-quote {
    font-size: 2.2rem;
    color: rgba(192, 148, 51, 0.2);
    position: absolute;
    top: 15px;
    left: 20px;
}
.greeting-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-style: italic;
    color: var(--text-main);
    line-height: 1.8;
    position: relative;
    z-index: 2;
    padding-left: 20px;
}
.greeting-author {
    display: block;
    text-align: right;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-color);
    margin-top: 15px;
}

/* Navigation Map Links & Buttons Styling */
.map-header {
    flex-wrap: wrap;
    gap: 12px;
}
.map-links {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-sm);
    color: #ffffff;
}
.map-btn i {
    font-size: 0.85rem;
}
.map-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.naver-map-btn {
    background-color: #03c75a;
    color: #ffffff;
}
.naver-map-btn:hover {
    background-color: #02a54b;
}

.kakao-map-btn {
    background-color: #fee500;
    color: #191919;
}
.kakao-map-btn:hover {
    background-color: #fada0a;
}

.tmap-btn {
    background-color: #f05a28;
    color: #ffffff;
}
.tmap-btn:hover {
    background-color: #d84918;
}

.google-map-btn {
    background-color: #4285f4;
    color: #ffffff;
}
.google-map-btn:hover {
    background-color: #357ae8;
}

/* Car Navigation Guide card */
.car-nav-guide {
    background-color: var(--bg-sec);
    padding: 20px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-main);
    line-height: 1.6;
    transition: background-color var(--transition-normal), border-color var(--transition-normal);
}
[data-theme="dark"] .car-nav-guide {
    background-color: var(--bg-card);
}
.car-nav-guide strong {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
    margin-bottom: 6px;
}
.car-nav-guide p span {
    font-weight: 700;
    color: var(--accent-red);
    background-color: rgba(158, 42, 43, 0.06);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(158, 42, 43, 0.15);
}
[data-theme="dark"] .car-nav-guide p span {
    background-color: rgba(158, 42, 43, 0.2);
    border-color: rgba(158, 42, 43, 0.4);
    color: #ff8a8a;
}

/* Footer Socials Brand Colors on Hover */
.footer-socials a.sns-kakao:hover {
    background-color: #fee500;
    color: #191919;
}
.footer-socials a.sns-instagram:hover {
    background-color: #e1306c;
    color: #ffffff;
}
.footer-socials a.sns-facebook:hover {
    background-color: #1877f2;
    color: #ffffff;
}
.footer-socials a.sns-x:hover {
    background-color: #000000;
    color: #ffffff;
}
.footer-socials a.sns-naver-blog:hover {
    background-color: #03c75a;
    color: #ffffff;
}
.footer-socials a.sns-naver-cafe:hover {
    background-color: #03c75a;
    color: #ffffff;
}
.footer-socials a.sns-daum-cafe:hover {
    background-color: #39a7db;
    color: #ffffff;
}

/* Hero Video Background Styles */
.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background-image: url('./assets/images/exterior.png'); /* Fallback image */
    background-position: center;
    background-size: cover;
}
.hero-video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.65));
}

/* Floating BGM Controller Styles */
.bgm-controller {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
}
.bgm-btn-toggle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
}
[data-theme="dark"] .bgm-btn-toggle {
    background-color: var(--bg-sec);
}
.bgm-btn-toggle:hover {
    transform: scale(1.08);
    background-color: var(--primary-color);
    color: #ffffff;
}
.bgm-wave-anim {
    display: none;
    align-items: flex-end;
    gap: 2px;
    height: 16px;
}
.bgm-wave-anim span {
    width: 3px;
    height: 100%;
    background-color: currentColor;
    border-radius: 2px;
    animation: bounceWave 0.8s ease-in-out infinite alternate;
}
.bgm-wave-anim span:nth-child(2) { animation-delay: 0.15s; }
.bgm-wave-anim span:nth-child(3) { animation-delay: 0.3s; }
.bgm-wave-anim span:nth-child(4) { animation-delay: 0.45s; }

@keyframes bounceWave {
    0% { height: 4px; }
    100% { height: 16px; }
}

/* Playing state styling */
.bgm-controller.playing .bgm-wave-anim {
    display: inline-flex;
}
.bgm-controller.playing i {
    display: none;
}

/* ==========================================================================
   Blinking Reservation Phone Number Styles
   ========================================================================== */
@keyframes phoneBlink {
    0% { opacity: 1; }
    50% { opacity: 0.35; }
    100% { opacity: 1; }
}

.blinking-phone-wrapper {
    margin-top: 5px;
}

.blinking-phone {
    font-size: 2.3rem !important;
    font-weight: 900 !important;
    color: var(--accent-red) !important;
    animation: phoneBlink 1.4s infinite;
    display: inline-block;
    transition: color var(--transition-fast);
}

.blinking-phone:hover {
    color: var(--primary-color) !important;
    animation: none;
}
