
:root {
    --primary-blue: #3b71f3;
    --primary-blue-dark: #2c5ce6;
    --light-bg: #f8f9fb;
    --text-gray: #6b7280;
    --text-dark: #1f2937;
    --border-light: #e5e7eb;
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.12);
    --border-radius: 12px;
}

.toRight {
    float: right;
    margin-bottom: 10px;
    
}

/* Override Bootstrap primary color */
.btn-primary {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: var(--primary-blue-dark);
    border-color: var(--primary-blue-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 113, 243, 0.3);
}

.form-select, .form-control {
    border-radius: var(--border-radius);
    border: 1px solid var(--border-light);
    font-size: 14px;
}

.form-select:focus, .form-control:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 0.25rem rgba(59, 113, 243, 0.15);
}

/* Header Styles */
.navbar {
    background-color: white !important;
    box-shadow: var(--shadow-light);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    color: var(--text-dark) !important;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: var(--text-gray) !important;
    font-weight: 500;
    margin: 0 0.5rem;
}

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

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
    padding: 6rem 0 4rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

/* Search Card */
.search-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--border-light);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.search-btn {
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
}

/* Category Cards */
.categories-section {
    background: white;
}

.category-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-light);
    height: 280px;
    position: relative;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

/* Disabled categories (Coming Soon) */
.category-card.disabled {
    opacity: 0.65;
    cursor: not-allowed;
}
.category-card.disabled:hover {
    transform: none;
    box-shadow: var(--shadow-light);
}
.category-card .coming-soon-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    display: inline-block;
    pointer-events: none;
}

.category-image {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: white;
    z-index: 2;
}

.category-content h5 {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.category-content p {
    font-size: 0.875rem;
    opacity: 0.9;
    margin: 0;
}

/* Results Section */
.results-section {
    background-color: var(--light-bg);
}

.results-title {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Venue Cards */
.venue-card {
    position: relative;
    background: #0d0d0d;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    height: 100%;
    color: #fff;
}

.venue-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.venue-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.venue-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: brightness(0.65);
}

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

.venue-image-overlay {
    position: absolute;
    inset: 0;
    display: block;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 15%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.2) 100%);
    opacity: 0.9;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.venue-card:hover .venue-image-overlay {
    opacity: 1;
}

.venue-badges {
    position: absolute;
    top: 1rem;
    right: 4rem;
    z-index: 7;
}

.venue-favorite {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 5;
}

.venue-favorite:hover {
    background: white;
    color: #dc3545;
}

.venue-content {
    position: absolute;
    inset: 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.5rem;
    z-index: 4;
}

.venue-title {
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.venue-type {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.venue-upcoming {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
}

.venue-address {
    color: var(--text-gray);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.venue-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.venue-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
}

.venue-schedule {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
}

.venue-schedule i {
    color: rgba(255, 255, 255, 0.85);
}

.book-btn {
    width: auto;
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    align-self: flex-start;
}

/* Sidebar */
.sidebar-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
}

.filter-btn {
    border-radius: 20px;
    font-size: 0.875rem;
    padding: 0.375rem 1rem;
}

.filter-btn.active {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

/* Featured Ad */
.featured-ad {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    text-align: center;
}

.featured-ad h5 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

/* Featured Section */
.featured-section {
    background: rgba(59, 113, 243, 0.05);
}

/* Badges */
.badge {
    border-radius: 20px;
    font-weight: 500;
    padding: 0.5rem 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.venue-card {
    animation: fadeInUp 0.5s ease forwards;
}

/* Loading State */
.loading-skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .search-card {
        padding: 1.5rem;
    }
    
    .hero-section {
        padding: 4rem 0 2rem;
    }
    
    .category-card {
        height: 220px;
    }
}
