/*
Theme Name: Genesis Africa Events
Theme URI: https://afrikevent.ovh
Description: Thème WordPress complet pour Genesis Africa Events - Répertoire des providers événementiels africains
Version: 1.0
Author: Genesis
Author URI: https://afrikevent.ovh
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: genesis-africa-events
Domain Path: /languages

Genesis Africa Events is a custom WordPress theme designed for event management
across 6 African cities with B2B client integration.
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

body {
    background: #f9f9f9;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.site-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    font-weight: 700;
}

.site-header p {
    font-size: 1.1em;
    opacity: 0.95;
}

/* Container */
.genesis-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Main Content */
.main-content {
    background: white;
    border-radius: 8px;
    padding: 40px;
    margin: 30px auto;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Tabs Navigation - Cities */
.genesis-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.tab-btn {
    padding: 12px 24px;
    background: #f0f0f0;
    border: 2px solid transparent;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn:hover {
    background: #FF6B35;
    color: white;
    transform: translateY(-2px);
}

.tab-btn.active {
    background: #FF6B35;
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

/* Statistics Section */
.stats-section {
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #f9f9f9 0%, #f5f5f5 100%);
    border-radius: 12px;
    border-left: 4px solid #FF6B35;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    max-width: 100%;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.15);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2.5em;
    font-weight: 700;
    color: #FF6B35;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 0.95em;
    color: #666;
    font-weight: 500;
}

/* Breakdown Section */
.breakdown-section {
    margin-top: 30px;
}

.breakdown-section h3 {
    font-size: 1.3em;
    color: #FF6B35;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #F7931E;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border-radius: 6px;
    border-left: 3px solid #F7931E;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.city-name {
    font-weight: 600;
    color: #333;
}

.breakdown-item .count {
    background: #FF6B35;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9em;
}

/* Category Tabs */
.category-tabs {
    margin-bottom: 30px;
}

.category-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 15px 0;
    border-bottom: 2px solid #f0f0f0;
    max-width: 100%;
}

.category-tab-btn {
    padding: 10px 12px;
    background: #f5f5f5;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85em;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-align: center;
    white-space: nowrap;
}

.count-badge {
    background: #ddd;
    color: #666;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.8em;
    font-weight: 700;
}

.category-tab-btn:hover {
    background: #F7931E;
    color: white;
    border-color: #F7931E;
    transform: translateY(-1px);
}

.category-tab-btn:hover .count-badge {
    background: rgba(255,255,255,0.3);
    color: white;
}

.category-tab-btn.active {
    background: #FF6B35;
    color: white;
    border-color: #FF6B35;
    font-weight: 700;
}

.category-tab-btn.active .count-badge {
    background: rgba(255,255,255,0.3);
    color: white;
}

/* Category Sections */
.category-section {
    margin-bottom: 50px;
}

.category-section h2 {
    font-size: 1.8em;
    color: #FF6B35;
    margin-top: 30px;
    margin-bottom: 25px;
    border-bottom: 3px solid #F7931E;
    padding-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Provider Grid */
.genesis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* Provider Cards */
.provider-card-link {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.provider-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.provider-card-link:hover .provider-card {
    border-color: #FF6B35;
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.25);
    transform: translateY(-6px);
}

.provider-card h3 {
    color: #FF6B35;
    font-size: 1.3em;
    margin-bottom: 15px;
    margin-top: 0;
}

.provider-card p {
    margin: 10px 0;
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
}

.provider-card .label {
    font-weight: 600;
    color: #333;
}

.provider-card .value {
    color: #666;
}

/* Rating Stars */
.provider-card .rating {
    color: #F7931E;
    font-weight: bold;
    margin-top: 10px;
}

.provider-card .price {
    background: #f5f5f5;
    padding: 8px 12px;
    border-radius: 5px;
    color: #FF6B35;
    font-weight: 600;
    margin-top: 10px;
    display: inline-block;
}

/* B2B Clients */
.b2b-card {
    background: linear-gradient(135deg, #f9f9f9 0%, #f5f5f5 100%);
}

.b2b-card h3 {
    color: #1a1a1a;
    font-size: 1.3em;
}

.b2b-card::before {
    content: "💼";
    margin-right: 10px;
    font-size: 1.3em;
}

/* Footer */
.site-footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 50px;
}

.site-footer p {
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .category-nav {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .site-header h1 {
        font-size: 2em;
    }

    .genesis-tabs {
        gap: 8px;
    }

    .tab-btn {
        padding: 10px 16px;
        font-size: 0.9em;
    }

    .main-content {
        padding: 20px;
    }

    .genesis-grid {
        grid-template-columns: 1fr;
    }

    .provider-card {
        padding: 15px;
    }

    .category-section h2 {
        font-size: 1.4em;
    }
    
    .category-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .category-tab-btn {
        padding: 8px 10px;
        font-size: 0.8em;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .breakdown-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .site-header {
        padding: 20px 15px;
    }

    .site-header h1 {
        font-size: 1.6em;
    }

    .genesis-tabs {
        gap: 5px;
    }

    .tab-btn {
        padding: 8px 12px;
        font-size: 0.85em;
    }

    .main-content {
        padding: 15px;
        margin: 15px auto;
    }
    
    .category-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 4px;
    }
    
    .category-tab-btn {
        padding: 6px 8px;
        font-size: 0.75em;
        border-radius: 4px;
    }
    
    .count-badge {
        padding: 1px 4px;
        font-size: 0.7em;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .stat-number {
        font-size: 2em;
    }
    
    .stat-label {
        font-size: 0.8em;
    }
}

/* Loading and empty states */
.loading {
    text-align: center;
    padding: 40px;
    font-size: 1.1em;
    color: #666;
}

.no-data {
    text-align: center;
    padding: 40px;
    background: #f5f5f5;
    border-radius: 8px;
    color: #999;
}

/* Print styles */
@media print {
    .genesis-tabs,
    .site-footer {
        display: none;
    }
}
