/* ======================================= */
/* ==       MODERN VENDORS PAGE         == */
/* ======================================= */

:root {
    --primary-color: #6a1b9a;
    --border-color: #e5e7eb;
    --light-bg: #f9fafb;
    --text-primary: #111827;
    --text-secondary: #6b7280;
}
body{
    background-color: #fff;
}
/* -- Page Header Section -- */
.vendors-page-header {
    background-color: #333; /* Dark background color */
    background-image: url('../images/vendor-bg.jpg'); /* <<<< صورة خلفية افتراضية */
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 6rem 0;
    position: relative;
    clip-path: ellipse(120% 100% at 50% 0%); /* The curved shape */
}

.vendors-page-header::before { /* Overlay for better text readability */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(18, 17, 23, 0.7);
    z-index: 1;
}

.vendors-page-header .container {
    position: relative;
    z-index: 2;
}

.vendors-page-header h1 {
    font-size: 3rem;
    font-weight: 800;
}


/* -- Vendor Card Styling -- */
.vendors-grid {
    margin-top: -80px; /* Overlap with the header for a modern effect */
    position: relative;
    z-index: 3;
}
.vendor-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background-color: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
}

.vendor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.vendor-logo {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
    flex-shrink: 0;
    border: 3px solid #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.vendor-info .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.vendor-info .card-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}