/* Image Slider Styles */
.image-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.image-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    transform: scale(1.05);
    width: 100%;
    height: 100%;
}

/* Fallback background for slides */
.image-slide:nth-child(1) {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.7) 0%, rgba(118, 75, 162, 0.7) 100%);
}

.image-slide:nth-child(2) {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.7) 0%, rgba(245, 87, 108, 0.7) 100%);
}

.image-slide:nth-child(3) {
    background: linear-gradient(135deg, rgba(79, 172, 254, 0.7) 0%, rgba(0, 242, 254, 0.7) 100%);
}

.image-slide:nth-child(4) {
    background: linear-gradient(135deg, rgba(67, 233, 123, 0.7) 0%, rgba(56, 249, 215, 0.7) 100%);
}

.image-slide.active {
    opacity: 1;
    transform: scale(1);
}

/* Hero Section Overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 20;
}

/* Slider Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.slider-dot.active {
    background: white;
    transform: scale(1.3);
    border-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .image-slide {
        background-position: center center;
    }
    
    .slider-dots {
        bottom: 10px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
}

/* Additional styles moved from inline */
.navbar-nav .nav-link {
    font-size: 1.1rem !important;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: #dc3545 !important;
    transform: translateY(-2px);
}

.navbar-brand {
    font-size: 1.5rem !important;
    font-weight: bold;
    color: white !important;
    -webkit-text-fill-color: white !important;
    background: none !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
}

.gradient-text {
    color: white !important;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8), 0 0 20px rgba(0,0,0,0.5);
}

/* Enhanced text readability for hero section */
.hero-section h1,
.hero-section .lead,
.hero-section .hero-stats h3,
.hero-section .hero-stats small {
    text-shadow: 3px 3px 12px rgba(0,0,0,0.9), 0 0 25px rgba(0,0,0,0.7), 0 0 35px rgba(0,0,0,0.5);
    color: white !important;
    font-weight: 600;
}

.hero-section .hero-stats .stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Enhanced Social Media Links */
.social-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.social-links i {
    font-size: 1.5rem;
    color: white !important;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Enhanced Cart Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-controls .input-group {
    max-width: 120px;
}

.quantity-controls .btn {
    border-radius: 0;
    border: 1px solid #dee2e6;
    background: #f8f9fa;
    color: #495057;
    font-weight: bold;
    min-width: 35px;
}

.quantity-controls .btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.quantity-controls .form-control {
    border-radius: 0;
    border-left: none;
    border-right: none;
    text-align: center;
    font-weight: bold;
    color: #495057;
}

.quantity-controls .form-control:focus {
    box-shadow: none;
    border-color: #80bdff;
}

.cart-quantity {
    font-size: 1rem;
    padding: 0.375rem 0.5rem;
}

/* Debug and Image Enhancement */
.image-slide {
    filter: brightness(0.7) contrast(0.8);
}

.image-slide.active {
    filter: brightness(0.7) contrast(0.8);
}

/* Ensure text is always visible */
.hero-section h1,
.hero-section .lead,
.hero-section .hero-stats h3,
.hero-section .hero-stats small,
.hero-section .hero-buttons .btn {
    position: relative;
    z-index: 10;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.9),
        0 0 20px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(0, 0, 0, 0.7);
    color: white !important;
    font-weight: 700;
}

/* Additional text enhancement */
.hero-section .hero-buttons .btn {
    background: rgba(255, 255, 255, 0.9);
    color: #333 !important;
    border: 2px solid rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-shadow: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.hero-section .hero-buttons .btn:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* Enhanced statistics background for better visibility */
.hero-section .hero-stats .stat-item {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Enhanced Cart Quantity Controls */
.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-controls .input-group {
    max-width: 120px;
}

.quantity-controls .btn {
    border-radius: 0;
    border: 1px solid #dee2e6;
    background: #f8f9fa;
    color: #495057;
    font-weight: bold;
    min-width: 35px;
}

.quantity-controls .btn:hover {
    background: #e9ecef;
    border-color: #adb5bd;
}

.quantity-controls .form-control {
    border-radius: 0;
    border-left: none;
    border-right: none;
    text-align: center;
    font-weight: bold;
    color: #495057;
}

.quantity-controls .form-control:focus {
    box-shadow: none;
    border-color: #80bdff;
}

.cart-quantity {
    font-size: 1rem;
    padding: 0.375rem 0.5rem;
}

/* Auth Pages Background Styles */
.auth-body {
    position: relative;
    min-height: 100vh;
    background: #f8f9fa;
}

.auth-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.6;
    z-index: 0;
}

.auth-card {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
