/* Hero Section */
.vendor-hero-section { 
    position: relative; 
    overflow: hidden; 
    margin-bottom: 0;
}

.hero-slide { 
    height: 380px; /* Reduced from 600px to 380px */
    background-size: cover; 
    background-position: center; 
    position: relative; 
}

.hero-content { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: white; 
    z-index: 2; 
}

.hero-title { 
    font-size: 2.8rem; /* Reduced from 3.5rem */
    font-weight: 700; 
    /* text-shadow: 0 2px 4px rgba(0,0,0,0.3);  */
    color: #f5f5f5;
}

.hero-subtitle { 
    font-size: 1.2rem; /* Reduced from 1.5rem */
    margin-bottom: 1.5rem; /* Reduced from 2rem */
    max-width: 700px; 
    margin-left: auto; 
    margin-right: auto; 
    color: #f5f5f5;
}

.hero-btn { 
    display: inline-block; 
    padding: 10px 25px; /* Slightly reduced padding */
    background-color: white; 
    color: #19142f !important; 
    font-weight: 600; 
    border-radius: 50px; 
    text-decoration: none; 
    transition: all 0.3s ease; 
}

.hero-btn:hover { 
    transform: translateY(-3px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); 
    color: #eb8023 !important;
}

.vendor-search-container { 
    max-width: 500px; /* Reduced from 600px */
    margin: 0 auto; 
}

.vendor-search-box { 
    display: flex; 
    background-color: white; 
    border-radius: 50px; 
    overflow: hidden; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.1); 
}

.vendor-search-input { 
    flex: 1; 
    border: none; 
    padding: 12px 20px; /* Reduced padding */
    font-size: 0.95rem; /* Slightly reduced font size */
    outline: none; 
}

.vendor-search-btn { 
    background-color: #eb8023 !important; 
    color: white; 
    border: none; 
    padding: 0 20px; /* Reduced padding */
    font-size: 1.1rem; /* Slightly reduced font size */
    cursor: pointer; 
    transition: background-color 0.3s ease; 
}

.vendor-search-btn:hover { 
    background-color: #19142f; 
}

/* Filter Section */
.vendor-filter-section {
    border-bottom: 1px solid #e9ecef;
}

.filter-label { 
    font-weight: 600; 
    color: #555; 
}

.vendor-filters { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 10px; 
}

.filter-btn { 
    padding: 8px 16px; 
    background-color: #f5f5f5; 
    border: 1px solid #ddd; 
    border-radius: 20px; 
    font-size: 0.9rem; 
    cursor: pointer; 
    transition: all 0.3s ease; 
}

.filter-btn:hover { 
    background-color: #e9e9e9; 
}

.filter-btn.active { 
    background-color: #19142f !important; 
    color: white; 
    border-color: #19142f !important; 
}

.sort-select { 
    width: auto; 
    min-width: 150px; 
}

/* Vendor Grid */
.vendor-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); 
    gap: 10px; 
}

.vendor-card { 
    transition: all 0.3s ease; 
}

.vendor-card-inner { 
    background-color: white; 
    border-radius: 12px; 
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
    transition: all 0.3s ease; 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
}

.vendor-card:hover .vendor-card-inner { 
    transform: translateY(-10px); 
    box-shadow: 0 15px 30px rgba(0,0,0,0.1); 
}

.vendor-logo-container { 
    position: relative; 
    height: 200px; 
    overflow: hidden; 
}

.vendor-logo { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.5s ease; 
}

.vendor-card:hover .vendor-logo { 
    transform: scale(1.05); 
}

.vendor-overlay { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.5); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    opacity: 0; 
    transition: opacity 0.3s ease; 
}

.vendor-card:hover .vendor-overlay { 
    opacity: 1; 
}

.view-store-btn { 
    display: inline-block; 
    padding: 10px 20px; 
    background-color: white; 
    color: #333; 
    border-radius: 30px; 
    text-decoration: none; 
    font-weight: 600; 
    transform: translateY(20px); 
    transition: all 0.3s ease; 
}

.vendor-card:hover .view-store-btn { 
    transform: translateY(0); 
}

.vendor-info { 
    padding: 10px; 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
}

.vendor-name { 
    font-size: 1.3rem; 
    font-weight: 700; 
    margin-bottom: 5px; 
    color: #333; 
}

.vendor-category { 
    display: inline-block; 
    padding: 4px 10px; 
    background-color: #f0f4ff; 
    color: #19142f !important; 
    border-radius: 20px; 
    font-size: 0.8rem; 
    margin-bottom: 15px; 
}


.stat-item { 
    display: flex; 
    align-items: center; 
    margin-bottom: 5px; 
    color: #666; 
}

.stat-item i { 
    margin-right: 8px; 
    color: #19142f !important; 
}

.vendor-contacts { 
    margin-top: auto; 
}

.contact-item { 
    display: flex; 
    align-items: center; 
    color: #666; 
    text-decoration: none; 
    margin-bottom: 2px; 
    transition: color 0.3s ease; 
}

.contact-item:hover { 
    color: #19142f !important; 
}

.contact-item i { 
    margin-right: 8px; 
    width: 16px; 
}

.load-more-btn { 
    display: inline-block; 
    padding: 12px 30px; 
    background-color: #19142f !important; 
    color: white; 
    border: none; 
    border-radius: 30px; 
    font-weight: 600; 
    cursor: pointer; 
    transition: all 0.3s ease; 
}

.load-more-btn:hover { 
    background-color: #eb8023; 
    transform: translateY(-3px); 
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3); 
}

.section-title { 
    font-size: 2.5rem; 
    font-weight: 700; 
    color: #333; 
    margin-bottom: 1rem; 
}

.section-subtitle { 
    font-size: 1.1rem; 
    color: #666; 
    max-width: 700px; 
    margin: 0 auto; 
}

/* Carousel */
.carousel-indicators button { 
    width: 12px; 
    height: 12px; 
    border-radius: 50%; 
    margin: 0 5px; 
    background-color: rgba(255,255,255,0.5); 
    border: 2px solid white; 
    transition: all 0.3s ease; 
}

.carousel-indicators button.active { 
    background-color: white; 
    transform: scale(1.2); 
}

.carousel-control-prev, .carousel-control-next { 
    opacity: 0; 
    transition: opacity 0.3s ease; 
    width: 60px; 
    height: 60px; 
    background: transparent !important; 
    border: none; 
    top: 50%; 
    transform: translateY(-50%); 
    margin: 0; 
}

.vendor-hero-section:hover .carousel-control-prev, 
.vendor-hero-section:hover .carousel-control-next { 
    opacity: 1; 
}

.no-vendors-message { 
    grid-column: 1 / -1; 
}

.no-results { 
    text-align: center; 
    padding: 40px; 
    color: #6c757d; 
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    z-index: 1;
}


/* Responsive Design */
@media (max-width: 992px) { 
    .hero-title { font-size: 2.4rem; } /* Reduced from 2.8rem */
    .hero-subtitle { font-size: 1.1rem; } /* Reduced from 1.2rem */
    .vendor-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; } 
}

@media (max-width: 768px) { 
    .hero-slide { height: 320px; } /* Reduced from 500px */
    .hero-title { font-size: 2rem; } /* Reduced from 2.2rem */
    .hero-subtitle { font-size: 1rem; } 
    .vendor-filters { margin-top: 10px; } 
    .vendor-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 7px; } 
}

@media (max-width: 576px) { 
    .hero-slide { height: 280px; } /* Reduced from 450px */
    .hero-title { font-size: 1.6rem; } /* Reduced from 1.8rem */
    .vendor-search-input { padding: 10px 15px; } 
    .vendor-search-btn { padding: 0 15px; } 
    .vendor-grid { grid-template-columns: 1fr; } 
    .section-title { font-size: 2rem; } 
}