/**
 * style-expo.css
 * 박람회 페이지 전용 스타일
 * 새로운 CSS 모듈 가이드 준수
 */

/* ===================================
   Page Hero
   =================================== */
.page-hero {
    padding: 5rem 0 4rem;
    background: linear-gradient(135deg, var(--cream) 0%, #fff 50%, var(--rose-gold-light) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(ellipse, rgba(232, 180, 184, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
}

.page-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ===================================
   Content Section
   =================================== */
.content-section {
    padding: 4rem 0;
    background: var(--cream);
}

/* ===================================
   Filter Section
   =================================== */
.filter-section {
    margin-bottom: 3rem;
    text-align: center;
}

.filter-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

/* Type Tabs (박람회 종류 필터) */
.type-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.type-tab {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
    background: #fff;
    border: 2px solid var(--blush);
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.type-tab:hover {
    border-color: var(--rose-gold);
    color: var(--rose-gold-dark);
}

.type-tab.active {
    color: #fff;
    background: var(--gradient-romantic);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(232, 180, 184, 0.4);
}

/* Region Tabs */
.region-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.region-tab {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    background: #fff;
    border: 1px solid var(--rose-gold-light);
    border-radius: 20px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.region-tab:hover {
    border-color: var(--rose-gold);
    color: var(--rose-gold-dark);
}

.region-tab.active {
    color: #fff;
    background: var(--rose-gold);
    border-color: transparent;
}

/* ===================================
   Expo List (Content Area)
   =================================== */
.expo-list {
    margin-top: 2rem;
}

.expo-list .row {
    margin: 0 -0.75rem;
}

.expo-list .row > [class*="col-"] {
    padding: 0 0.75rem;
}

/* ===================================
   Expo Card
   =================================== */
.expo-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.expo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-romantic);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.expo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

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

.expo-card.featured {
    border: 2px solid var(--rose-gold);
}

.expo-card.featured::before {
    opacity: 1;
}

/* Expo Badge */
.expo-badge {
    position: absolute;
    top: 1rem;
    padding: 0.4rem 0.875rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
}

.expo-badge.featured-badge {
    left: 1rem;
    background: var(--gradient-romantic);
}

.expo-badge.ongoing-badge {
    right: 1rem;
    background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
}

/* Expo Thumbnail */
.expo-thumbnail {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: var(--cream);
}

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

.expo-card:hover .expo-thumbnail img {
    transform: scale(1.05);
}

/* Thumbnail Placeholder */
.expo-thumbnail-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cream) 0%, var(--rose-gold-light) 100%);
}

.expo-thumbnail-placeholder i {
    font-size: 3rem;
    color: var(--rose-gold);
    opacity: 0.5;
}

/* Expo Type Badge (on thumbnail) */
.expo-type-badge {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.expo-type-badge.type-wedding {
    background: linear-gradient(135deg, #e8b4b8 0%, #d4a0a4 100%);
}

.expo-type-badge.type-honeymoon {
    background: linear-gradient(135deg, #87CEEB 0%, #5DADE2 100%);
}

.expo-type-badge.type-both {
    background: linear-gradient(135deg, #DDA0DD 0%, #BA55D3 100%);
}

/* Expo Content */
.expo-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.expo-region {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--rose-gold-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.expo-region i {
    font-size: 0.9rem;
}

.expo-region .region-detail {
    color: var(--text-secondary);
    font-weight: 400;
}

.expo-region .region-detail::before {
    content: '·';
    margin: 0 0.25rem;
}

.expo-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.expo-card .expo-date,
.expo-card .expo-venue,
.expo-card .expo-time {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border-radius: 0 !important;
    justify-content: flex-start !important;
}

.expo-card .expo-date i,
.expo-card .expo-venue i,
.expo-card .expo-time i {
    color: var(--rose-gold);
    font-size: 0.9rem;
    width: 16px;
    min-width: 16px;
    text-align: center;
    flex-shrink: 0;
}

/* Expo Benefits */
.expo-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.benefit-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    font-size: 0.7rem;
    color: #8b5a5a;
    background: var(--rose-gold-light);
    border-radius: 12px;
}

.benefit-tag i {
    font-size: 0.65rem;
    color: #8b5a5a;
}

/* Expo Actions */
.expo-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.expo-actions .btn {
    flex: 1;
    padding: 0.625rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 25px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.expo-actions .btn-outline-primary {
    color: var(--rose-gold-dark);
    background: transparent;
    border: 2px solid var(--rose-gold);
}

.expo-actions .btn-outline-primary:hover {
    color: #fff;
    background: var(--rose-gold);
}

.expo-actions .btn-primary {
    color: #fff;
    background: var(--gradient-romantic);
    border: none;
}

.expo-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(232, 180, 184, 0.4);
}

/* Legacy Expo Card Styles (for backward compatibility) */
.expo-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.expo-card:hover .expo-card-image img {
    transform: scale(1.05);
}

.expo-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: var(--gradient-romantic);
    border-radius: 20px;
    text-transform: uppercase;
}

.expo-card-content {
    padding: 1.5rem;
}

.expo-card-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--rose-gold-dark);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.expo-card-date i {
    font-size: 1rem;
}

.expo-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.expo-card-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.expo-card-location i {
    color: var(--rose-gold);
}

.expo-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.expo-card-price {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.expo-card-price strong {
    color: var(--rose-gold-dark);
    font-weight: 700;
}

.expo-card-btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--rose-gold-dark);
    background: transparent;
    border: 2px solid var(--rose-gold);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.expo-card-btn:hover {
    color: #fff;
    background: var(--rose-gold);
}

/* ===================================
   No Expo Message
   =================================== */
.no-expo-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.no-expo-message i {
    font-size: 4rem;
    color: var(--rose-gold-light);
    margin-bottom: 1.5rem;
    display: block;
}

.no-expo-message h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.no-expo-message p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* ===================================
   CTA Section
   =================================== */
.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--rose-gold) 0%, var(--blush) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

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

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cta-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-section .btn-primary {
    background: #fff;
    color: var(--rose-gold-dark);
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.cta-section .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* ===================================
   Section Title
   =================================== */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient-romantic);
    margin: 0.75rem auto 0;
    border-radius: 2px;
}

/* ===================================
   Destinations Section (Honeymoon)
   =================================== */
.destinations-section {
    margin-bottom: 2rem;
}

.destination-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    height: 100%;
    cursor: pointer;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.destination-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rose-gold-light);
    border-radius: 50%;
    font-size: 1.5rem;
    color: var(--rose-gold-dark);
    transition: all 0.3s ease;
}

.destination-card:hover .destination-icon {
    background: var(--gradient-romantic);
    color: #fff;
}

.destination-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.destination-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.destination-price {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--rose-gold-dark);
    background: var(--rose-gold-light);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    margin-top: 0.5rem;
}

/* ===================================
   Text Utilities
   =================================== */
.text-center {
    text-align: center;
}

/* ===================================
   Expo Register Form
   =================================== */
.info-banner {
    display: flex;
    gap: 1rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--cream) 0%, #fff 100%);
    border: 1px solid var(--rose-gold-light);
    border-radius: 12px;
    border-left: 4px solid var(--rose-gold);
}

.info-banner .info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--rose-gold-light);
    border-radius: 50%;
    color: var(--rose-gold-dark);
    font-size: 1.25rem;
}

.info-banner .info-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.info-banner .info-content ul {
    padding-left: 1.25rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.info-banner .info-content ul li {
    margin-bottom: 0.25rem;
}

.registration-form-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--rose-gold-light);
}

.form-section-title .step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--gradient-romantic);
    color: #fff;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 50%;
}

.expo-register-form .form-floating > .form-control,
.expo-register-form .form-floating > .form-select {
    border: 1px solid var(--border-color);
    border-radius: 10px;
}

.expo-register-form .form-floating > .form-control:focus,
.expo-register-form .form-floating > .form-select:focus {
    border-color: var(--rose-gold);
    box-shadow: 0 0 0 3px rgba(232, 180, 184, 0.15);
}

.benefits-input-section .input-group-text {
    background: var(--rose-gold-light);
    border-color: var(--rose-gold-light);
    color: var(--rose-gold-dark);
}

.benefits-input-section .btn-add-benefit,
.benefits-input-section .btn-remove-benefit {
    border-color: var(--border-color);
}

.benefits-input-section .btn-add-benefit:hover {
    background: var(--rose-gold-light);
    border-color: var(--rose-gold);
    color: var(--rose-gold-dark);
}

.agreement-section {
    background: var(--cream);
    padding: 1.25rem;
    border-radius: 10px;
}

.agreement-section .form-check-input:checked {
    background-color: var(--rose-gold);
    border-color: var(--rose-gold);
}

.expo-register-form .btn-primary {
    background: var(--gradient-romantic);
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.expo-register-form .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 180, 184, 0.4);
}

/* ===================================
   Responsive - 992px
   =================================== */
@media (max-width: 992px) {
    .page-hero {
        padding: 4rem 0 3rem;
    }

    .content-section {
        padding: 3rem 0;
    }

    .cta-section {
        padding: 4rem 0;
    }

    .expo-thumbnail {
        height: 160px;
    }
}

/* ===================================
   Responsive - 768px
   =================================== */
@media (max-width: 768px) {
    .page-hero {
        padding: 3rem 0 2.5rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .page-subtitle {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .filter-title,
    .section-title {
        font-size: 1.25rem;
    }

    .region-tabs {
        gap: 0.5rem;
    }

    .region-tab {
        padding: 0.6rem 1rem;
        font-size: 0.875rem;
    }

    .no-expo-message {
        padding: 3rem 1.5rem;
    }

    .no-expo-message i {
        font-size: 3rem;
    }

    .no-expo-message h4 {
        font-size: 1.25rem;
    }

    .cta-section {
        padding: 3rem 0;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .cta-description {
        font-size: 1rem;
    }

    /* Expo Card */
    .expo-title {
        font-size: 1.05rem;
    }

    .expo-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .expo-actions .btn {
        width: 100%;
    }

    /* Destination Card */
    .destination-card {
        padding: 1.25rem;
    }

    .destination-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    .destination-card h4 {
        font-size: 1rem;
    }

    .destination-card p {
        font-size: 0.8rem;
    }
}

/* ===================================
   Responsive - 576px
   =================================== */
@media (max-width: 576px) {
    .page-hero {
        padding: 2.5rem 0 2rem;
    }

    .page-title {
        font-size: 1.75rem;
    }

    .section-title {
        font-size: 1.15rem;
    }

    .region-tabs {
        flex-wrap: wrap;
    }

    .region-tab {
        flex: 1 1 calc(50% - 0.5rem);
        text-align: center;
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    .cta-section .btn-primary {
        padding: 0.875rem 2rem;
        font-size: 1rem;
        width: 100%;
    }

    /* Expo Card */
    .expo-content {
        padding: 1rem;
    }

    .expo-thumbnail {
        height: 140px;
    }

    /* Destination Card */
    .destination-card {
        padding: 1rem;
    }

    .destination-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .destination-card h4 {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }

    .destination-card p {
        font-size: 0.75rem;
    }
}
