/*
- 파일명: index_autumn.css
- 위치: /p/wedding/assets/css/index_autumn.css
- 기능: 웨딩박람회 일정 안내 메인 페이지 가을 테마 스타일
- 작성일: 2025-03-15
*/

/* 공통 스타일 */
body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff8f0;
}

/* 헤더 스타일 */
.hero-section {
    background: linear-gradient(135deg, #e65c00 0%, #F9D423 100%);
    color: white;
    padding: 5rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

/* 낙엽 효과 */
.autumn-leaves-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}

.leaf {
    position: absolute;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
    animation: falling-leaf 10s linear infinite;
}

.leaf:nth-child(1) {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23e67e22" d="M50,7c0,0,0,35,32,58s-25,29-42,22S5,35,50,7z"/></svg>');
    left: 10%;
    top: -5%;
    animation-duration: 15s;
    animation-delay: 0s;
}

.leaf:nth-child(2) {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23d35400" d="M50,7c0,0,35,0,58,32s-25,29-42,22S10,40,50,7z"/></svg>');
    left: 30%;
    top: -5%;
    animation-duration: 12s;
    animation-delay: 2s;
}

.leaf:nth-child(3) {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23e74c3c" d="M50,7c0,0,35,0,58,32s-29,25-22,42S40,90,50,7z"/></svg>');
    left: 50%;
    top: -5%;
    animation-duration: 18s;
    animation-delay: 1s;
}

.leaf:nth-child(4) {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23c0392b" d="M50,7c0,0,35,0,58,32s-29,25-22,42S40,90,50,7z"/></svg>');
    left: 70%;
    top: -5%;
    animation-duration: 14s;
    animation-delay: 3s;
}

.leaf:nth-child(5) {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="%23e67e22" d="M50,7c0,0,0,35,32,58s-29,25-42,22S10,40,50,7z"/></svg>');
    left: 90%;
    top: -5%;
    animation-duration: 16s;
    animation-delay: 0.5s;
}

@keyframes falling-leaf {
    0% {
        transform: translateY(-10px) translateX(0) rotate(0deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(50vh) translateX(50px) rotate(180deg);
        opacity: 0.6;
    }
    100% {
        transform: translateY(100vh) translateX(20px) rotate(360deg);
        opacity: 0.4;
    }
}

/* 카드 스타일 */
.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: #d35400;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #e67e22;
}

/* 통계 카드 스타일 */
.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 #e67e22;
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #d35400;
}

.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #d35400;
}

.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 #e67e22;
    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: #d35400;
}

.stat-card-compact .stat-icon-compact {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #d35400;
}

.stat-card-compact .stat-value-compact {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #d35400;
}

.stat-card-compact .stat-label-compact {
    font-size: 0.85rem;
    color: #6c757d;
    margin-bottom: 0;
}


/* 특별 버튼 스타일 */
.btn-special {
    background: linear-gradient(45deg, #e65c00 0%, #F9D423 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: #d35400;
    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, #d35400, transparent, #d35400, transparent, #d35400);
    opacity: 0.5;
}

/* 가을 테마 추가 스타일 */
.autumn-bg {
    background-color: #fff8f0;
}

.region-card {
    border-left: 3px solid #e67e22;
    transition: all 0.3s ease;
}

.region-card:hover {
    border-left: 3px solid #d35400;
    background-color: #fff8f0;
}

/* 버튼 스타일 */
.btn-light {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    color: #e65c00;
    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: #e65c00;
}

/* 낙엽 파도 효과 */
.ocean {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, rgba(230, 92, 0, 0), #e65c00 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);
    }
}