/* Vendors Hero Section */
.vendors-hero {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    padding: 80px 20px;
    text-align: center;
    color: white;
}

.vendors-hero .hero-icon {
    font-size: 60px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

.vendors-hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.vendors-hero p {
    font-size: 20px;
    opacity: 0.95;
}

/* Vendors Section */
.vendors-section {
    padding: 80px 20px;
    background: var(--bg-light);
}

/* Vendors Grid */
.vendors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Vendor Card */
.vendor-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    aspect-ratio: 1/1;
    text-decoration: none;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vendor-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.vendor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.vendor-card:hover::before {
    transform: scaleY(1);
}

/* Vendor Logo */
.vendor-logo {
    flex-shrink: 0;
    width: 220px;
    height: 220px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vendor-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vendor-logo-placeholder {
    font-size: 36px;
    color: var(--primary-color);
}

/* Vendor Info */
.vendor-info {
    flex: 1;
}

.vendor-info h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.vendor-meta {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.vendor-city {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    color: var(--text-secondary);
}

.vendor-city i {
    color: var(--primary-color);
}



/* No Vendors */
.no-vendors {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.no-vendors i {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.no-vendors p {
    font-size: 18px;
}

/* ============================================ */
/* Vendor Details Page */
/* ============================================ */

.vendor-details-section {
    padding: 60px 20px;
    background: var(--bg-light);
    min-height: calc(100vh - 200px);
}

/* Back Button */
.back-button-container {
    margin-bottom: 30px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: white;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.back-button:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

/* Vendor Details Header */
.vendor-details-header {
    background: white;
    border-radius: 20px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
}

.vendor-details-logo {
    flex-shrink: 0;
    width: 120px;
    height: 120px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vendor-details-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vendor-logo-placeholder-large {
    font-size: 60px;
    color: var(--primary-color);
}

.vendor-details-title h1 {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.vendor-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #d4edda;
    color: #155724;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

/* Vendor Info Grid */
.vendor-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 24px;
}

/* Info Card */
.info-card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.info-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.info-card.full-width {
    grid-column: 1 / -1;
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--bg-light);
}

.info-card-header i {
    font-size: 24px;
    color: var(--primary-color);
}

.info-card-header h3 {
    font-size: 20px;
    color: var(--text-primary);
}

.info-card-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Info Item */
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-item>i {
    font-size: 18px;
    color: var(--primary-color);
    margin-top: 4px;
    flex-shrink: 0;
}

.info-item>div {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.info-label {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.info-value {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 600;
}

.info-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.info-link:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Covered Cities */
.covered-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.city-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: linear-gradient(135deg, rgba(217, 48, 37, 0.1) 0%, rgba(193, 39, 31, 0.1) 100%);
    color: var(--primary-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid rgba(217, 48, 37, 0.2);
    transition: all 0.3s ease;
}

.city-badge:hover {
    background: linear-gradient(135deg, rgba(217, 48, 37, 0.2) 0%, rgba(193, 39, 31, 0.2) 100%);
    transform: translateY(-2px);
}

/* Services List */
.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-light);
    color: var(--text-primary);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.service-badge i {
    color: #28a745;
    font-size: 16px;
}

.service-badge:hover {
    border-color: var(--primary-color);
    background: white;
    transform: translateY(-2px);
}

/* Notes Text */
.notes-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
    padding: 20px;
    background: var(--bg-light);
    border-radius: 12px;
    border-right: 4px solid var(--primary-color);
}

/* Unified Vendor Details Card */
.vendor-unified-card {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.unified-logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid white;
    box-shadow: var(--shadow-sm);
    margin-bottom: 10px;
}

.unified-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.unified-info h1 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.unified-location {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 25px;
    background: var(--bg-light);
    padding: 8px 20px;
    border-radius: 50px;
}

.unified-location i {
    color: var(--primary-color);
}

.unified-notes {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-primary);
    max-width: 600px;
    margin: 0 auto;
}

/* Vendor Not Found */
.vendor-not-found {
    padding: 120px 20px;
    text-align: center;
}

.vendor-not-found i {
    font-size: 100px;
    color: var(--primary-color);
    margin-bottom: 30px;
    opacity: 0.5;
}

.vendor-not-found h2 {
    font-size: 32px;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.vendor-not-found p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .vendors-hero h1 {
        font-size: 32px;
    }

    .vendors-hero p {
        font-size: 16px;
    }

    .vendors-section {
        padding: 50px 15px;
    }

    .vendors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .vendor-card {
        padding: 20px;
    }

    .vendor-logo {
        width: 150px;
        height: 150px;
    }

    .vendor-details-section {
        padding: 30px 15px;
    }

    .vendor-details-header {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .vendor-details-title h1 {
        font-size: 28px;
    }

    .vendor-info-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .info-card {
        padding: 20px;
    }
}