/* Enhanced Carousel Styles */
.hero-section {
    position: relative;
    overflow: hidden;
}

.custom-indicators {
    bottom: 20px;
    margin-bottom: 0;
    z-index: 15;
}

.custom-indicators button {
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    position: relative;
    overflow: hidden;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.custom-indicators button:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.indicator-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #fff, #f8f9fa);
    border-radius: 2px;
    transition: width 6s linear;
}

.custom-indicators button.active {
    background-color: rgba(255, 255, 255, 0.8);
}

.custom-indicators button.active .indicator-progress {
    width: 100%;
}

.custom-carousel-control {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.7;
}

.custom-carousel-control:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.control-wrapper {
    color: white;
    font-size: 1.2rem;
}

.carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.carousel-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #007bff, #28a745);
    width: 0;
    transition: width 6s linear;
}

/* Enhanced hero content styles */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
}

.min-vh-75 {
    min-height: 75vh;
}

.text-gradient {
    background: linear-gradient(45deg, #ffd700, #ffeb3b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stats .stat-item {
    text-align: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

.btn-hover-scale {
    transition: all 0.3s ease;
}

.btn-hover-scale:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Floating animations */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #007bff;
    animation: float 3s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.floating-icon-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.floating-icon-2 {
    top: 60%;
    right: 20%;
    animation-delay: 1s;
}

.floating-icon-3 {
    top: 40%;
    right: 5%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Delivery animation */
.delivery-animation {
    position: absolute;
    top: 20%;
    left: 0;
    right: 0;
}

.delivery-truck {
    position: absolute;
    left: 0;
    font-size: 30px;
    color: #28a745;
    animation: drive 4s linear infinite;
}

.delivery-path {
    height: 2px;
    background: linear-gradient(90deg, transparent, #28a745, transparent);
    width: 100%;
    top: 50%;
    position: absolute;
}

@keyframes drive {
    0% { left: 0; }
    100% { left: calc(100% - 40px); }
}

/* Success metrics */
.success-metrics {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.metric-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: bounce 2s ease-in-out infinite;
}

.metric-card i {
    font-size: 24px;
    color: #007bff;
    display: block;
    margin-bottom: 5px;
}

.metric-card span {
    font-weight: bold;
    font-size: 18px;
    color: #333;
}

.metric-card-1 {
    top: 15%;
    right: 15%;
    animation-delay: 0s;
}

.metric-card-2 {
    top: 45%;
    right: 5%;
    animation-delay: 0.5s;
}

.metric-card-3 {
    top: 75%;
    right: 20%;
    animation-delay: 1s;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Feature and benefit items */
.feature-item, .benefit-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 8px;
    margin-bottom: 8px;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.feature-item:hover, .benefit-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

/* Hero main image */
.hero-main-image {
    max-height: 500px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* Product card image styles */
.product-card-img {
    height: 120px;
    object-fit: cover;
}

/* Search suggestions */
.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 40px;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    max-height: 300px;
    overflow-y: auto;
}

.suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.suggestion-item:hover,
.suggestion-item.selected {
    background: #f8f9fa;
    color: #007bff;
}

.suggestion-item:last-child {
    border-bottom: none;
}

/* Enhanced animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease-out forwards;
}

.animate-fade-up.delay-100 { animation-delay: 0.1s; }
.animate-fade-up.delay-200 { animation-delay: 0.2s; }
.animate-fade-up.delay-300 { animation-delay: 0.3s; }
.animate-fade-up.delay-400 { animation-delay: 0.4s; }

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-left {
    opacity: 0;
    transform: translateX(50px);
    animation: slideLeft 1s ease-out 0.3s forwards;
}

.animate-slide-right {
    opacity: 0;
    transform: translateX(-50px);
    animation: slideRight 1s ease-out 0.3s forwards;
}

.animate-scale-up {
    opacity: 0;
    transform: scale(0.8);
    animation: scaleUp 1s ease-out 0.3s forwards;
}

@keyframes slideLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleUp {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .custom-indicators button {
        width: 40px;
        height: 3px;
        margin: 0 3px;
    }
    
    .custom-carousel-control {
        width: 45px;
        height: 45px;
    }
    
    .floating-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .metric-card {
        padding: 10px;
        font-size: 14px;
    }
    
    .min-vh-75 {
        min-height: 60vh;
    }
    
    .hero-main-image {
        max-height: 300px;
    }
}