/* ===================================================================
   2026 대덕대청호물결축제 - 메인 페이지 전용 스타일 (index.html 에서만 로드)
   =================================================================== */
/* ===== [구간 1] 배경영상 히어로 ===== */
.section-hero {
    position: relative; width: 100%; height: 77vh; overflow: hidden;
    background: var(--navy);
}
.hero-video {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%; min-height: 100%;
    object-fit: cover;
    z-index: 0;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.22);
    z-index: 1;
}

/* ===== [구간 2] 축제 소개 + 포스터 ===== */
.section-intro {
    padding: 100px 30px 80px;
    max-width: var(--max-width); margin: 0 auto;
}
.intro-body {
    display: flex; gap: 50px; align-items: flex-start;
}
.intro-left {
    flex: 1; text-align: center;
}
.intro-left .label {
    display: inline-block; padding: 6px 20px;
    background: var(--primary); color: #fff;
    border-radius: 20px; font-size: 0.85rem; font-weight: 700;
    margin-bottom: 20px;
}
.intro-left h2 {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 1.92rem; margin-bottom: 12px; color: var(--text-dark);
    text-align: center; word-break: keep-all;
}
.intro-left .subtitle {
    font-size: 0.96rem; color: var(--text-gray); font-weight: 300;
    line-height: 1.8; margin-bottom: 30px;
    text-align: center; word-break: keep-all;
}
.intro-info-list {
    margin-bottom: 0;
    max-width: 420px; margin-left: auto; margin-right: auto;
    background: #fff; border-radius: 16px; padding: 20px 28px;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.12);
    text-align: left;
}
.intro-info-item {
    display: flex; align-items: flex-start; gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--line);
}
.intro-info-item:last-child {
    border-bottom: none;
}
.intro-info-item .info-label {
    font-size: 0.82rem; color: #fff; font-weight: 700;
    min-width: 48px; text-align: center; letter-spacing: 1px;
    background: var(--primary); padding: 3px 12px; border-radius: 12px;
    flex-shrink: 0; white-space: nowrap; margin-top: 4px;
}
.intro-info-item .info-value {
    font-size: 0.95rem; font-weight: 500; color: var(--text-dark);
}
.intro-poster {
    flex-shrink: 0; width: 456px;
}
.intro-poster img {
    width: 100%; border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* ===== [구간 2.5] 홍보 영상 (새 영상 수령 전까지 index.html 에서 주석 처리) ===== */
.section-video {
    padding: 0 30px 80px;
    max-width: 900px; margin: 0 auto;
}
.video-wrapper {
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    background: #000;
}
.video-wrapper video {
    width: 100%; display: block;
}

/* ===== [구간 3] 타임테이블 (준비중) ===== */
.section-timetable {
    padding: 70px 30px; background: #fff;
}
.section-timetable .timetable-inner {
    max-width: 900px; margin: 0 auto; text-align: center;
}
.section-timetable h2 {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 2rem; margin-bottom: 8px; color: var(--text-dark);
}
.section-timetable .timetable-sub {
    color: var(--text-gray); margin-bottom: 30px; font-size: 0.95rem;
}
.section-timetable .pending-box { max-width: 640px; margin: 0 auto; }

/* ===== [구간 4] 프로그램 소개 슬라이드 ===== */
.section-programs {
    padding: 100px 30px;
    background: var(--bg-calm);
}
.programs-header {
    text-align: center; margin-bottom: 60px;
}
.programs-header h2 {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 2.4rem; margin-bottom: 10px;
}
.programs-header p { color: var(--text-gray); }

.program-slider {
    max-width: 1050px; margin: 0 auto; position: relative;
    overflow: hidden; border-radius: 24px;
    background: #fff;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}
.program-slides {
    display: flex; width: 100%; transition: transform 0.7s ease-in-out;
}
.program-slide {
    flex: 0 0 100%; width: 100%; display: flex; min-height: 400px;
    align-items: center; justify-content: center;
    padding: 30px 0;
}
.program-slide-img {
    flex: 0 0 55%; overflow: hidden;
    border-radius: 16px; margin: 20px 0 0 25px;
    align-self: center; height: 340px;
}
.program-slide-img img {
    width: 100%; height: 100%; object-fit: cover;
    border-radius: 16px;
}
.program-slide-text {
    flex: 1; padding: 40px 25px 40px 30px;
    display: flex; flex-direction: column; justify-content: center;
}
.program-slide-text .slide-label {
    font-size: 0.8rem; color: var(--primary);
    font-weight: 700; letter-spacing: 1px; margin-bottom: 8px;
}
.program-slide-text h3 {
    font-family: 'Nanum Myeongjo', serif;
    font-size: 1.8rem; margin-bottom: 18px; color: var(--text-dark);
}
.program-slide-text p {
    font-size: 0.92rem; color: #666; line-height: 1.85;
    margin-bottom: 14px; word-break: keep-all;
}
.program-slide-text p.slide-meta {
    color: var(--navy); font-weight: 500;
}
.program-slide-text p:last-of-type { margin-bottom: 28px; }
.btn-detail {
    display: inline-block; padding: 12px 30px;
    background: var(--primary); color: #fff;
    border-radius: 30px; font-size: 0.9rem; font-weight: 700;
    transition: 0.3s; width: fit-content;
}
.btn-detail:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.45);
}

.slider-controls {
    display: flex; justify-content: center; gap: 10px;
    padding: 25px 0;
}
.slider-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: #d5dde6; border: none; cursor: pointer;
    transition: 0.3s; padding: 0;
}
.slider-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

/* ===== [구간 5] 주최·주관 / 후원 ===== */
.section-sponsors {
    padding: 90px 30px 80px;
    background: #fff;
}
.sponsors-inner {
    max-width: 1200px; margin: 0 auto; text-align: center;
}
.sponsors-inner h2 {
    font-family: 'Noto Sans KR', sans-serif;
    font-size: 1.5rem; font-weight: 700; letter-spacing: 1px;
    color: var(--text-dark); margin-bottom: 40px;
}
.sponsors-row {
    display: flex; justify-content: center; align-items: center;
    gap: 28px; flex-wrap: wrap;
}
.sponsors-row img {
    height: 46px; width: auto;
}
.sponsor-text {
    font-size: 1rem; font-weight: 500; color: var(--text-gray);
    letter-spacing: 1px; white-space: nowrap;
}
.sponsor-text-gap { margin-left: 30px; }
.sponsors-footer-gap {
    height: 80px;
    background: var(--bg-calm);
}

/* ===== 반응형 (모바일) ===== */
@media (max-width: 768px) {
    .section-hero { height: 55vh; }

    .section-intro { padding: 60px 20px; }
    .intro-left h2 { font-size: 1.25rem; }
    .intro-left .subtitle { font-size: 0.82rem; }
    .intro-body { flex-direction: column; gap: 30px; }
    .intro-poster { width: 100%; }
    .intro-info-list { padding: 16px 20px; max-width: 100%; }

    .section-timetable { padding: 50px 20px; }
    .section-timetable h2 { font-size: 1.5rem; }

    .section-programs { padding: 60px 15px; }
    .program-slide { flex-direction: column; min-height: auto; }
    .program-slide-img {
        flex: none; width: calc(100% - 30px); height: 210px;
        margin: 10px 15px 0;
    }
    .program-slide-text { padding: 30px 25px; }
    .program-slide-text h3 { font-size: 1.4rem; }

    .section-sponsors { padding: 50px 20px; }
    .sponsors-inner h2 { font-size: 1.4rem; margin-bottom: 28px; }
    .sponsors-row { gap: 18px 22px; }
    .sponsors-row img { height: 36px; }
    .sponsor-text { font-size: 0.9rem; flex-basis: 100%; text-align: center; }
    .sponsor-text-gap { margin-left: 0; margin-top: 10px; }
}

@media (max-width: 480px) {
    .intro-left h2 { font-size: 1.1rem; }
    .intro-left .subtitle { font-size: 0.78rem; }
    .programs-header h2 { font-size: 1.6rem; }
}
