/* ==========================================
   BagYourSeats – Custom Styles
   Premium & Hell Design
   ========================================== */

:root {
    --bs-primary: #F97316;
    --bs-primary-rgb: 249, 115, 22;
    --accent-dark: #EA580C;
    --accent-coral: #EF4444;
    --gold: #D97706;
    --gold-light: #FEF3C7;
    --section-padding: 6rem;
}

/* ==================== BASE ==================== */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1e293b;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: #0f172a;
}

.fw-800 {
    font-weight: 800 !important;
}

.py-section {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

/* ==================== TOP BARS ==================== */

.top-bars {
    padding-top: 62px; /* space for fixed navbar */
}

.top-bar-info {
    background: #f1f5f9;
    color: #475569;
    font-size: 0.8rem;
    padding: 17px 0px 10px 0px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.top-bar-highlight {
    background: linear-gradient(135deg, #F97316, #EA580C);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 0;
    text-align: center;
    letter-spacing: 0.3px;
}

/* ==================== NAVBAR ==================== */

.navbar-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 0.75rem 0;
    transition: all 0.3s ease;
    top: 0;
    z-index: 1040;
}

.navbar-glass.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.navbar-brand {
    font-size: 1.35rem;
    letter-spacing: -0.5px;
}

.navbar-nav .nav-link {
    color: #475569;
    font-weight: 500;
    font-size: 0.925rem;
    padding: 0.5rem 1rem !important;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--bs-primary);
}

.navbar-search {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 0.4rem 1rem;
    margin-left: 1rem;
    flex: 0 1 320px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.navbar-search:focus-within {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
    background: #fff;
}

.navbar-search i {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-right: 0.5rem;
}

.navbar-search input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.85rem;
    color: #0f172a;
    width: 100%;
}

.navbar-search input::placeholder {
    color: #94a3b8;
}

/* ==================== HERO ==================== */

.hero-section {
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: url('https://cdn.pixabay.com/photo/2020/01/15/17/35/concert-4768496_1280.jpg') center center / cover no-repeat;
    filter: blur(4px);
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.55) 100%);
    z-index: 0;
}

.hero-row {
    padding-top: 2rem;
    padding-bottom: 4rem;
    min-height: calc(100vh - 130px);
}

.hero-section .container {
    z-index: 1;
}

.hero-section h1,
.hero-section .lead {
    color: #fff;
}

.hero-section .lead {
    color: rgba(255,255,255,0.85) !important;
}

.hero-bg {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Hero entrance animation */
.hero-anim {
    opacity: 0;
    transform: translateY(24px);
    animation: heroFadeIn 0.7s ease-out forwards;
}

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-gradient {
    background: linear-gradient(135deg, var(--accent-coral), var(--bs-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-visual {
    position: relative;
    height: 450px;
}

/* ---- Floating Event Cards ---- */

.event-card {
    position: absolute;
    width: 220px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.event-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.16);
}

.event-card-img {
    width: 100%;
    height: 110px;
    overflow: hidden;
}

.event-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card-body {
    padding: 0.7rem 0.85rem;
}

.event-card-body h6 {
    font-size: 0.85rem;
}

.event-card-body small {
    font-size: 0.75rem;
}

.event-card-badge {
    display: inline-block;
    background: var(--bs-primary);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
    margin-bottom: 0.3rem;
}

.event-card-price {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--bs-primary);
}

.event-card-badge.badge-gold {
    background: var(--gold);
}

.event-card-badge.badge-purple {
    background: #7c3aed;
}

/* Positions & Animations */
.event-card-1 {
    top: 0;
    left: 5%;
    animation: wobble1 6s ease-in-out infinite;
    z-index: 3;
}

.event-card-2 {
    top: 35%;
    right: -5%;
    animation: wobble2 7s ease-in-out infinite;
    z-index: 2;
}

.event-card-3 {
    bottom: -5%;
    left: 15%;
    animation: wobble3 5.5s ease-in-out infinite;
    z-index: 1;
}

@keyframes wobble1 {
    0%, 100% { transform: translateY(0px) rotate(-2deg); }
    25% { transform: translateY(-10px) rotate(0deg); }
    50% { transform: translateY(-4px) rotate(1.5deg); }
    75% { transform: translateY(-14px) rotate(-1deg); }
}

@keyframes wobble2 {
    0%, 100% { transform: translateY(0px) rotate(2deg); }
    25% { transform: translateY(-12px) rotate(0.5deg); }
    50% { transform: translateY(-6px) rotate(-1.5deg); }
    75% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes wobble3 {
    0%, 100% { transform: translateY(0px) rotate(1deg); }
    25% { transform: translateY(-8px) rotate(-1.5deg); }
    50% { transform: translateY(-14px) rotate(0deg); }
    75% { transform: translateY(-4px) rotate(2deg); }
}

/* ==================== TRUST BANNER ==================== */

.trust-banner {
    background: white;
    border-bottom: 1px solid #f1f5f9;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

/* ==================== HOW IT WORKS ==================== */

#howTabs .nav-link {
    color: #64748b;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
}

#howTabs .nav-link.active {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}

#howTabs .nav-link:not(.active):hover {
    border-color: var(--bs-primary);
    color: var(--bs-primary);
}

.step-card {
    background: white;
    border-radius: 20px;
    border: 1px solid #f1f5f9;
    position: relative;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.step-number {
    position: absolute;
    top: 1rem;
    left: 1.25rem;
    width: 28px;
    height: 28px;
    background: var(--bs-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* ==================== BENEFIT CARDS ==================== */

.benefit-card {
    background: white;
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.benefit-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

/* ==================== PRICING ==================== */

.pricing-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.pricing-card-highlight {
    border: 2px solid var(--bs-primary);
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.12);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--bs-primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-amount {
    padding: 1.5rem 0;
}

.pricing-amount span {
    display: block;
}

.pricing-features li {
    padding: 0.5rem 0;
    text-align: left;
    color: #475569;
}

/* ==================== CORE VALUES ==================== */

.value-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.value-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* ==================== CTA SECTION ==================== */

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

.cta-box {
    background: linear-gradient(135deg, #c2410c, #ea580c, #f97316);
    border-radius: 24px;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* ==================== FOOTER ==================== */

.footer-section {
    background: #0f172a;
    color: #e2e8f0;
    padding-top: 4rem;
    padding-bottom: 1rem;
}

.footer-section h5,
.footer-section h6 {
    color: white;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-logo {
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-social {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-social:hover {
    background: var(--bs-primary);
    color: white;
}

/* ==================== BUTTONS ==================== */

.btn-primary {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    border-radius: 12px;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
}

.btn-outline-primary {
    border-radius: 12px;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    border-color: var(--bs-primary);
    color: var(--bs-primary);
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    transform: translateY(-1px);
}

.btn-outline-dark {
    border-radius: 12px;
    font-weight: 600;
    padding: 0.65rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    transform: translateY(-1px);
}

.btn-light {
    border-radius: 12px;
    font-weight: 600;
    color: var(--bs-primary);
}

.btn-light:hover {
    transform: translateY(-1px);
    color: var(--bs-primary);
}

.btn-outline-light {
    border-radius: 12px;
    font-weight: 600;
}

.btn-outline-light:hover {
    transform: translateY(-1px);
}

/* ==================== BOOTSTRAP OVERRIDES ==================== */

.text-primary {
    color: #ffffff !important;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

.btn-primary {
    --bs-btn-bg: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--accent-dark);
    --bs-btn-hover-border-color: var(--accent-dark);
}

.btn-outline-primary {
    --bs-btn-color: var(--bs-primary);
    --bs-btn-border-color: var(--bs-primary);
    --bs-btn-hover-bg: var(--bs-primary);
    --bs-btn-hover-border-color: var(--bs-primary);
}

.bg-light {
    background-color: #f8fafc !important;
}

/* ==================== SCROLL ANIMATIONS ==================== */

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== SEARCH OVERLAY ==================== */

.search-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10vh;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-overlay.active {
    opacity: 1;
    visibility: visible;
}

.search-overlay-inner {
    background: #fff;
    border-radius: 24px;
    padding: 3rem;
    width: 90%;
    max-width: 680px;
    text-align: center;
    transform: translateY(30px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.25);
}

.search-overlay.active .search-overlay-inner {
    transform: translateY(0) scale(1);
}

.search-overlay-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.2rem;
    color: #334155;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-overlay-close:hover {
    background: #fff;
    transform: scale(1.1);
}

.search-overlay-title {
    font-weight: 800;
    font-size: 1.75rem;
    color: #0f172a;
    margin-bottom: 1.5rem;
}

.search-overlay-bar {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 60px;
    padding: 1rem 1.5rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-overlay-bar:focus-within {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.12);
    background: #fff;
}

.search-overlay-bar i {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-right: 0.75rem;
}

.search-overlay-bar input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 1.1rem;
    color: #0f172a;
    width: 100%;
}

.search-overlay-bar input::placeholder {
    color: #94a3b8;
}

.search-overlay-hint {
    color: #64748b;
    font-size: 0.9rem;
    margin-top: 1.25rem;
    margin-bottom: 1rem;
}

.search-overlay-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
    margin-bottom: 2rem;
}

.search-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.1rem;
    background: #fff7ed;
    color: var(--bs-primary);
    border: 1px solid rgba(249, 115, 22, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.search-tag:hover {
    background: var(--bs-primary);
    color: #fff;
    border-color: var(--bs-primary);
    transform: translateY(-2px);
}

.search-overlay-popular {
    text-align: left;
    border-top: 1px solid #f1f5f9;
    padding-top: 1.5rem;
}

.search-overlay-popular h6 {
    color: #475569;
}

.popular-tag {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: #f1f5f9;
    color: #475569;
    border-radius: 50px;
    font-size: 0.825rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.popular-tag:hover {
    background: #0f172a;
    color: #fff;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 991.98px) {
    :root {
        --section-padding: 4rem;
    }

    .hero-section .display-3 {
        font-size: 2.5rem;
    }

    .cta-box {
        padding: 3rem 1.5rem;
    }

    .top-bar-info {
        font-size: 0.7rem;
    }
}

@media (max-width: 575.98px) {
    :root {
        --section-padding: 3rem;
    }

    .hero-section .display-3 {
        font-size: 2rem;
    }

    .pricing-card {
        padding: 1.75rem;
    }

    .step-card {
        padding: 1.25rem !important;
    }

    .top-bar-info {
        font-size: 0.65rem;
        padding: 0.3rem 0;
    }

    .top-bar-highlight {
        font-size: 0.75rem;
        padding: 0.35rem 0;
    }
}
