/* Ezidi.fr - Basic Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #7c3aed;
    --video-color: #dc2626;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-gray: #f3f4f6;
    --border-color: #e5e7eb;
    --success-color: #10b981;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-gray);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.2s;
}

.main-nav a:hover {
    color: var(--primary-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-video {
    background: var(--video-color);
    color: white;
}

.btn-video:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-video-large {
    font-size: 1.125rem;
    padding: 1rem 2rem;
}

.btn-secondary {
    background: var(--primary-color);
    color: white;
}

.btn-secondary:hover {
    background: #1d4ed8;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.hero-content {
    text-align: center;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.video-cta-prominent {
    margin-top: 2rem;
}

.video-cta-subtitle {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Featured Video Section */
.featured-video-section {
    padding: 2rem 0;
    background: white;
    margin-bottom: 2rem;
}

.featured-video-card {
    display: grid;
    grid-template-columns: 80px 1fr 300px;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: var(--bg-gray);
    border-radius: 1rem;
    border: 2px solid var(--video-color);
}

.featured-video-icon {
    font-size: 3rem;
    text-align: center;
}

.featured-video-content h2 {
    margin-bottom: 0.5rem;
    color: var(--video-color);
}

.featured-video-thumbnail {
    background: var(--bg-gray);
    border-radius: 0.5rem;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.featured-video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: var(--border-color);
    color: var(--text-light);
}

.video-placeholder span:first-child {
    font-size: 2rem;
}

/* Listings Section */
.listings-section {
    background: white;
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.listings-section h2 {
    margin-bottom: 0.5rem;
}

.section-intro {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.listings-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
}

.listings-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.listings-table th {
    background: var(--bg-gray);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
}

.listings-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.listing-row.featured {
    background: #fef3c7;
}

.business-name {
    font-weight: 600;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.badge-verified {
    background: var(--success-color);
    color: white;
}

.badge-video {
    background: var(--video-color);
    color: white;
}

.stars {
    color: #f59e0b;
    font-weight: 600;
}

.after-table-cta {
    text-align: center;
    padding: 2rem;
    background: var(--bg-gray);
    border-radius: 0.5rem;
    margin-top: 2rem;
}

.after-table-cta p {
    margin-bottom: 1rem;
}

/* Services Section */
.services-section {
    padding: 3rem 0;
    background: var(--bg-gray);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.service-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.service-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--video-color);
    font-weight: 600;
    text-decoration: none;
}

.service-link:hover {
    text-decoration: underline;
}

/* Nearby Cities */
.nearby-cities-section {
    padding: 3rem 0;
    background: white;
}

.nearby-cities-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.nearby-cities-list a {
    display: block;
    padding: 1rem;
    background: var(--bg-gray);
    border-radius: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.nearby-cities-list a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateX(5px);
}

/* Content Section */
.content-section {
    padding: 3rem 0;
    background: white;
}

.content-section h2, .content-section h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

/* Footer */
.site-footer {
    background: var(--text-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

.footer-video-link {
    color: var(--video-color);
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255,255,255,0.6);
}

.footer-bottom a {
    color: rgba(255,255,255,0.8);
}

/* Departments Grid (Homepage) */
.departments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.department-section {
    background: var(--bg-gray);
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.department-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.city-count {
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: normal;
}

.see-more {
    margin-top: 0.5rem;
    color: var(--text-light);
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .featured-video-card {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .listings-table {
        font-size: 0.875rem;
    }

    .departments-grid {
        grid-template-columns: 1fr;
    }
}
