/* ===================================
   산애들발효원 - 공통 스타일
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@300;400;500;700;900&family=Noto+Serif+KR:wght@400;600;700&display=swap');

:root {
    --primary: #5C3D1E;
    --primary-light: #8B6340;
    --secondary: #A0522D;
    --accent: #D48B3A;
    --accent-light: #F2C97E;
    --bg-light: #FBF7F0;
    --bg-cream: #F5EDD8;
    --text-dark: #2C1A0E;
    --text-mid: #5A3E28;
    --text-light: #8B7355;
    --white: #FFFFFF;
    --border: #E0C8A0;
    --shadow: rgba(92, 61, 30, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

/* ===================================
   헤더 & 네비게이션
   =================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px var(--shadow);
    transition: all 0.3s ease;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 75px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

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

.logo-text .main-name {
    font-family: 'Noto Serif KR', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.logo-text .sub-name {
    font-size: 11px;
    color: var(--text-light);
    letter-spacing: 1px;
}

nav ul {
    display: flex;
    gap: 8px;
}

nav ul li a {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-mid);
    transition: all 0.3s ease;
    position: relative;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary);
    background: var(--bg-cream);
}

nav ul li a.nav-reserve {
    background: var(--primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 20px;
}

nav ul li a.nav-reserve:hover {
    background: var(--primary-light);
    color: var(--white);
}

/* 햄버거 메뉴 */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* 모바일 메뉴 */
.mobile-menu {
    display: none;
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 10px 30px var(--shadow);
    z-index: 999;
    padding: 20px 30px;
}

.mobile-menu.open {
    display: block;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu ul li a {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-mid);
    transition: all 0.3s ease;
}

.mobile-menu ul li a:hover {
    background: var(--bg-cream);
    color: var(--primary);
}

/* ===================================
   공통 섹션 스타일
   =================================== */
.section {
    padding: 90px 30px;
}

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

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title .ko {
    font-family: 'Noto Serif KR', serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
}

.section-title .en {
    font-size: 13px;
    color: var(--text-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 20px;
}

.section-title .divider {
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 0 auto;
    border-radius: 2px;
}

.section-bg-cream {
    background-color: var(--bg-cream);
}

.section-bg-dark {
    background-color: var(--primary);
    color: var(--white);
}

/* ===================================
   페이지 히어로 (내부 페이지용)
   =================================== */
.page-hero {
    margin-top: 75px;
    height: 280px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('https://sspark.genspark.ai/cfimages?u1=zfW0HkFoIF%2FNO%2BYGqKaBjMyp2iLZ83URotzbGt2UlxM0diE%2FBLq%2FjWnKkuKpIOnwm8DHiVaZ5qbjw6vAzZynSNtKcwu9QuMKjdHM6R3kt48Y0xQnnQ%3D%3D&u2=M0Sr4kYF6hQsvYlR&width=2560') center/cover no-repeat;
    opacity: 0.15;
}

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

.page-hero h1 {
    font-family: 'Noto Serif KR', serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.page-hero p {
    font-size: 15px;
    color: rgba(255,255,255,0.8);
    letter-spacing: 2px;
}

/* 브레드크럼 */
.breadcrumb {
    background: var(--bg-cream);
    padding: 12px 30px;
    border-bottom: 1px solid var(--border);
}

.breadcrumb-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-light);
}

.breadcrumb-inner a {
    color: var(--text-light);
    transition: color 0.3s;
}

.breadcrumb-inner a:hover {
    color: var(--primary);
}

.breadcrumb-inner .current {
    color: var(--primary);
    font-weight: 500;
}

/* ===================================
   버튼 스타일
   =================================== */
.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'Noto Sans KR', sans-serif;
}

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

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

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

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

.btn-white:hover {
    background: var(--bg-cream);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ===================================
   카드 스타일
   =================================== */
.card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px var(--shadow);
}

/* ===================================
   푸터
   =================================== */
footer {
    background: var(--text-dark);
    color: rgba(255,255,255,0.8);
    padding: 50px 30px 30px;
}

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

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 30px;
}

.footer-logo .main-name {
    font-family: 'Noto Serif KR', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.footer-logo p {
    font-size: 13px;
    line-height: 1.8;
    color: rgba(255,255,255,0.6);
}

.footer-info h4,
.footer-links h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-light);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.footer-info ul li,
.footer-links ul li {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-info ul li span {
    color: var(--accent-light);
    min-width: 16px;
}

.footer-links ul li a {
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: var(--accent-light);
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

/* ===================================
   반응형
   =================================== */
@media (max-width: 900px) {
    nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .footer-logo {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 60px 20px;
    }

    .section-title .ko {
        font-size: 28px;
    }

    .page-hero h1 {
        font-size: 28px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .header-inner {
        padding: 0 20px;
    }
}
