/* Vendors Page Styles */

/* Search Section Styles - Matching Home Page */
.search-section {
    position: relative;
    z-index: 10;
    margin-top: -60px;
    background: transparent;
    padding: 0;
}

.search-section .container {
    display: flex;
    justify-content: center;
    padding: 0 15px;
}

.search-form {
    background-color: white;
    border-radius: 10px;
    padding: 15px;
    margin-top: 0;
    max-width: 800px;
    width: 100%;
}

.search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: flex-end;
}

.search-group {
    flex: 1;
    min-width: 200px;
}

.search-label {
    display: block;
    font-size: 11px;
    color: white;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.search-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    appearance: none;
    background-color: rgba(255, 255, 255, 0.95);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23777' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 10px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s ease;
    color: #333;
}

.search-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 0, 128, 0.1);
}

.search-select:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background-color: white;
}

.search-form .form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    font-size: 13px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.95);
    color: #333;
}

.search-form .form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 0, 128, 0.1);
}

.search-form .form-control:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background-color: white;
}

.search-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 0, 128, 0.3);
}

.search-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 128, 0.4);
}

.search-button i {
    font-size: 16px;
}

@media (max-width: 768px) {
    .search-section {
        margin-top: -30px;
        padding: 0;
    }

    .search-section .container {
        padding: 0 10px;
    }

    .search-form {
        padding: 12px;
        margin-top: 0;
    }

    .search-row {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .search-group {
        min-width: 100%;
    }

    .search-button {
        margin-top: 0;
        width: 100%;
        border-radius: 5px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .search-section {
        margin-top: -20px;
        padding: 0;
    }

    .search-section .container {
        padding: 0 10px;
    }

    .search-form {
        padding: 10px;
        margin-top: 0;
    }

    .search-label {
        font-size: 10px;
    }

    .search-select,
    .search-form .form-control {
        padding: 7px 10px;
        font-size: 12px;
    }
}

.vendors-hero {
    background: linear-gradient(135deg, #1a0017 0%, #66003b 50%, #9b0465 100%);
    padding: 140px 0 100px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.vendors-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
}

/* Dynamic background image will be set via JavaScript from data-hero-image attribute */

.vendors-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.vendors-hero h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 25px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.vendors-hero h1 span {
    color: #ff0080;
}

.vendors-hero p {
    font-size: 1.4rem;
    opacity: 0.95;
    line-height: 1.6;
    margin-bottom: 0;
}

.vendors-section {
    padding: 80px 0;
    background: #000;
}

.vendors-section-title {
    text-align: center;
    color: white;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 50px;
}

.vendor-card {
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border-radius: 20px;
    overflow: hidden;
    border: 2px solid rgba(255, 0, 128, 0.2);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vendor-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.vendor-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 0, 128, 0.5);
    box-shadow: 0 10px 30px rgba(255, 0, 128, 0.2);
}

.vendor-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #1a1a1a;
}

.vendor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.vendor-card:hover .vendor-image img {
    transform: scale(1.1);
}

.vendor-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.vendor-name {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.vendor-type {
    display: inline-block;
    background: linear-gradient(135deg, #ff0080, #ff5e98);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.vendor-description {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.vendor-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: auto;
}

.view-details {
    color: #ff0080;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.vendor-card:hover .view-details {
    color: #ff5e98;
}

.vendor-link {
    color: #ff0080;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.vendor-link:hover {
    color: #ff5e98;
    text-decoration: none;
}

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

.social-link {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: linear-gradient(135deg, #ff0080, #ff5e98);
    transform: translateY(-3px);
    color: white;
    text-decoration: none;
}

.no-vendors {
    text-align: center;
    padding: 60px 20px;
    color: #aaa;
    font-size: 1.2rem;
}

.pagination-wrapper {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.pagination-wrapper .pagination {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 10px;
}

.pagination-wrapper .pagination .page-link {
    background: transparent;
    border: 1px solid rgba(255, 0, 128, 0.3);
    color: white;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 5px;
}

.pagination-wrapper .pagination .page-link:hover {
    background: rgba(255, 0, 128, 0.2);
    border-color: #ff0080;
    color: white;
}

.pagination-wrapper .pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #ff0080, #ff5e98);
    border-color: #ff0080;
    color: white;
}

@media (max-width: 768px) {
    .vendors-hero {
        padding: 120px 0 80px;
    }

    .vendors-hero h1 {
        font-size: 2.5rem;
    }

    .vendors-hero p {
        font-size: 1.1rem;
    }

    .vendors-section {
        padding: 60px 0;
    }

    .vendors-section-title {
        font-size: 2rem;
    }
}

