/* Banner Slider Styles */
.hero-section {
    position: relative;
    width: 100%;
    margin-bottom: 25px;
    /* Remove padding and background to eliminate ghost card */
}

.hero-content-wrapper {
    width: 100%;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    /* Move gradient here from the slider */
    background: linear-gradient(135deg, var(--gradient-start, var(--primary-color)) 0%, var(--gradient-end, var(--secondary-color)) 100%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    position: relative;
    z-index: 3;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-content-wrapper h2 {
    color: white !important;
    font-weight: 800;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content-wrapper p {
    color: rgba(255, 255, 255, 0.9) !important;
    max-width: 600px;
    line-height: 1.6;
}

.hero-content-wrapper .btn {
    padding: 12px 25px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-content-wrapper .btn:not(.btn-secondary) {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.hero-content-wrapper .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: white;
    backdrop-filter: blur(5px);
}

.hero-content-wrapper .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

#defaultHeroContent {
    position: relative;
    z-index: 1;
}

#homeBannerSection {
    width: 100%;
    margin-bottom: 20px;
}

.banner-slider {
    position: relative;
    width: 100%;
    min-height: 300px;
    /* Ensure consistency with items */
    border-radius: 20px;
    overflow: hidden;
    z-index: 2;
    background: transparent;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.banner-slider.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .hero-section {
        margin-bottom: 15px;
    }

    .hero-content-wrapper {
        padding: 20px 15px;
        min-height: 250px;
    }

    .banner-slider {
        min-height: 250px;
    }
}

.banner-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-item.active {
    opacity: 1;
    z-index: 1;
}

.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
    /* Perfect match with slider */
}

/* Dots Navigation */
.banner-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.banner-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.banner-dot.active {
    background: var(--primary-color);
    width: 25px;
    border-radius: 5px;
}

/* Admin Banner Table Styles */
.banner-thumbnail {
    width: 100px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}