﻿/*
- 파일명: index.css
- 위치: /assets/css/index.css
- 기능: 웨딩박람회 일정 안내 메인 페이지 스타일
- 작성일: 2025-03-14
- 수정일: 2025-09-01
*/

/* 공통 스타일 */
body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FFC0C0;
}

/* 헤더 스타일 */
.hero-section {
    background: linear-gradient(135deg, #ffb7c5 0%, #ffd1dc 100%);
    color: #4a4a4a;
    padding: 5rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

/* 추가 꽃잎 요소들 */
.petal {
    position: absolute;
    pointer-events: none;
    width: 15px;
    height: 8px;
    background: #fff;
    border-radius: 150% 0 150% 0;
    animation: fallingPetals 10s linear infinite;
    opacity: 0.7;
}

.petal:nth-child(1) {
    left: 10%;
    top: -5%;
    transform: rotate(45deg);
    animation-duration: 11s;
    animation-delay: 0s;
}

.petal:nth-child(2) {
    left: 30%;
    top: -5%;
    transform: rotate(30deg);
    animation-duration: 9s;
    animation-delay: 2s;
}

.petal:nth-child(3) {
    left: 55%;
    top: -5%;
    transform: rotate(60deg);
    animation-duration: 12s;
    animation-delay: 1s;
}

.petal:nth-child(4) {
    left: 70%;
    top: -5%;
    transform: rotate(15deg);
    animation-duration: 10s;
    animation-delay: 3s;
}

.petal:nth-child(5) {
    left: 85%;
    top: -5%;
    transform: rotate(45deg);
    animation-duration: 13s;
    animation-delay: 0.5s;
}

.petal:nth-child(6) {
    left: 20%;
    top: -5%;
    transform: rotate(30deg);
    animation-duration: 14s;
    animation-delay: 1.5s;
}

.petal:nth-child(7) {
    left: 45%;
    top: -5%;
    transform: rotate(60deg);
    animation-duration: 8s;
    animation-delay: 2.5s;
}

@keyframes fallingPetals {
    0% {
        transform: translateY(-10px) translateX(0) rotate(45deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(50vh) translateX(50px) rotate(90deg);
        opacity: 0.5;
    }
    100% {
        transform: translateY(100vh) translateX(20px) rotate(135deg);
        opacity: 0.3;
    }
}

/* 카드 스타일 */
.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: #d14d72;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #ffb7c5;
}

/* 통계 카드 스타일 */
.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 #ffb7c5;
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #d14d72;
}

.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #d14d72;
}

.stat-card .stat-label {
    font-size: 1rem;
    color: #6c757d;
}

/* 컴팩트한 통계 카드 스타일 */
.stat-card-compact {
    background-color: #fff;
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    margin-bottom: 1rem;
    border-top: 2px solid #ffb7c5;
    transition: all 0.2s ease;
    height: 100%;
}

.stat-card-compact:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    border-top-color: #d14d72;
}

.stat-icon-compact {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #d14d72;
}

.stat-value-compact {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #d14d72;
}

.stat-label-compact {
    font-size: 0.85rem;
    color: #6c757d;
}

/* 특별 버튼 스타일 */
.btn-special {
    background: linear-gradient(45deg, #ffb6c1 0%, #ffc8dd 99%, #ffc8dd 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: #d14d72;
    color: rgba(255,255,255,0.7);
    padding: 1rem 0;
    margin-top: 3rem;
}

/* 벚꽃 테마 추가 스타일 */
.cherry-blossom-bg {
    background-color: #fff8f8;
}

.region-card {
    border-left: 3px solid #ffb7c5;
    transition: all 0.3s ease;
}

.region-card:hover {
    border-left: 3px solid #d14d72;
    background-color: #fff0f5;
}


/* 웨딩홀/스드메/예물 프로모션 카드 스타일 */
.promotion-card {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-img-top-wrapper-square {
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* 1:1 비율 (정사각형) */
    position: relative;
    overflow: hidden;
}

.promotion-card .card-img-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.promotion-card:hover .card-img-top {
    transform: scale(1.05);
}