/* Vendor Directory Page Specific Styles */

.vendor-main {
    background: white;
}

.vendor-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.vendor-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.vendor-hero .lead {
    font-size: 1.3rem;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.vendor-search {
    margin-top: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.search-filters {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 20px;
    align-items: center;
}

.search-filters select,
.search-filters input {
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(10px);
}

.search-filters select:focus,
.search-filters input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.15);
}

.search-filters select option {
    background: #333;
    color: white;
}

.search-filters input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* Search and Filters */
.search-filters {
    padding: 60px 0;
    background: #f8f9fa;
}

.search-bar {
    max-width: 600px;
    margin: 0 auto 40px;
    position: relative;
}

.search-bar input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    font-size: 1rem;
    background: white;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    border-color: #667eea;
    outline: none;
    box-shadow: 0 0 0 3px rgba(102,126,234,0.1);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 12px 25px;
    background: white;
    border: 2px solid #e9ecef;
    border-radius: 25px;
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.filter-tab:hover,
.filter-tab.active {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
}

/* Vendor Grid */
.vendor-directory {
    padding: 80px 0;
}

.vendor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.vendor-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.vendor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.vendor-header {
    position: relative;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.vendor-logo {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #667eea;
    font-weight: bold;
}

.verified-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.vendor-info {
    padding: 30px;
}

.vendor-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.vendor-category {
    color: #667eea;
    font-weight: 500;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

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

.vendor-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #667eea;
    display: block;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.vendor-services {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.service-tag {
    background: #e9ecef;
    color: #666;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

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

.contact-btn {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102,126,234,0.3);
}

.contact-btn.secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.contact-btn.secondary:hover {
    background: #667eea;
    color: white;
}

/* Featured Vendor Section */
.featured-vendor {
    padding: 80px 0;
    background: #f8f9fa;
}

.featured-badge {
    text-align: center;
    margin-bottom: 40px;
}

.featured-badge {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vendor-profile-large {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: start;
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    margin-top: 40px;
}

@media (max-width: 1024px) {
    .vendor-profile-large {
        grid-template-columns: 250px 1fr;
        gap: 40px;
        padding: 40px;
    }
}

@media (max-width: 768px) {
    .vendor-profile-large {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
        text-align: center;
    }
    
    .vendor-image {
        max-width: 300px;
        margin: 0 auto;
    }
}

.vendor-image {
    position: relative;
}

.vendor-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.vendor-details h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: #333;
    font-weight: 700;
}

.vendor-category {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 15px;
}

.vendor-location {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 25px;
    font-weight: 500;
}

.vendor-description {
    margin-bottom: 40px;
}

.vendor-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
}

.vendor-description a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.vendor-description a:hover {
    text-decoration: underline;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.service-category h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.service-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-category li {
    padding: 8px 0;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
}

.service-category li:last-child {
    border-bottom: none;
}

.service-category a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.service-category a:hover {
    text-decoration: underline;
}

/* Vendor Highlights */
.vendor-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0ff 100%);
    border-radius: 15px;
    border: 1px solid rgba(102,126,234,0.1);
}

.highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: #333;
}

.highlight-icon {
    font-size: 1.2rem;
}

/* Vendor Contact */
.vendor-contact {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.vendor-contact .btn-primary,
.vendor-contact .btn-secondary {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.vendor-contact .btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border: none;
}

.vendor-contact .btn-secondary {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

.vendor-contact .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102,126,234,0.3);
}

.vendor-contact .btn-secondary:hover {
    background: #667eea;
    color: white;
}

/* Client Testimonial */
.client-testimonial {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.client-testimonial blockquote {
    margin: 0;
}

.client-testimonial p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

.client-testimonial cite {
    color: #667eea;
    font-weight: 600;
    font-style: normal;
}

/* Vendor Categories */
.vendor-categories {
    padding: 80px 0;
    background: #f8f9fa;
}

.vendor-categories h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: #333;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.category-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #667eea;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.category-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
}

.category-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.category-count {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

/* Featured Vendors */
.featured-vendors {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fff8 0%, #e8f5e8 100%);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.featured-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border-top: 4px solid #667eea;
}

.featured-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.featured-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #667eea;
}

.featured-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

.featured-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

.featured-count {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
}

/* Vendor Application Section */
.vendor-application {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.application-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.application-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 700;
}

.application-content > p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.application-requirements,
.application-benefits {
    background: white;
    padding: 40px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: left;
}

.application-requirements h3,
.application-benefits h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-align: center;
}

.application-requirements ul,
.application-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.application-requirements li,
.application-benefits li {
    color: #666;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
    font-size: 1rem;
}

.application-requirements li::before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.1rem;
}

.application-benefits li::before {
    content: '★';
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.1rem;
}

.application-content .btn-primary {
    margin-top: 30px;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Vendor Listings Section */
.vendor-listings {
    padding: 80px 0;
    background: #f8f9fa;
}

.vendor-listings h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
    font-weight: 700;
}

.card-content {
    padding: 25px;
}

.vendor-rating {
    color: #f39c12;
    font-weight: 600;
    margin: 15px 0;
    font-size: 0.95rem;
}

.vendor-link {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 10px;
}

.vendor-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(102, 126, 234, 0.3);
    text-decoration: none;
    color: white;
}

.load-more {
    text-align: center;
    margin-top: 50px;
    padding: 20px 0;
}

.load-more .btn-secondary {
    background: #6c757d;
    color: white;
    padding: 15px 30px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(108, 117, 125, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .vendor-hero h1 {
        font-size: 2.5rem;
    }
    
    .vendor-hero .lead {
        font-size: 1.1rem;
        padding: 0 20px;
    }
    
    .vendor-search {
        margin-top: 30px;
    }
    
    .search-filters {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .filter-tabs {
        gap: 10px;
    }
    
    .filter-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .vendor-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .vendor-stats {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .vendor-contact {
        flex-direction: column;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .vendor-hero {
        padding: 60px 0;
    }
    
    .vendor-hero h1 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .vendor-info {
        padding: 20px;
    }
    
    .search-bar {
        margin: 0 20px 40px;
    }
    
    .vendor-header {
        height: 150px;
    }
    
    .vendor-logo {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}
