/* 
    CHAF - Design System 2026
    Modern, Professional, and Historical
*/

:root {
    --primary-color: #0b162a; /* Bleu Nuit Profond */
    --secondary-color: #d4af37; /* Or / Doré */
    --accent-color: #e6d5b8; /* Beige Crème */
    --text-light: #f8f9fa;
    --text-muted: #a0a0a0;
    --card-bg: #ffffff;
    --navbar-bg: rgba(11, 22, 42, 0.95);
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-light);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, .navbar-brand, .nav-link {
    font-family: 'Playfair Display', serif;
}

/* --- Navigation --- */
.navbar {
    background-color: var(--navbar-bg) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-link {
    color: var(--accent-color) !important;
    font-size: 1.1rem;
    margin: 0 10px;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--text-light) !important;
}

/* --- Hero Banner --- */
.hero-banner {
    position: relative;
    padding: 160px 0 120px;
    background: linear-gradient(rgba(11, 22, 42, 0.3), rgba(11, 22, 42, 0.5)), url('images/chaf_bandeau.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    border-bottom: 2px solid var(--secondary-color);
}

.hero-banner h1 {
    font-size: 5rem;
    font-weight: 700;
    color: var(--text-light);
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
    margin-bottom: 1rem;
    letter-spacing: 4px;
}

.hero-banner p {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-style: italic;
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.8);
}

/* --- Main Content Section --- */
.section-title {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 40px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

/* --- Cards Design --- */
.revue-card {
    border: none !important;
    border-radius: 12px !important;
    background-color: var(--card-bg) !important;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
}

.revue-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3) !important;
}

.revue-card .card-img-top {
    transition: transform 0.6s ease;
}

.revue-card:hover .card-img-top {
    transform: scale(1.05);
}

.revue-card .card-body {
    padding: 1.5rem !important;
    background: #fff;
}

.revue-card .card-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.25rem;
}

.btn-revue {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-family: 'Source Sans Pro', sans-serif;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s;
}

.btn-revue:hover {
    background-color: var(--primary-color);
    color: white;
}

/* --- CTA Section (Buy issues) --- */
.cta-box {
    background-color: var(--accent-color);
    color: var(--primary-color);
    border-radius: 15px;
    border-left: 8px solid var(--secondary-color);
}

.btn-cta {
    background-color: var(--primary-color);
    color: var(--accent-color);
    border: none;
    padding: 12px 30px;
    font-size: 1.1rem;
    border-radius: 8px;
    transition: transform 0.2s, background-color 0.3s;
}

.btn-cta:hover {
    background-color: #1a2a44;
    color: #fff;
    transform: scale(1.05);
}

/* --- Modals --- */
.modal-content {
    background-color: var(--primary-color);
    color: var(--accent-color);
    border: 1px solid var(--secondary-color);
    border-radius: 15px;
}

.modal-header {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.modal-footer {
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

/* --- Footer --- */
footer {
    background-color: #050a14 !important;
    border-top: 2px solid var(--secondary-color);
}
