/*
- 파일명: index_winter.css
- 위치: /p/wedding/assets/css/index_winter.css
- 기능: 웨딩박람회 일정 안내 메인 페이지 겨울 테마 스타일
- 작성일: 2025-03-15
*/

/* 공통 스타일 */
body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f8ff;
}

/* 헤더 스타일 */
.hero-section {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 5rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

/* 눈 내리는 효과 */
.snowflakes-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}

.snowflake {
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    animation: falling-snow 10s linear infinite;
}

.snowflake:nth-child(1) {
    left: 10%;
    width: 8px;
    height: 8px;
    animation-duration: 12s;
    animation-delay: 0s;
}

.snowflake:nth-child(2) {
    left: 20%;
    width: 6px;
    height: 6px;
    animation-duration: 8s;
    animation-delay: 1s;
}

.snowflake:nth-child(3) {
    left: 30%;
    width: 10px;
    height: 10px;
    animation-duration: 10s;
    animation-delay: 2s;
}

.snowflake:nth-child(4) {
    left: 40%;
    width: 7px;
    height: 7px;
    animation-duration: 11s;
    animation-delay: 0.5s;
}

.snowflake:nth-child(5) {
    left: 50%;
    width: 9px;
    height: 9px;
    animation-duration: 9s;
    animation-delay: 1.5s;
}

.snowflake:nth-child(6) {
    left: 60%;
    width: 5px;
    height: 5px;
    animation-duration: 7s;
    animation-delay: 2.5s;
}

.snowflake:nth-child(7) {
    left: 70%;
    width: 10px;
    height: 10px;
    animation-duration: 10s;
    animation-delay: 0s;
}

.snowflake:nth-child(8) {
    left: 80%;
    width: 8px;
    height: 8px;
    animation-duration: 9s;
    animation-delay: 1s;
}

.snowflake:nth-child(9) {
    left: 90%;
    width: 7px;
    height: 7px;
    animation-duration: 11s;
    animation-delay: 0.5s;
}

@keyframes falling-snow {
    0% {
        transform: translateY(-10px) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) translateX(20px) rotate(360deg);
        opacity: 0;
    }
}

/* 카드 스타일 */
.card {
    transition: transform 0.3s, box-shadow 0.3s;
    margin-bottom: 1.5rem;
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    background-color: white;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* 섹션 스타일 */
.section-title {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    color: #1e3c72;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #2a5298;
}

/* 통계 카드 스타일 */
.stat-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
    border-top: 3px solid #2a5298;
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1e3c72;
}

.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e3c72;
}

.stat-card .stat-label {
    font-size: 1rem;
    color: #6c757d;
}

/* ---- 컴팩트 통계 카드 스타일 ---- */
.stat-card-compact {
    background-color: #fff;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
    border-top: 2px solid #2a5298;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-card-compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-top-color: #1e3c72;
}

.stat-card-compact .stat-icon-compact {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1e3c72;
}

.stat-card-compact .stat-value-compact {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #1e3c72;
}

.stat-card-compact .stat-label-compact {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0;
}


/* 특별 버튼 스타일 */
.btn-special {
    background: linear-gradient(45deg, #1e3c72 0%, #4286f4 100%);
    border: none;
    color: white;
    font-weight: 500;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-special:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* 푸터 스타일 */
.footer {
    background-color: #1e3c72;
    color: rgba(255,255,255,0.7);
    padding: 3rem 0;
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15px;
    background: linear-gradient(45deg, #1e3c72, transparent, #1e3c72, transparent, #1e3c72);
    opacity: 0.5;
}

/* 겨울 테마 추가 스타일 */
.winter-bg {
    background-color: #f0f8ff;
}

.region-card {
    border-left: 3px solid #4286f4;
    transition: all 0.3s ease;
}

.region-card:hover {
    border-left: 3px solid #1e3c72;
    background-color: #f0f8ff;
}

/* 버튼 스타일 */
.btn-light {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    color: #1e3c72;
    font-weight: 500;
}

.btn-outline-light {
    border-color: rgba(255, 255, 255, 0.9);
    color: white;
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: #1e3c72;
}

/* 눈 쌓인 파도 효과 */
.ocean {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(30, 60, 114, 0), #1e3c72 30%);
    overflow: hidden;
}

.wave {
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 88.7"><path d="M800 56.9c-155.5 0-204.9-50-405.5-49.9-200 0-250 49.9-394.5 49.9v31.8h800v-31.8z" fill="%23ffffff"/></svg>');
    position: absolute;
    width: 200%;
    height: 100%;
    background-repeat: repeat-x;
    background-position: 0 bottom;
    transform-origin: center bottom;
}

.wave:nth-of-type(1) {
    animation: wave 18s linear infinite;
}

.wave:nth-of-type(2) {
    animation: wave 15s 0.5s linear infinite reverse;
    opacity: 0.5;
}

@keyframes wave {
    0% {
        transform: translateX(0) translateZ(0);
    }
    50% {
        transform: translateX(-25%) translateZ(0);
    }
    100% {
        transform: translateX(-50%) translateZ(0);
    }
}