/* CSS Variables & Reset */
:root {
    --color-ivory: #FDFBF7;
    --color-white: #FFFFFF;
    --color-dark-brown: #4A3728;
    --color-dark-green: #2C4C3B;
    --color-gold: #C5A059;
    --color-text-main: #222222;
    --color-text-muted: #555555;
    
    --font-serif: 'Noto Serif KR', serif;
    --font-sans: 'Pretendard', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--color-text-main);
    background-color: var(--color-white);
    line-height: 1.8;
    font-size: 22px; /* Base for 50-80s */
    overflow-x: hidden;
}

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

/* Utilities */
.text-center { text-align: center; }
.text-white { color: var(--color-white) !important; }
.bg-ivory { background-color: var(--color-ivory); }
.bg-point { background-color: var(--color-dark-brown); }
.padding-section { padding: 4rem 1.5rem; }
.pb-xl { padding-bottom: 8rem; /* Space for sticky footer */ }
.mb-sm { margin-bottom: 1rem; }
.mb-md { margin-bottom: 2rem; }
.mb-lg { margin-bottom: 3rem; }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.overflow-hidden { overflow: hidden; }

.container {
    max-width: 768px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-dark-brown);
}

.section-title {
    font-size: 40px; /* Subtitle */
    margin-bottom: 2.5rem;
    word-break: keep-all;
}

.rounded-img {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-white);
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 2rem;
}

.hero-content h1 {
    color: var(--color-white);
    font-size: 48px;
    margin: 1.5rem 0;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-content p {
    font-size: 24px;
    font-weight: 300;
}

.badge {
    display: inline-block;
    background-color: var(--color-gold);
    color: var(--color-white);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 20px;
    font-weight: 600;
}

.badge-sm {
    background-color: var(--color-gold);
    color: var(--color-white);
    font-size: 16px;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    vertical-align: middle;
    margin-left: 0.5rem;
}

/* Intro */
.intro .desc {
    margin-top: 1.5rem;
    font-size: 24px;
    color: var(--color-text-muted);
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Nutrition */
.nutrition-card h3 {
    font-size: 28px;
    color: var(--color-dark-green);
    margin-bottom: 0.5rem;
}

.notice {
    font-size: 18px;
    margin-top: 2rem;
    opacity: 0.8;
}

/* Why Choose */
.check-list {
    list-style: none;
}

.check-list li {
    font-size: 24px;
    padding: 1.5rem 0;
    border-bottom: 1px solid #EAEAEA;
    position: relative;
    padding-left: 2.5rem;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-weight: bold;
}

/* Process Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 14px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--color-gold);
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.step {
    position: absolute;
    left: -2rem;
    top: 4px;
    width: 30px;
    height: 30px;
    background: var(--color-gold);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
}

.timeline-item .content {
    font-size: 24px;
    font-weight: 600;
    padding-left: 1.5rem;
}

/* Video */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

/* Merits */
.merit-card {
    text-align: center;
    font-weight: 600;
    font-size: 24px;
    border: 1px solid #EAEAEA;
    background: var(--color-white);
}

/* Menu */
.menu-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    background: var(--color-white);
}

.menu-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.menu-info {
    padding: 1.5rem;
}

.menu-info h3 {
    font-size: 32px;
}

.price {
    font-size: 28px;
    font-weight: bold;
    color: var(--color-dark-green);
    margin: 0.5rem 0;
}

.menu-desc {
    color: var(--color-text-muted);
}

/* Interior Slider */
.slider-container {
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
}

.slider-container::-webkit-scrollbar {
    height: 8px;
}
.slider-container::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 4px;
}

.slider {
    display: flex;
    gap: 1rem;
    width: max-content;
    padding: 0 1.5rem;
}

.slider img {
    height: 400px;
    width: 300px;
    object-fit: cover;
    border-radius: 12px;
    scroll-snap-align: center;
}

/* Reviews */
.review-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--color-gold);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.stars {
    color: var(--color-gold);
    font-size: 28px;
    margin-bottom: 0.5rem;
}

.author {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--color-text-muted);
}

/* FAQ Accordion */
.accordion-item {
    border-bottom: 1px solid #EAEAEA;
}

.accordion-header {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 1.5rem 0;
    font-size: 24px;
    font-weight: 600;
    color: var(--color-text-main);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.accordion-header::after {
    content: '+';
    font-size: 32px;
    color: var(--color-gold);
    transition: transform 0.3s;
}

.accordion-header.active::after {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-content p {
    padding-bottom: 1.5rem;
    color: var(--color-text-muted);
}

/* Map */
.map-wrapper {
    border-radius: 12px;
    overflow: hidden;
    height: 300px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.info-list p {
    margin-bottom: 0.5rem;
}

/* Sticky Footer */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    display: flex;
    z-index: 100;
    height: 80px;
}

.btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 28px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.btn .icon {
    margin-right: 8px;
    font-size: 32px;
}

.btn-call {
    background-color: var(--color-dark-green);
    color: var(--color-white);
}

.btn-map {
    background-color: var(--color-ivory);
    color: var(--color-text-main);
    border-left: 1px solid #EAEAEA;
}

.btn:active {
    transform: scale(0.98);
}

/* Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

/* Media Queries for larger screens (Tablet/Desktop) */
@media (min-width: 768px) {
    .hero-content h1 { font-size: 56px; }
    .section-title { font-size: 48px; }
    .card-grid { grid-template-columns: 1fr 1fr; }
    .menu-item { display: flex; }
    .menu-img { width: 40%; height: auto; }
    .menu-info { width: 60%; display: flex; flex-direction: column; justify-content: center; }
}
