:root {
    --primary-red: #dc3545;
}

body {
    background-color: #111;
    color: #fff;
}

/* Navbar */
.navbar {
    background-color: #000 !important;
    padding: 1rem 2rem;
}

.navbar-brand, .nav-link {
    color: #fff !important;
}

.nav-link:hover {
    color: var(--primary-red) !important;
}

/* Buttons */
.btn-custom {
    background-color: var(--primary-red);
    color: #fff;
    border: none;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: #bb2d3b;
    transform: translateY(-2px);
}

/* Search Form */
.search-form {
    position: relative;
}

.search-form input {
    background-color: #333;
    border: none;
    color: #fff;
    padding-right: 40px;
}

.search-form input::placeholder {
    color: #999;
}

.search-form button {
    position: absolute;
    right: 0;
    top: 0;
    background: none;
    border: none;
    color: #fff;
    padding: 8px 12px;
}

/* Social Icons */
.social-icons a {
    color: #fff;
    margin-left: 15px;
    font-size: 1.2rem;
}

.social-icons a:hover {
    color: var(--primary-red);
}

/* Cart */
.cart-icon {
    position: relative;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--primary-red);
    border-radius: 50%;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    display:none;
}

/* Sections */
.month-section, .category-header, .related-tags, .no-events {
    background-color: #1a1a1a;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #333;
    margin-bottom: 2rem;
}

.month-section h3, .section-title {
    color: var(--primary-red);
    border-bottom: 2px solid #333;
    padding-bottom: 0.5rem;
}

.section-title {
    padding-left: 1rem;
    border-left: 4px solid var(--primary-red);
}

/* Cards */
.card, .event-card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.card:hover, .event-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
}

.card img, .event-image {
    transition: transform 0.3s ease;
}

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

/* Event Elements */
.event-date, .event-price {
    background-color: rgba(220, 53, 69, 0.9);
    padding: 0.5rem 1rem;
    position: absolute;
    border-radius: 4px;
    z-index: 2;
    font-weight: 500;
}

.event-date {
    top: 1rem;
    right: 1rem;
}

.event-price {
    bottom: 1rem;
    right: 1rem;
    background-color: rgba(0, 0, 0, 0.8);
}

.event-tags .badge {
    background-color: #333 !important;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    padding: 0.5rem 1rem;
}

.event-tags .badge:hover {
    background-color: var(--primary-red) !important;
    transform: translateY(-2px);
}

/* Featured Events */
.featured-event-container, .event-image-container {
    position: relative;
    overflow: hidden;
}

.featured-image, .event-image {
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-event-link:hover .featured-image, .event-card-link:hover .event-image {
    transform: scale(1.05);
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.3));
    pointer-events: none;
}

/* Breadcrumbs */
.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

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

.breadcrumb-item.active {
    color: #fff;
}

/* Pagination */
.pagination {
    margin-top: 2rem;
}

.pagination .page-link {
    background-color: #1a1a1a;
    border-color: #333;
    color: #fff;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background-color: #333;
    border-color: var(--primary-red);
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-red);
    border-color: var(--primary-red);
}

/* Utility Classes */
.text-muted {
    color: #888 !important;
}

.h5.mb-0, .fa-map-marker-alt, .text-danger {
    color: var(--primary-red) !important;
    font-weight: 500;
}

@media (max-width: 768px) {
    .month-section, .category-header {
        padding: 1rem;
    }

    .event-image, .featured-image {
        height: 200px;
    }

    .event-card {
        margin-bottom: 1rem;
    }
}

.quick-purchase-float {
    display: none; /* Hidden by default */
}

@media (max-width: 991px) {
    .quick-purchase-float {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: #1a1a1a;
        border-top: 1px solid #333;
        padding: 1rem;
        z-index: 1000;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.5);
    }

    .quick-purchase-float .price-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 0.5rem;
    }

    .quick-purchase-float .btn {
        border-radius: 4px;
        padding: 0.75rem;
    }

    /* Add padding to prevent content from being hidden behind floating box */
    body {
        padding-bottom: 120px;
    }

    .quick-purchase-desktop {
        display: none;
    }
} /* ← this closes the @media (max-width: 991px) */