/*
- 파일명: index_summer.css
- 위치: /assets/css/index_summer.css
- 기능: 웨딩박람회 일정 안내 메인 페이지 여름 테마 스타일
- 작성일: 2025-03-15
- 수정일: 2025-09-01
*/

/* 공통 스타일 */
body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f0f9ff;
}

/* 헤더 스타일 */
.hero-section {
    background: linear-gradient(135deg, #0099f7 0%, #0099f7 40%, #26c9ff 100%);
    color: white;
    padding: 5rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

/* 파도 효과 - 단순화 버전 */
.ocean {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #0099f7; /* 헤더 배경색과 일치하도록 변경 */
    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);
    }
}

/* 물방울 요소들 */
.bubble {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    animation: float 8s ease-in-out infinite;
    z-index: 1;
}

.bubble:nth-child(1) {
    width: 40px;
    height: 40px;
    left: 10%;
    top: 60%;
    animation-duration: 6s;
}

.bubble:nth-child(2) {
    width: 60px;
    height: 60px;
    left: 25%;
    top: 30%;
    animation-duration: 9s;
    animation-delay: 1s;
}

.bubble:nth-child(3) {
    width: 35px;
    height: 35px;
    left: 40%;
    top: 60%;
    animation-duration: 7s;
    animation-delay: 0.5s;
}

.bubble:nth-child(4) {
    width: 50px;
    height: 50px;
    left: 60%;
    top: 40%;
    animation-duration: 10s;
    animation-delay: 2s;
}

.bubble:nth-child(5) {
    width: 45px;
    height: 45px;
    left: 80%;
    top: 50%;
    animation-duration: 8s;
    animation-delay: 1.5s;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-40px) translateX(15px);
        opacity: 0.6;
    }
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.8;
    }
}

/* 카드 스타일 */
.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: #0099f7;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #26c9ff;
}

/* 통계 카드 스타일 */
.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 #26c9ff;
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0099f7;
}

.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #0099f7;
}

.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 #0099f7;
    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: #0099f7;
}

.stat-icon-compact {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #0099f7;
}

.stat-value-compact {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: #0099f7;
}

.stat-label-compact {
    font-size: 0.85rem;
    color: #6c757d;
}


/* 특별 버튼 스타일 */
.btn-special {
    background: linear-gradient(45deg, #0099f7 0%, #26c9ff 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: #0099f7;
    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: 8px;
    background: linear-gradient(90deg, 
        #ffffff 0%, 
        rgba(255,255,255,0.8) 25%, 
        rgba(255,255,255,0.3) 50%, 
        rgba(255,255,255,0.8) 75%, 
        #ffffff 100%
    );
    opacity: 0.9;
}


/* 푸터 링크 마우스 오버 효과 - 단순 버전 */

/* 테마별 보기 링크 스타일 */
.footer .list-unstyled a {
    transition: color 0.2s ease;
}

.footer .list-unstyled a:hover {
    color: #ffffff !important;
}

/* 하단 저작권 영역 가독성 향상 */
.footer .border-top {
    border-color: rgba(255, 255, 255, 0.3) !important;
}

.footer .text-center p {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.95rem;
    font-weight: 400;
}

/* 하단 저작권 링크 스타일 */
.footer .text-center a {
    transition: color 0.2s ease;
    color: #ffffff !important;
    text-decoration: underline !important;
    text-decoration-color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

.footer .text-center a:hover {
    color: #ffd700 !important;
    text-decoration-color: #ffd700;
}


/* 여름 테마 추가 스타일 */
.summer-bg {
    background-color: #f0f9ff;
}

.region-card {
    border-left: 3px solid #26c9ff;
    transition: all 0.3s ease;
}

.region-card:hover {
    border-left: 3px solid #0099f7;
    background-color: #f0f9ff;
}

/* 버튼 스타일 */
.btn-light {
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    color: #0099f7;
    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: #0099f7;
}


/* 웨딩홀/스드메/예물 프로모션 카드 스타일 */
.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);
}

/* ===================================
* 커스텀 그리드 - 한 줄에 5개
* =================================== */
@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 auto;
        width: 20%;
    }
}

/* 반응형 조정 */
@media (max-width: 991.98px) and (min-width: 768px) {
    .col-md-3 {
        width: 25%;
    }
}

@media (max-width: 767.98px) and (min-width: 576px) {
    .col-sm-4 {
        width: 33.333333%;
    }
}

@media (max-width: 575.98px) {
    .col-6 {
        width: 50%;
    }
}

/* ===================================
* 프리미엄 카드 스타일
* =================================== */
.premium-card {
    position: relative;
    border: 2px solid #ffd700;
    background: linear-gradient(135deg, #fff9e6 0%, #ffffff 100%);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.premium-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(255, 215, 0, 0.4);
}

.premium-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.75rem;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.5);
    z-index: 10;
    letter-spacing: 0.5px;
}

.premium-badge i {
    color: #ff6b00;
    margin-right: 3px;
    animation: sparkle 1.5s infinite;
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.premium-card .card-title {
    color: #0099f7;
    font-weight: bold;
    font-size: 1.25rem;
}

.premium-card .card-body {
    background: linear-gradient(to bottom, rgba(255, 243, 205, 0.3) 0%, rgba(255, 255, 255, 0) 100%);
}

.btn-premium {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border: none;
    color: #333;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}

.btn-premium:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.5);
    color: #000;
}

.btn-premium i {
    transition: transform 0.3s ease;
}

.btn-premium:hover i {
    transform: translateX(5px);
}

/* 반응형 */
@media (max-width: 768px) {
    .premium-badge {
        font-size: 0.7rem;
        padding: 4px 12px;
    }
    
    .premium-card .card-title {
        font-size: 1.1rem;
    }
}