/* ===================================
   메인 페이지 전용 스타일
   =================================== */

/* 히어로 슬라이더 */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    margin-top: 75px;
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(44,26,14,0.75) 0%, rgba(92,61,30,0.5) 100%);
}

.slide-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 30px;
    animation: slideUp 0.8s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-badge {
    display: inline-block;
    background: rgba(212, 139, 58, 0.9);
    color: #fff;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.slide-content h1 {
    font-family: 'Noto Serif KR', serif;
    font-size: 52px;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.slide-content h1 strong {
    font-weight: 700;
    color: #F2C97E;
}

.slide-content p {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 35px;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
}

.slide-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 슬라이더 컨트롤 */
.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.6);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.2);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.5);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.4);
}

.slider-arrow.prev { left: 30px; }
.slider-arrow.next { right: 30px; }

/* 수상 배너 */
.award-banner {
    background: var(--primary);
    padding: 18px 30px;
}

.award-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.award-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.9);
    font-size: 13px;
}

.award-item i {
    color: var(--accent-light);
    font-size: 16px;
}

.award-item strong {
    color: var(--accent-light);
}

.award-divider {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.3);
}

/* 소개 섹션 */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.intro-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px var(--shadow);
}

.intro-image img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}

.intro-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--primary);
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 15px;
}

.intro-text p {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.9;
}

.intro-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    padding: 25px;
    background: var(--bg-cream);
    border-radius: 12px;
    border-left: 4px solid var(--accent);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.stat-item strong {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Noto Serif KR', serif;
}

.stat-item span {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

/* 체험 프로그램 */
.program-schedule {
    text-align: center;
    margin-bottom: 40px;
}

.schedule-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: #fff;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 15px;
    font-weight: 500;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.program-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--accent);
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow);
}

.program-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.program-num {
    font-size: 12px;
    color: var(--accent);
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.program-card h3 {
    font-family: 'Noto Serif KR', serif;
    font-size: 17px;
    color: var(--primary);
    margin-bottom: 12px;
}

.program-card p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.program-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.program-info span {
    font-size: 12px;
    color: var(--text-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.program-info span i {
    color: var(--accent);
    width: 14px;
}

/* 제품 섹션 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-card {
    border-radius: 16px;
    overflow: hidden;
}

.product-img {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.product-badge.award {
    background: var(--accent);
    color: var(--white);
}

.product-body {
    padding: 25px;
}

.product-body h3 {
    font-family: 'Noto Serif KR', serif;
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 10px;
}

.product-body p {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.product-volume {
    font-size: 13px;
    color: var(--text-light);
    background: var(--bg-cream);
    padding: 4px 12px;
    border-radius: 20px;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

/* CTA 섹션 */
.cta-section {
    position: relative;
    padding: 120px 30px;
    background: url('https://sspark.genspark.ai/cfimages?u1=50lXggXyKvV%2BLipdhKbqWK8OsIQ3UenHWemQcih%2FnI7FhLxDSGjP%2BGwjzZGezjCw2Wm7QHf5JRv0lmvzHVspB8qM8tPbyX3XpFQs5RarRK%2BbMzCosAQdp4OS7c27P%2BWFsXQ%3D&u2=YQVhFgcwnlXdNigQ&width=2560') center/cover no-repeat;
    text-align: center;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: rgba(44, 26, 14, 0.78);
}

.cta-content {
    position: relative;
    z-index: 1;
    color: var(--white);
}

.cta-content h2 {
    font-family: 'Noto Serif KR', serif;
    font-size: 40px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.cta-content p {
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin-bottom: 35px;
}

/* 오시는 길 간략 */
.location-brief-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.location-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.location-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: var(--bg-cream);
    border-radius: 10px;
}

.location-list li i {
    color: var(--accent);
    font-size: 16px;
    margin-top: 2px;
    min-width: 18px;
}

.location-list li div {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.location-list li strong {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
}

.location-list li span, .location-list li a {
    font-size: 15px;
    color: var(--text-dark);
    font-weight: 500;
}

.location-list li a:hover {
    color: var(--primary);
}

/* 스크롤 애니메이션 */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s ease;
}

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

/* 상단 이동 버튼 */
.top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    box-shadow: 0 4px 15px var(--shadow);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-btn.show {
    opacity: 1;
    transform: translateY(0);
}

.top-btn:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

/* 반응형 */
@media (max-width: 1024px) {
    .program-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .intro-image img {
        height: 350px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .location-brief-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .slide-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 600px) {
    .slide-content h1 {
        font-size: 28px;
    }

    .slide-content p {
        font-size: 14px;
    }

    .slide-btns {
        flex-direction: column;
        align-items: center;
    }

    .program-grid {
        grid-template-columns: 1fr;
    }

    .product-grid {
        grid-template-columns: 1fr;
    }

    .award-inner {
        flex-direction: column;
        gap: 12px;
    }

    .award-divider {
        display: none;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .intro-stats {
        gap: 15px;
    }

    .slider-arrow {
        display: none;
    }
}
