/* ===================================
   Honeymoon Expo Page Styles
   =================================== */

/* Container Override for Better Responsiveness */
.container {
    max-width: 1400px;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

/* Page Header with Parallax */
.honeymoon-header {
    position: relative;
    min-height: 200px; /* 기존 450px에서 200px로 축소 */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.honeymoon-header .parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/static/images/wedding/honeymoon-bg.jpg') center/cover;
    opacity: 0.3;
    transform: translateZ(0);
    will-change: transform;
}

.honeymoon-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3), transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 182, 193, 0.3), transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(255, 218, 185, 0.2), transparent 50%);
    animation: floatingGradient 15s ease infinite;
}

@keyframes floatingGradient {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-20px, -20px) rotate(120deg); }
    66% { transform: translate(20px, -10px) rotate(240deg); }
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 30px 0; /* 기존 60px에서 30px로 축소 */
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 8px 15px; /* 기존 10px 20px에서 축소 */
    display: inline-flex;
    margin-bottom: 20px; /* 기존 30px에서 20px로 축소 */
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb-item a:hover {
    color: white;
}

.breadcrumb-item.active {
    color: white;
}

.page-title {
    font-size: 2.5rem; /* 기존 3.5rem에서 2.5rem으로 축소 */
    font-weight: 700;
    margin-bottom: 10px; /* 기존 15px에서 10px로 축소 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s ease;
}

.page-subtitle {
    font-size: 1.1rem; /* 기존 1.3rem에서 1.1rem으로 축소 */
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Destinations Section */
.destinations-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #f8f9fa 0%, white 100%);
}

.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0;
}

.gradient-text {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 40px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.destination-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    min-width: 0; /* 그리드 아이템이 너무 작아지지 않도록 */
    height: 100%; /* 같은 줄의 카드들이 같은 높이를 유지 */
}

.destination-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.destination-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.destination-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.destination-card:hover .destination-image img {
    transform: scale(1.1);
}

.destination-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 2;
}

.destination-price {
    display: inline-block;
    padding: 8px 15px;
    background: linear-gradient(135deg, #ff6b9d 0%, #feca57 100%);
    color: white;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.3);
}

.destination-content {
    padding: 25px;
}

.destination-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.destination-desc {
    color: #718096;
    margin-bottom: 20px;
    line-height: 1.6;
}

.destination-features {
    display: flex;
    gap: 20px;
    color: #667eea;
    font-size: 0.9rem;
}

.destination-features span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.destination-features i {
    font-size: 1.1rem;
}

/* Honeymoon Expo Timeline */
.honeymoon-expo-section {
    padding: 100px 0;
    background: white;
}

.expo-timeline {
    position: relative;
    max-width: 900px;
    margin: 60px auto;
}

.expo-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    transform: translateX(-50%);
}

.expo-timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.expo-timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    flex: 0 0 120px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.timeline-date .month {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #667eea;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.timeline-date .day {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1;
}

.timeline-content {
    flex: 1;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 40px;
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.15);
    transform: scale(1.02);
}

.timeline-content::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid #667eea;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.expo-timeline-item:nth-child(odd) .timeline-content::before {
    right: -50px;
}

.expo-timeline-item:nth-child(even) .timeline-content::before {
    left: -50px;
}

.expo-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.expo-details {
    margin-bottom: 20px;
}

.expo-details p {
    color: #718096;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.expo-details i {
    color: #667eea;
    width: 20px;
}

.expo-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.highlight-tag {
    display: inline-block;
    padding: 5px 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    color: #667eea;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Special Offers Section */
.special-offers-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    overflow: hidden;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
}

.offer-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.offer-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.offer-card:hover::before {
    opacity: 1;
}

.offer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.offer-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.offer-icon i {
    font-size: 2.5rem;
    color: white;
}

.offer-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid rgba(102, 126, 234, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.offer-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.offer-desc {
    color: #718096;
    line-height: 1.6;
}

/* CTA Section */
.honeymoon-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.honeymoon-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.cta-description {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-primary {
    padding: 15px 40px;
    background: white;
    color: #667eea;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    background: #f8f9fa;
}

.btn-cta-secondary {
    padding: 15px 40px;
    background: transparent;
    color: white;
    border: 2px solid white;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-cta-secondary:hover {
    background: white;
    color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

/* Responsive Design */

/* Large Desktop View */
@media (max-width: 1400px) {
    .destinations-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
    }
}

/* Desktop View */
@media (max-width: 1200px) {
    .destinations-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

/* Tablet View */
@media (max-width: 992px) {
    .honeymoon-header {
        min-height: 180px; /* 기존 350px에서 180px로 축소 */
    }
    
    .page-title {
        font-size: 2.2rem; /* 기존 3rem에서 2.2rem으로 축소 */
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    /* Header Section */
    .honeymoon-header {
        min-height: 150px; /* 기존 300px에서 150px로 축소 */
        padding: 15px 0;
    }
    
    .page-header-content {
        padding: 20px 15px; /* 기존 40px 20px에서 축소 */
    }
    
    .page-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .page-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .breadcrumb {
        font-size: 0.85rem;
        padding: 8px 15px;
    }
    
    /* Section Headers */
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 1.8rem;
        padding: 0 20px;
    }
    
    .section-subtitle {
        font-size: 0.8rem;
        padding: 6px 15px;
    }
    
    /* Destinations Section */
    .destinations-section {
        padding: 60px 15px;
    }
    
    .destinations-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 10px;
    }
    
    .destination-card {
        border-radius: 15px;
    }
    
    .destination-image {
        height: 200px;
    }
    
    .destination-content {
        padding: 20px;
    }
    
    .destination-name {
        font-size: 1.3rem;
    }
    
    .destination-features {
        flex-wrap: wrap;
        gap: 15px;
        font-size: 0.85rem;
    }
    
    /* Timeline Section */
    .honeymoon-expo-section {
        padding: 60px 15px;
    }
    
    .expo-timeline {
        margin: 40px 0;
        padding: 0 15px;
    }
    
    .expo-timeline::before {
        left: 15px;
        width: 2px;
    }
    
    .expo-timeline-item {
        flex-direction: column !important;
        align-items: flex-start !important;
        margin-bottom: 40px;
    }
    
    .expo-timeline-item:nth-child(even) {
        flex-direction: column !important;
    }
    
    .timeline-date {
        flex: none;
        margin-bottom: 15px;
        margin-left: 45px;
        text-align: left;
    }
    
    .timeline-date .month {
        font-size: 0.8rem;
    }
    
    .timeline-date .day {
        font-size: 2rem;
    }
    
    .timeline-content {
        margin: 0 !important;
        margin-left: 45px !important;
        padding: 20px;
        border-radius: 15px;
        width: calc(100% - 45px);
    }
    
    .timeline-content::before {
        left: -30px !important;
        right: auto !important;
        width: 15px;
        height: 15px;
    }
    
    .expo-title {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .expo-details {
        font-size: 0.9rem;
    }
    
    .expo-highlights {
        gap: 8px;
    }
    
    .highlight-tag {
        font-size: 0.8rem;
        padding: 4px 10px;
    }
    
    /* Offers Section */
    .special-offers-section {
        padding: 60px 15px;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
        padding: 0 10px;
    }
    
    .offer-card {
        padding: 30px 20px;
        border-radius: 15px;
    }
    
    .offer-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .offer-icon i {
        font-size: 2rem;
    }
    
    .offer-title {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .offer-desc {
        font-size: 0.9rem;
    }
    
    /* CTA Section */
    .honeymoon-cta {
        padding: 60px 20px;
    }
    
    .cta-title {
        font-size: 1.8rem;
        margin-bottom: 15px;
        padding: 0 10px;
    }
    
    .cta-description {
        font-size: 1rem;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn-cta-primary,
    .btn-cta-secondary {
        width: 90%;
        max-width: 280px;
        padding: 12px 30px;
        font-size: 1rem;
        justify-content: center;
    }
}

/* Small Mobile View */
@media (max-width: 480px) {
    .honeymoon-header {
        min-height: 130px; /* 기존 250px에서 130px로 축소 */
    }
    
    .page-title {
        font-size: 1.7rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .destination-card {
        margin: 0 5px;
    }
    
    .timeline-content {
        padding: 15px;
    }
    
    .expo-title {
        font-size: 1.1rem;
    }
    
    .expo-details p {
        font-size: 0.85rem;
    }
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading States */
.destination-card.loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Print Styles */
@media print {
    .honeymoon-header,
    .cta-section,
    .sidebar {
        display: none;
    }
    
    .destinations-grid,
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .destination-card,
    .offer-card {
        box-shadow: none;
        border: 1px solid #e0e0e0;
        page-break-inside: avoid;
    }
}