/* 기본 리셋 및 변수 설정 */
:root {
    --primary-color: #8b4513;  /* 차분한 갈색 - 전통적인 느낌 */
    --secondary-color: #d2691e;  /* 따뜻한 오렌지브라운 */
    --accent-color: #ff6347;  /* 토마토색 - 양념치킨 */
    --gold-color: #daa520;  /* 금색 - 고급스러움 */
    --text-dark: #2c1810;
    --text-light: #5d4037;
    --background-light: #fdf6e3;
    --background-cream: #fff8dc;
    --shadow: 0 2px 15px rgba(139, 69, 19, 0.1);
}

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

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 헤더 스타일 */
.header {
    background-color: var(--background-cream);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
}

.sub-logo {
    font-size: 0.85rem;
    color: var(--text-light);
    font-style: italic;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* 히어로 섹션 */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 70px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23fff" opacity="0.1"/><circle cx="80" cy="80" r="2" fill="%23fff" opacity="0.1"/><circle cx="50" cy="50" r="3" fill="%23fff" opacity="0.1"/></svg>');
    background-size: 100px 100px;
}

.hero-content {
    text-align: center;
    z-index: 1;
    padding: 2rem;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    background-color: var(--gold-color);
    color: var(--text-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-title {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
}

.btn-primary {
    background-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 5px 15px rgba(255, 99, 71, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 99, 71, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary:hover {
    background-color: #fff;
    color: var(--primary-color);
}

/* 섹션 공통 스타일 */
section {
    padding: 5rem 0;
}

.section-title {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--gold-color);
    margin: 1rem auto;
}

/* 스토리 섹션 */
.story {
    background-color: var(--background-cream);
}

.story-timeline {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

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

.timeline-item:last-child::before {
    display: none;
}

.timeline-year {
    width: 100px;
    flex-shrink: 0;
    font-family: 'Nanum Myeongjo', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-align: right;
    padding-right: 20px;
}

.timeline-content {
    flex: 1;
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-left: 20px;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.story-quote {
    background-color: #fff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.story-quote blockquote {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
}

.story-quote cite {
    display: block;
    margin-top: 1.5rem;
    font-size: 1rem;
    color: var(--text-light);
    font-style: normal;
}

/* 특별함 섹션 */
.special {
    background-color: var(--background-light);
}

.special-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.special-card {
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
}

.special-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.15);
}

.special-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.special-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.special-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 메뉴 섹션 */
.menu {
    background-color: var(--background-cream);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.menu-item {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    position: relative;
    transition: transform 0.3s;
}

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

.menu-item.bestseller {
    border: 2px solid var(--gold-color);
}

.menu-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--accent-color);
    color: #fff;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.menu-item h3 {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.menu-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.menu-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
}

.unit {
    color: var(--text-light);
    font-size: 0.9rem;
}

.menu-special {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.menu-special h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.set-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.set-item {
    text-align: center;
    padding: 1.5rem;
    border: 1px dashed var(--gold-color);
    border-radius: 10px;
}

.set-item h4 {
    color: var(--secondary-color);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.set-item p {
    color: var(--text-light);
    margin-bottom: 1rem;
}

.set-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

/* 리뷰 섹션 */
.reviews {
    background-color: var(--background-light);
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
}

.review-stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--gold-color);
}

.review-text {
    font-style: italic;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.review-author {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* 주문 섹션 */
.order {
    background-color: var(--background-cream);
}

.order-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.order-method {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
}

.method-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.order-method h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.phone-number {
    font-size: 2rem;
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.closed-day {
    color: var(--accent-color);
    font-weight: 500;
}

.delivery-apps {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0;
}

.app-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--secondary-color);
    background-color: #fff;
    color: var(--secondary-color);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.app-btn:hover {
    background-color: var(--secondary-color);
    color: #fff;
}

.order-info {
    background-color: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.order-info h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.order-info ul {
    list-style: none;
}

.order-info li {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

/* 위치 섹션 */
.location {
    background-color: var(--background-light);
}

.location-content {
    background-color: #fff;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.address-info h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.address {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.landmark {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.address-info ul {
    list-style: none;
    margin-bottom: 2rem;
}

.address-info li {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

/* 푸터 */
.footer {
    background-color: var(--primary-color);
    color: #fff;
    padding: 2rem 0;
}

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

.footer-content p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-message {
    margin-top: 1rem;
    font-size: 1.1rem;
    opacity: 1;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--background-cream);
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .btn {
        width: 100%;
    }
    
    .timeline-item {
        flex-direction: column;
    }
    
    .timeline-item::before {
        display: none;
    }
    
    .timeline-year {
        text-align: left;
        margin-bottom: 0.5rem;
    }
    
    .timeline-content {
        margin-left: 0;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .menu-grid,
    .special-grid,
    .review-grid {
        grid-template-columns: 1fr;
    }
    
    .delivery-apps {
        flex-direction: column;
    }
    
    .app-btn {
        width: 100%;
    }
}