/* ==========================================================================
   Kuakata Carnival 2026 Stylesheet (carnival.css)
   Matched with bpcbd.lovable.app & User Screenshot
   ========================================================================== */

/* 1. CARNIVAL HERO BANNER */
.carnival-hero {
    position: relative;
    background: linear-gradient(rgba(11, 26, 19, 0.72), rgba(11, 26, 19, 0.90)), 
                url('https://images.unsplash.com/photo-1533174072545-7a4b6ad7a6c3?auto=format&fit=crop&w=1920&q=80') center/cover;
    color: #ffffff;
    padding: 65px 0 50px 0;
    border-bottom: 2px solid rgba(217, 119, 6, 0.4);
}

.carnival-logo-mark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(217, 119, 6, 0.25);
    border: 1px solid rgba(217, 119, 6, 0.5);
    color: #fde68a;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    backdrop-filter: blur(8px);
}

.carnival-hero h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    color: #ffffff !important;
}

.carnival-hero p.tagline {
    font-size: 20px;
    color: #fcd34d;
    font-weight: 700;
    margin-bottom: 14px;
}

.carnival-hero p.desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.82);
    max-width: 650px;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* 2. STATS COUNTER ROW & HERO STAT CARDS */
.carnival-hero .hero-stat-card {
    background: #ffffff !important;
    border: 1.5px solid #e2e8f0 !important;
    border-radius: 14px !important;
    padding: 18px 20px !important;
    color: #0f172a !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}
.carnival-hero .hero-stat-card h4 {
    color: #0f172a !important;
    font-weight: 900 !important;
}
.carnival-hero .hero-stat-card span {
    color: #334155 !important;
    font-weight: 600 !important;
}

.carnival-stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    backdrop-filter: blur(6px);
}

.stat-item p.label {
    font-size: 11px;
    color: #94a3b8;
    margin-bottom: 4px;
    font-weight: 600;
}

.stat-item h3 {
    font-size: 22px;
    font-weight: 800;
    color: #fde68a;
}

/* 3. MAIN BOOKING SECTION (TWO COLUMNS: TICKETS & STICKY CART) */
.carnival-booking-section {
    padding: 40px 0;
}

.booking-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
}

/* DAY FILTER TABS */
.day-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.day-tab {
    padding: 8px 18px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text-main);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.day-tab.active,
.day-tab:hover {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
}

/* TICKET SELECTION LIST */
.ticket-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: all 0.2s ease;
}

.ticket-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.ticket-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 4px;
}

.ticket-info p {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.ticket-quota {
    font-size: 11px;
    color: var(--success);
    font-weight: 600;
}

.ticket-price-action {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.ticket-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    min-width: 90px;
    text-align: right;
}

.qty-counter {
    display: flex;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #ffffff;
}

.qty-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: #f8faf9;
    color: var(--text-main);
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.15s;
}

.qty-btn:hover {
    background: #e2e8f0;
}

.qty-val {
    width: 38px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    border: none;
    background: transparent;
}

/* 4. STICKY BOOKING CART SUMMARY (MATCHING SCREENSHOT) */
.sticky-cart {
    position: sticky;
    top: 90px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.cart-header {
    background: linear-gradient(135deg, var(--primary), #09462c);
    color: #ffffff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff !important;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-header h4 i {
    color: #ffffff !important;
}

.cart-body {
    padding: 20px;
}

.cart-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-muted);
}

.cart-row.total {
    border-top: 1px dashed var(--border);
    padding-top: 14px;
    margin-top: 14px;
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
}

.guidelines-box {
    margin-top: 20px;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px;
}

.guidelines-box h5 {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.guidelines-box ul {
    list-style: none;
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.6;
}

.guidelines-box ul li {
    margin-bottom: 5px;
    position: relative;
    padding-left: 14px;
}
.guidelines-box ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: bold;
}

/* 5. CELEBRITY & ARTIST LINEUP (MATCHING SCREENSHOT) */
.celebrity-section {
    padding: 50px 0;
    background: #ffffff;
    border-top: 1px solid var(--border);
}

.celebrity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 18px;
    margin-top: 25px;
}

.celebrity-card {
    background: var(--bg-main);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-align: center;
    transition: all 0.25s ease;
}

.celebrity-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.celebrity-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.celebrity-card .info {
    padding: 12px 10px;
}

.celebrity-card h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.celebrity-card p {
    font-size: 11px;
    color: var(--text-muted);
}

/* 6. SCHEDULE TABS & EVENTS */
.schedule-section {
    padding: 50px 0;
    background: var(--bg-secondary);
}

.schedule-card {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 900px) {
    .booking-layout {
        grid-template-columns: 1fr;
    }
    .carnival-stats-bar {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .carnival-hero {
        padding: 40px 0 30px 0;
    }
    .carnival-hero h1 {
        font-size: 26px;
    }
    .carnival-hero p.tagline {
        font-size: 16px;
    }
    .celebrity-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .celebrity-img {
        height: 150px;
    }
    .ticket-card {
        padding: 16px;
    }
    .schedule-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

@media (max-width: 480px) {
    .carnival-hero h1 {
        font-size: 22px;
    }
    .carnival-stats-bar {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .stat-item {
        padding: 10px 12px;
    }
    .stat-item h3 {
        font-size: 17px;
    }
}
