/* ==========================================================================
   NOTABILITÉ AFRIQUE - STYLES PRINCIPAUX
   ========================================================================== */

:root {
    --primary-color: #0B1F3A;
    --primary-light: #163660;
    --accent-red: #C62828;
    --accent-red-hover: #a31e1e;
    --accent-gold: #D4AF37;
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --bg-light: #F8FAFC;
    --bg-card: #FFFFFF;
    --border-color: #E2E8F0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
    --transition: all 0.25s ease-in-out;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-red);
}

/* --------------------------------------------------------------------------
   TOPBAR
   -------------------------------------------------------------------------- */
.site-topbar {
    background: #061325;
    color: #94A3B8;
    font-size: 0.82rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.site-topbar a {
    color: #CBD5E1;
}

.site-topbar a:hover {
    color: #FFFFFF;
}

.site-topbar .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    margin-left: 6px;
    font-size: 0.8rem;
    transition: var(--transition);
}

.site-topbar .social-links a:hover {
    background: var(--accent-red);
    color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   MAIN HEADER (LOGO + SEARCH + CTA)
   -------------------------------------------------------------------------- */
.main-header {
    background: #FFFFFF;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

.brand-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-icon-box {
    width: 46px;
    height: 46px;
    background: linear-gradient(135deg, var(--accent-red) 0%, #8B0000 100%);
    color: #FFFFFF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    box-shadow: 0 4px 10px rgba(198, 40, 40, 0.35);
}

.brand-text-box h1 {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1.1;
    color: var(--primary-color);
}

.brand-text-box h1 span {
    color: var(--accent-red);
}

.brand-text-box .tagline {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-weight: 600;
}

.header-search-form {
    position: relative;
    max-width: 480px;
    width: 100%;
}

.header-search-form input {
    border-radius: 50px;
    padding-left: 20px;
    padding-right: 50px;
    height: 44px;
    border: 1px solid #CBD5E1;
    font-size: 0.9rem;
    background: #F8FAFC;
}

.header-search-form input:focus {
    background: #FFFFFF;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(11, 31, 58, 0.1);
}

.header-search-form button {
    position: absolute;
    right: 4px;
    top: 4px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: var(--primary-color);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.header-search-form button:hover {
    background: var(--accent-red);
}

.btn-post-ad {
    background: linear-gradient(135deg, var(--accent-red) 0%, #D32F2F 100%);
    color: #FFFFFF !important;
    border-radius: 50px;
    padding: 9px 20px;
    font-weight: 600;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(198, 40, 40, 0.25);
    border: none;
    transition: var(--transition);
}

.btn-post-ad:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(198, 40, 40, 0.35);
    background: linear-gradient(135deg, #a31e1e 0%, var(--accent-red) 100%);
}

/* --------------------------------------------------------------------------
   NAVBAR
   -------------------------------------------------------------------------- */
.main-navbar {
    background: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.main-navbar .navbar-nav .nav-link {
    color: #E2E8F0;
    font-size: 0.92rem;
    font-weight: 600;
    padding: 13px 14px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    transition: var(--transition);
}

.main-navbar .navbar-nav .nav-link:hover,
.main-navbar .navbar-nav .nav-link.active {
    color: #FFFFFF;
    background: rgba(255,255,255,0.08);
}

.main-navbar .navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-red);
}

.main-navbar .dropdown-menu {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    margin-top: 0;
}

.main-navbar .dropdown-item {
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 18px;
    color: var(--text-dark);
}

.main-navbar .dropdown-item:hover {
    background: #F1F5F9;
    color: var(--accent-red);
}

/* --------------------------------------------------------------------------
   BREAKING NEWS TICKER
   -------------------------------------------------------------------------- */
.breaking-news-bar {
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    padding: 6px 0;
}

.breaking-label {
    background: var(--accent-red);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.76rem;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.breaking-ticker {
    overflow: hidden;
    white-space: nowrap;
}

.breaking-ticker a {
    font-size: 0.88rem;
    color: var(--text-dark);
    font-weight: 600;
}

.breaking-ticker a:hover {
    color: var(--accent-red);
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    background: #071324;
    color: #E2E8F0;
    margin-top: 60px;
    border-top: 4px solid var(--accent-red);
}

.footer-top {
    padding: 50px 0 35px;
}

.footer-widget-title {
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--accent-red);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #CBD5E1;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: #FFFFFF;
    transform: translateX(4px);
}

.footer-newsletter input {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    color: #FFFFFF;
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.88rem;
}

.footer-newsletter input::placeholder {
    color: #64748B;
}

.footer-newsletter input:focus {
    background: rgba(255,255,255,0.12);
    border-color: var(--accent-red);
    color: #FFFFFF;
    box-shadow: none;
}

.footer-newsletter button {
    background: var(--accent-red);
    color: #FFFFFF;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-newsletter button:hover {
    background: #a31e1e;
}

.footer-bottom {
    background: #040B15;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.82rem;
    color: #94A3B8;
}

.footer-bottom a {
    color: #CBD5E1;
}

.footer-bottom a:hover {
    color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   HOMEPAGE CLASSIFIEDS SECTION & HORIZONTAL SLIDER
   -------------------------------------------------------------------------- */
.home-classifieds-section {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
}

.classifieds-slide-track::-webkit-scrollbar {
    display: none;
}

.classifieds-slide-track {
    -ms-overflow-style: none;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
}

.classified-slide-card {
    flex: 0 0 270px;
    width: 270px;
    scroll-snap-align: start;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.classified-slide-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.1) !important;
}

.article-slide-card {
    flex: 0 0 280px;
    width: 280px;
    scroll-snap-align: start;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: #FFFFFF;
}

.article-slide-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 18px rgba(0,0,0,0.09) !important;
}


.btn-slide-nav {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cbd5e1;
    background: #FFFFFF;
    color: #1e293b;
    transition: all 0.2s ease;
}

.btn-slide-nav:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
    color: #FFFFFF;
}

.category-chip {
    transition: all 0.2s ease;
    background: #f8fafc;
    color: #334155;
    border: 1px solid #e2e8f0;
}

.category-chip:hover {
    background: var(--primary-color);
    color: #FFFFFF !important;
    border-color: var(--primary-color);
}


