/* GENERAL RESET & BASE */
body {
    background-image: none !important;
    background-color: #f7b733;
    color: #333;
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

.container-fluid {
    padding: 0;
}

/* HEADER */
.navbar {
    background-color: #f7b733;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid #c67c16;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 50;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: #8B4513;
    letter-spacing: 1px;
    border-bottom: 4px double #8B4513;
}

.navbar-links a {
    color: #2b2b2b;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 1.5rem;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar-links a:hover {
    color: #8B4513;
}

.navbar-cta {
    background-color: #8B4513;
    color: white;
    font-weight: bold;
    border-radius: 9999px;
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
    margin-left: 2rem;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
    text-decoration: none;
}

.navbar-cta:hover {
    opacity: 0.9;
}

.nav-link {
    color: #333 !important;
    font-weight: bold;
}

.submit-btn {
    background-color: #8B4513;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #6a330f;
}

/* HERO SECTION */
.hero-container {
    position: relative;
    overflow: hidden;
    max-height: 600px;
}

.hero-container img {
    display: block;
    width: 100%;
    height: auto;
}

.hero-section {
    background-image: url('/images/hero.png');
    background-size: cover;
    background-position: center;
    height: 70vh;
    min-height: 400px;
    max-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(247, 183, 51, 0.8);
    background-blend-mode: overlay;
}

.hero-content {
    text-align: center;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: bold;
}

.hero-content h2 {
    font-size: 2rem;
}

/* Advertisement Banners */
.ad-banner {
    width: 100%;
    margin: 20px 0;
}

.ad-placeholder {
    background-color: rgba(139, 69, 19, 0.2);
    border: 2px dashed rgba(139, 69, 19, 0.5);
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.ad-placeholder span {
    color: rgba(139, 69, 19, 0.7);
    font-weight: bold;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

/* SECTION TITLES */
.section-title {
    font-weight: bold;
    margin-bottom: 20px;
    color: #000;
    font-size: 1.8rem;
    text-transform: uppercase;
}

.gold-text {
    color: #8B4513;
}

/* FEATURED ARTIST */
.featured-artist-slider {
    position: relative;
    overflow: visible;
    margin-bottom: 40px;
}

.featured-artist-card {
    background-color: #8B4513;
    border-radius: 8px;
    overflow: hidden;
    height: 220px;
}

.featured-artist-image {
    background-size: cover;
    background-position: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
}

.artist-group {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    width: 100%;
}

.artist-label {
    color: #f7b733;
    font-size: 2rem;
    font-weight: bold;
}

.next-arrow {
    color: #fff;
    font-size: 3rem;
}

/* VIDEO SLIDERS & CARDS */
.videos-slider {
    position: relative;
    overflow: visible;
    margin-bottom: 40px;
}

.home-video-card {
    background-color: #8B4513;
    border-radius: 8px;
    height: 160px;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
}

.home-video-card .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 2rem;
}

.home-video-card .video-title {
    color: #fff;
    font-weight: bold;
}

/* Regular video card - for other pages */
.video-card {
    background: white;
    border: 2px solid #8B4513;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    height: 450px;
}

.video-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: top;
}

.video-card .card-body {
    flex-grow: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.small-card {
    height: 140px;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 2rem;
}

.video-title {
    color: #fff;
    font-weight: bold;
}

/* SWIPER STYLES */
.swiper-container {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    z-index: 1; /* Lower z-index to prevent overlap */
}

.swiper-slide {
    height: auto;
    transition-timing-function: ease-out;
}

.swiper-button-next, 
.swiper-button-prev {
    color: #fff;
    background: rgba(139, 69, 19, 0.7);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5; /* Lower z-index than default (10) but still above content */
}

.swiper-button-next:after, 
.swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

/* EVENTS LIST */
.events-list {
    background-color: rgba(247, 183, 51, 0.3);
    border-radius: 8px;
    padding: 15px;
    height: 100%;
    min-height: 160px;
    position: relative;
    z-index: 3;
}

.event-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(139, 69, 19, 0.3);
}

.event-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.event-details {
    color: #000;
}

.event-date {
    color: #8B4513;
    font-weight: bold;
}

/* TRENDING TABLE */
.trending-table {
    background-color: rgba(247, 183, 51, 0.3);
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    position: relative;
    z-index: 3;
}

.table {
    margin-bottom: 0;
}

.table thead {
    background-color: #8B4513;
    color: #fff;
}

.table th, .table td {
    padding: 12px;
    border: none;
}

/* BAY AREA MAP */
.bay-area-map {
    background-color: rgba(247, 183, 51, 0.3);
    border-radius: 8px;
    height: 300px;
    position: relative;
    background-image: url('/images/bay-area-map.jpg');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.map-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-weight: bold;
}

/* Layout for column positioning */
.col-md-4, .col-md-8 {
    position: relative;
    z-index: 2; /* Higher than the swiper container */
}

.container.my-4 {
    position: relative;
    overflow: visible;
    margin-bottom: 30px; /* Add more space between sections */
}

/* ARTIST CARDS & GRID */
.artist-card {
    position: relative;
    background-color: #f7b733;
    padding: 20px 0;
    border-bottom: 1px solid rgba(139, 69, 19, 0.2);
}

.artists-grid {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background-color: #f7b733;
}

.artist-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: #333;
}

.artist-location {
    margin-bottom: 5px;
    color: #333;
}

.artist-genre {
    color: #8B4513;
    margin-bottom: 10px;
}

.view-details {
    display: inline-block;
    color: #19875a;
    text-decoration: none;
    transition: color 0.3s;
    margin-top: 5px;
}

.view-details:hover {
    color: #0f5a3b;
}

.artist-image {
    width: 100%;
    height: 150px;
    margin-top: 15px;
    overflow: hidden;
    border-radius: 4px;
}

.artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 25%;
}

.no-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e5a62c;
    color: #fff;
}

.no-artists {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

/* CARD STYLING */
.card {
    transition: all 0.3s ease;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.object-fit-cover {
    object-fit: cover;
}

.rounded-4 {
    border-radius: 0.5rem !important;
}

.card .overflow-hidden {
    height: 200px;
}

/* BADGE STYLING */
.badge {
    display: inline-block;
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.text-bg-light {
    color: #000;
    background-color: #f8f9fa;
}

/* BUTTON STYLING */
.btn-outline-success {
    color: #198754;
    border-color: #198754;
}

.btn-outline-success:hover {
    color: white;
    background-color: #198754;
}

.watch-btn {
    margin-top: 1rem;
    display: block;
    width: 100%;
    background-color: #198754;
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.watch-btn:hover {
    background-color: #146c4c;
}

/* UTILITY CLASSES */
.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 1rem;
}

.container {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 0 1rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ARTIST TEXT STYLING */
.artist-line {
    font-size: 0.875rem;
    color: #444;
    margin-top: 0.25rem;
}

.artist-line a {
    color: #007744;
    font-weight: 600;
    text-decoration: none;
}

.artist-line a:hover {
    text-decoration: underline;
}

/* FOOTER */
footer {
    background-color: #8B4513;
    color: #fff;
    padding: 1.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    border-top: 4px solid #f7b733;
    margin-top: 30px;
}

.footer-left {
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 1rem;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    margin-right: 20px;
    text-transform: uppercase;
}

.footer-links a:hover {
    text-decoration: underline;
}

.social-icons a {
    color: #fff;
    font-size: 1.2rem;
    margin-left: 0.75rem;
}

.social-icons a:hover {
    color: #f7b733;
}

/* RESPONSIVE STYLES */
@media (min-width: 768px) {
    .artists-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .artist-card {
        border: none;
        padding: 0;
        border-radius: 8px;
        overflow: hidden;
        background-color: rgba(255, 255, 255, 0.1);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s;
        margin-bottom: 20px;
    }
    
    .artist-card:hover {
        transform: translateY(-5px);
    }
    
    .artist-name, .artist-location, .artist-genre, .view-details {
        padding: 0 15px;
    }
    
    .artist-name {
        padding-top: 15px;
    }
    
    .view-details {
        margin-bottom: 15px;
        display: block;
    }
}

@media (min-width: 992px) {
    .artists-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .events-list, .trending-table {
        margin-top: 20px;
        min-height: auto;
    }
    
    .hero-content h1 {
        font-size: 3.5rem;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 3rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .featured-artist-card {
        height: 180px;
    }
    
    .artist-label {
        font-size: 1.5rem;
    }
    
    .home-video-card {
        height: 140px;
    }
    
    .ad-placeholder {
        height: 80px;
    }
    
    .ad-placeholder span {
        font-size: 1.2rem;
    }
}
