/* ==========================================================================
   HOUSE OF CROWNS & CROWN MAGAZINE - GLOBAL NOIR & OR THEME
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
    --bg-main: #080808;
    --bg-card: #0e0e0e;
    --border-gold: rgba(212, 175, 55, 0.3);
    --gold-primary: #d4af37;
    --gold-light: #fcf6ba;
    --text-muted: #aaaaaa;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main) !important;
    color: #ffffff !important;
    font-family: 'Montserrat', sans-serif !important;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--gold-light);
}

/* Texte dégradé Or */
.gold-gradient-text {
    background: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ==========================================================================
   1. LANDING PAGE / HUB PRINCIPAL (index.php)
   ========================================================================== */

.header-hub {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #000000;
    border-bottom: 1px solid var(--border-gold);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-svg {
    width: 38px;
    height: 38px;
    fill: url(#gold-grad);
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.4));
}

.site-title {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.lang-selector select {
    background: #000000;
    color: var(--gold-primary);
    border: 1px solid var(--border-gold);
    padding: 6px 12px;
    border-radius: 3px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    outline: none;
    cursor: pointer;
}

/* Hero Section */
.hero-hub {
    text-align: center;
    padding: 80px 20px 60px 20px;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.08) 0%, rgba(8, 8, 8, 1) 70%);
}

.hero-hub h1 {
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-hub p {
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* Grille à 4 colonnes (2 lignes x 4 modules) */
.grid-hub {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
}

.card-site {
    background: var(--bg-card);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 4px;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-site:hover {
    transform: translateY(-5px);
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8), 0 0 15px rgba(212, 175, 55, 0.15);
}

.card-site h2 {
    font-family: 'Cinzel', serif;
    color: var(--gold-primary);
    font-size: 1.25rem;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.card-site p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* Boutons Hub */
.btn-gold {
    background: linear-gradient(135deg, #bf953f 0%, #fcf6ba 50%, #b38728 100%);
    color: #000000 !important;
    padding: 12px 28px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    display: inline-block;
    transition: opacity 0.3s ease;
}

.btn-gold:hover {
    opacity: 0.9;
}

.btn-outline-gold {
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary) !important;
    background: transparent;
    padding: 10px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn-outline-gold:hover {
    background: var(--gold-primary);
    color: #000000 !important;
}

/* Newsletter Section */
.newsletter-section {
    max-width: 800px;
    margin: 0 auto 80px auto;
    padding: 40px;
    background: #000000;
    border: 1px solid var(--border-gold);
    border-radius: 4px;
    text-align: center;
}

.form-newsletter {
    display: flex;
    gap: 15px;
    margin-top: 25px;
    justify-content: center;
}

.form-newsletter input {
    flex: 1;
    max-width: 450px;
    padding: 12px 18px;
    background: #080808;
    border: 1px solid #333333;
    color: #ffffff;
    border-radius: 2px;
    outline: none;
    font-family: 'Montserrat', sans-serif;
}

.form-newsletter input:focus {
    border-color: var(--gold-primary);
}

footer {
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.15);
    background: #000000;
    font-size: 0.85rem;
}

/* Responsive Hub Grid */
@media (max-width: 1200px) {
    .grid-hub { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-hub { grid-template-columns: 1fr; }
    .hero-hub h1 { font-size: 2rem; }
    .form-newsletter { flex-direction: column; }
    .header-hub { flex-direction: column; gap: 15px; text-align: center; }
}

/* ==========================================================================
   2. CROWN MAGAZINE - SYSTEME ECLAT
   ========================================================================== */

.eclat-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

.eclat-header {
    background: #000000;
    border-bottom: 1px solid var(--border-gold);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.eclat-nav-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.eclat-logo-brand {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff !important;
    letter-spacing: 2px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.eclat-nav-links {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.eclat-nav-links a {
    color: #cccccc !important;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.eclat-nav-links a:hover,
.eclat-nav-links a.active {
    color: var(--gold-primary) !important;
}

.eclat-header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-gold-outline {
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary) !important;
    background: transparent;
    padding: 8px 18px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.btn-gold-outline:hover {
    background: var(--gold-primary);
    color: #000000 !important;
}

.btn-gold-filled {
    background: linear-gradient(135deg, #bf953f 0%, #fcf6ba 50%, #b38728 100%);
    color: #000000 !important;
    padding: 10px 22px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    display: inline-block;
    border-radius: 2px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.btn-gold-filled:hover {
    opacity: 0.9;
}

.eclat-hero {
    margin: 30px 0 50px 0;
    background: #111111;
    border: 1px solid rgba(212, 175, 55, 0.2);
    padding: 35px;
    border-radius: 4px;
}

.eclat-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.eclat-hero-tag {
    color: var(--gold-primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.eclat-hero-title {
    font-family: 'Cinzel', serif;
    font-size: 2.3rem;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #ffffff;
}

.eclat-hero-excerpt {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.eclat-hero-image-wrapper {
    width: 100%;
    height: 380px;
    overflow: hidden;
    border-radius: 3px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.eclat-hero-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.eclat-hero-image-wrapper:hover img {
    transform: scale(1.03);
}

.eclat-content-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
}

.eclat-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #222222;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

.eclat-section-title {
    font-family: 'Cinzel', serif;
    color: var(--gold-primary);
    font-size: 1.3rem;
    letter-spacing: 1.5px;
    margin: 0;
}

.eclat-view-all {
    color: #888888;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.eclat-view-all:hover {
    color: var(--gold-primary);
}

.eclat-articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.eclat-card {
    background: #0d0d0d;
    border: 1px solid #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.eclat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(212, 175, 55, 0.4);
}

.eclat-card-img-wrap {
    width: 100%;
    height: 190px;
    overflow: hidden;
    position: relative;
}

.eclat-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.eclat-card-body {
    padding: 20px;
}

.eclat-card-cat {
    color: var(--gold-primary);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.eclat-card-title {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    line-height: 1.3;
    margin: 8px 0;
}

.eclat-card-meta {
    color: #666666;
    font-size: 0.75rem;
    margin-bottom: 10px;
}

.eclat-card-excerpt {
    color: #999999;
    font-size: 0.85rem;
    line-height: 1.4;
}

.eclat-sidebar-widget {
    background: #0d0d0d;
    border: 1px solid #1f1f1f;
    padding: 25px;
    border-radius: 4px;
    margin-bottom: 30px;
}

.eclat-trending-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eclat-trending-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #1a1a1a;
}

.eclat-trending-item:last-child {
    border-bottom: none;
}

.eclat-trending-num {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gold-primary);
    line-height: 1;
    min-width: 30px;
}

.eclat-trending-title {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
}

.eclat-trending-title:hover {
    color: var(--gold-primary);
}

.eclat-newsletter-box {
    background: linear-gradient(180deg, #141414 0%, #000000 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    text-align: center;
}

.eclat-newsletter-box h4 {
    font-family: 'Cinzel', serif;
    color: var(--gold-primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.eclat-newsletter-box p {
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.eclat-newsletter-input {
    width: 100%;
    padding: 12px;
    background: #000000;
    border: 1px solid #333333;
    color: #ffffff;
    border-radius: 2px;
    margin-bottom: 12px;
    font-size: 0.85rem;
    outline: none;
}

.eclat-newsletter-input:focus {
    border-color: var(--gold-primary);
}

.eclat-footer-banner {
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    background: #050505;
}

.eclat-banner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.eclat-banner-item i {
    font-size: 1.8rem;
    color: var(--gold-primary);
    margin-bottom: 15px;
}

.eclat-banner-item h5 {
    font-family: 'Cinzel', serif;
    color: #ffffff;
    font-size: 0.85rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.eclat-banner-item p {
    color: #777777;
    font-size: 0.75rem;
}

@media (max-width: 992px) {
    .eclat-hero-grid, .eclat-content-layout {
        grid-template-columns: 1fr;
    }
    .eclat-articles-grid, .eclat-banner-grid {
        grid-template-columns: 1fr;
    }
}