@charset "UTF-8";
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

:root {
    --point-color: #FB923C;
    --text-dark: #333333;
    --text-muted: #666666;
    --bg-light: #f8f9fa;
    --border-color: #e9ecef;
}

body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
    color: var(--text-dark);
    margin: 0;
    padding: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Layout */
.container-max {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header (ticketLINK Style) */
.main-header {
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

.main-header .navbar-brand {
    font-weight: 800;
    font-size: 24px;
    color: #000;
}

.main-header .navbar-brand span {
    font-weight: 400;
}

.search-input-group {
    position: relative;
    max-width: 300px;
    width: 100%;
}

.search-input-group input {
    border-radius: 20px;
    padding-right: 40px;
    border: 1px solid var(--border-color);
}

.search-input-group .bi-search {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #000;
}

/* Main Hero (Static) */
.main-hero {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    min-height: 500px;
    padding: 100px 0;
}

.hero-content {
    color: #fff;
    width: 100%;
}

.hero-content p {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Banner Search */
.banner-search-wrapper {
    max-width: 600px;
}

.banner-search-group {
    position: relative;
    display: flex;
    align-items: center;
}

.banner-search-group .form-control {
    border-radius: 30px;
    padding: 18px 70px 18px 30px;
    font-size: 1.2rem;
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.banner-search-group .form-control:focus {
    box-shadow: 0 4px 25px rgba(251, 146, 60, 0.3);
}

.banner-search-btn {
    position: absolute;
    right: 8px;
    top: 8px;
    bottom: 8px;
    width: 55px;
    background: var(--point-color);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.banner-search-btn:hover {
    background: #ea580c;
    transform: scale(1.05);
}

@media (max-width: 991px) {
    .hero-slide {
        min-height: 400px;
        padding: 60px 20px;
    }
    .hero-content p {
        font-size: 2.2rem;
    }
    .banner-search-wrapper {
        margin: 30px auto 0;
    }
}

@media (max-width: 575px) {
    .hero-slide {
        min-height: 350px;
    }
    .hero-content p {
        font-size: 1.6rem;
    }
    .banner-search-wrapper {
        width: 100%;
    }
    .banner-search-group .form-control {
        padding: 15px 60px 15px 20px;
        font-size: 1rem;
    }
    .banner-search-btn {
        width: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 575px) {
    .hero-content h1 {
        font-size: 3.2rem;
    }
    .hero-content p {
        font-size: 1.5rem;
    }
    .banner-search-wrapper {
        width: 100%;
    }
/*     .hero-image img { */
/*         height: 220px; */
/*     } */
}

/* Swiper Pagination Custom */
.swiper-pagination-bullet-active {
    background: #fff !important;
}

/* Section Title */
/* Replaced by Bootstrap utility classes */

/* Ticket Cards */
.ticket-card img {
    width: 100%;
    transition: transform 0.3s ease;
}

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

/* Search Page (New) */
.search-layout {
    display: flex;
    gap: 30px;
    padding: 40px 0;
}

.search-filter {
    width: 320px;
    flex-shrink: 0;
}

.filter-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 24px;
    background: #fff;
    position: sticky;
    top: 100px;
}

.filter-section {
    margin-bottom: 30px;
    border-bottom: 1px solid #f1f1f1;
    padding-bottom: 20px;
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-section h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.filter-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.btn-filter {
    border: 1px solid var(--border-color);
    background: #fff;
    border-radius: 20px;
    padding: 6px 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.btn-filter.active {
    border-color: var(--point-color);
    color: var(--point-color);
    background: rgba(251, 146, 60, 0.05);
}

/* Calendar Style */
.calendar-mini {
    width: 100%;
    font-size: 0.85rem;
}

.cal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    gap: 5px;
}

.cal-day {
    padding: 5px 0;
    font-weight: 500;
}

.cal-date {
    padding: 8px 0;
    cursor: pointer;
    border-radius: 4px;
}

.cal-date:hover { background: #f8f9fa; }
.cal-date.today { color: #000; font-weight: 700; }
.cal-date.active { background: var(--point-color); color: #fff; }
.cal-date.sun { color: #f43f5e; }

/* Ticket List */
.search-results {
    flex-grow: 1;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sort-links a {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 15px;
}

.sort-links a.active {
    color: var(--point-color);
    font-weight: 700;
}

.ticket-item {
    margin-bottom: 40px;
}

.ticket-item .img-box {
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.ticket-item img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.ticket-item .info .title {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.ticket-item .info .venue, 
.ticket-item .info .date {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.badge-custom {
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 500;
}

.badge-blue { background: #eff6ff; color: #3b82f6; }
.badge-gray { background: #f3f4f6; color: #6b7280; }

/* Mobile Filter Trigger */
.mobile-filter-trigger {
    display: none;
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: var(--point-color);
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-weight: 700;
}

/* Layer Popup */
.filter-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1100;
}

.filter-popup {
    display: none;
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    max-height: 80%;
    background: #fff;
    z-index: 1101;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    transition: bottom 0.3s ease;
    overflow-y: auto;
    padding: 30px 20px;
}

.filter-popup.show {
    bottom: 0;
    display: block;
}

.filter-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

@media (max-width: 991px) {
    .search-layout {
        flex-direction: column;
    }
    .search-filter {
        display: none; /* Hide PC sidebar on mobile */
    }
    .mobile-filter-trigger {
        display: block;
    }
}

/* Content Page */
.content-detail {
    padding: 40px 0;
}

.breadcrumb {
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.breadcrumb-item a {
    color: var(--text-muted);
    text-decoration: none;
}

.content-info-table th {
    width: 100px;
    color: var(--text-muted);
    font-weight: 400;
    padding: 10px 0;
}

.content-info-table td {
    padding: 10px 0;
}

.price-red {
    color: #f43f5e;
    font-weight: 600;
}

.btn-point {
    background-color: #f43f5e; /* Red button in image */
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-weight: 600;
    border-radius: 4px;
}

.btn-point:hover {
    background-color: #e11d48;
    color: #fff;
}

.btn-outline-point {
    border: 1px solid #f43f5e;
    color: #f43f5e;
    background: #fff;
    padding: 15px 40px;
    font-weight: 600;
    border-radius: 4px;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    background-color: #fff;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links a {
    color: #000;
    text-decoration: none;
    margin-right: 20px;
    font-weight: 500;
}

.footer-info p {
    margin-bottom: 5px;
}

.family-site-select {
    width: 200px;
    font-size: 0.85rem;
}

/* Utility */
.point-text { color: var(--point-color); }
.point-bg { 
    background-color: var(--point-color); 
    border-color: var(--point-color);
    color: #fff;
}
.point-bg:hover { 
    background-color: #ea580c; /* Darker orange */
    border-color: #ea580c;
    color: #fff !important; 
}

/* Custom Tabs */
.custom-tabs {
    border-bottom: 2px solid #f1f1f1 !important;
    background-color: #fff !important;
    display: flex;
    gap: 10px;
}

.custom-tabs .nav-link {
    border: none !important;
    color: #ea580c !important;
    font-weight: 600;
    padding: 15px 25px;
    position: relative;
    background: none !important;
    border-radius: 0;
    opacity: 0.6;
}

.custom-tabs .nav-link.active {
    opacity: 1;
}

.custom-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #ea580c;
}

.custom-tabs .nav-link:hover {
    color: #ea580c !important;
    opacity: 1;
}

@media (max-width: 575px) {
    .search-results .row > div {
        width: 50%; /* 2 columns on mobile */
    }
    .ticket-item .info .title {
        font-size: 0.9rem;
    }
}

/* Custom Pagination */
.custom-pagination .page-item {
    margin: 0 4px;
}

.custom-pagination .page-link {
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    border-radius: 4px !important; /* Override bootstrap radius */
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.custom-pagination .page-item.active .page-link {
    background-color: var(--point-color);
    border-color: var(--point-color);
    color: #fff;
}

.custom-pagination .page-link:hover {
    background-color: #fff;
    color: var(--point-color);
    border-color: var(--point-color);
    z-index: 2;
}

.custom-pagination .page-item.disabled .page-link {
    color: #ccc;
    background-color: #fff;
    border-color: var(--border-color);
}

.custom-pagination .page-link:focus {
    box-shadow: 0 0 0 0.25rem rgba(251, 146, 60, 0.25);
}
