/* ========================================= */
/* 1. TYPOGRAPHIE ET FOND GLOBAL             */
/* ========================================= */
body { 
    background-color: #0b0218; 
    color: #ffffff; 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    min-height: 100vh; 
    font-size: 0.9rem; 
}

/* ========================================= */
/* 2. HEADER CLASSIQUE (Sticky)              */
/* ========================================= */
.header-top { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 30px; 
    background-color: #0b0218; 
    z-index: 1000; 
}

/* Flexbox répartit l'espace : le centre sera parfaitement centré ! */
.header-left { flex: 1; display: flex; justify-content: flex-start; align-items: center; }
.header-center { flex: 2; display: flex; justify-content: center; width: 100%; }
.header-right { flex: 1; display: flex; justify-content: flex-end; align-items: center; }

/* Bouton Login et Icône Menu */
.login-btn { color: #ffffff; font-weight: bold; text-decoration: none; text-transform: uppercase; letter-spacing: 1px; font-size: 0.9rem; }
.login-btn:hover { color: #7fa1ff; }

.hamburger-icon { font-size: 2rem; color: #ffffff; cursor: pointer; transition: color 0.3s; }
.hamburger-icon:hover { color: #3b5bdb; }

.custom-dropdown-menu { background-color: #1a1a2e; border: 1px solid #3b5bdb; margin-top: 10px; }
.custom-dropdown-menu .dropdown-item { color: white; text-transform: uppercase; font-size: 0.85rem; font-weight: bold; letter-spacing: 1px; padding: 10px 20px; }
.custom-dropdown-menu .dropdown-item:hover { background-color: #2d2d44; color: #3b5bdb; }
.custom-dropdown-menu .dropdown-item.text-danger:hover { color: #ff6b7a !important; }

/* Badge Google Play agrandi (35px) */
.google-play-badge { height: 35px; transition: transform 0.2s ease-in-out; }
.google-play-badge:hover { transform: scale(1.05); }

/* ========================================= */
/* 3. BARRE DE RECHERCHE                     */
/* ========================================= */
.search-container-top { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 450px; }
.search-input-wrapper { position: relative; flex: 1; }
.search-input { width: 100%; padding: 8px 35px 8px 15px; border-radius: 4px; border: none; font-size: 0.9rem; background-color: white; color: #333; outline: none; }
.search-input:focus { box-shadow: 0 0 0 2px #3b5bdb; }

.clear-icon { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); color: #a0aec0; cursor: pointer; display: none; font-size: 1.1rem; transition: color 0.2s; }
.clear-icon:hover { color: #ff6b6b; }

.search-btn { background-color: #3b5bdb; color: white; border: none; border-radius: 4px; padding: 8px 20px; font-weight: bold; cursor: pointer; text-transform: uppercase; font-size: 0.8rem; height: 100%; min-height: 35px; display: flex; align-items: center; justify-content: center; min-width: 90px; }
.search-btn:hover { background-color: #2b45a2; }
.search-btn img { height: 26px; } 

/* ========================================= */
/* LOGO CENTRAL (Pages Contact, Analyses...) */
/* ========================================= */
.logo-header { 
    height: 45px; /* Modifiez cette valeur pour ajuster la taille (ex: 35px ou 50px) */
    width: auto;
    object-fit: contain; 
}

/* ========================================= */
/* 4. BADGE GOOGLE PLAY ET ILLUSTRATION      */
/* ========================================= */
.google-play-badge { height: 45px; transition: transform 0.2s ease-in-out; }
.google-play-badge:hover { transform: scale(1.05); }

.center-illustration { display: flex; flex-direction: column; align-items: center; justify-content: center; margin-top: 18vh; cursor: pointer; }
.center-illustration img { max-width: 300px; width: 100%; transition: transform 0.3s ease; }
.center-illustration:hover img { transform: scale(1.05); }
.random-search-hint { font-size: 0.85rem; color: #a0aec0; margin-top: 15px; font-style: italic; opacity: 0.8; transition: opacity 0.3s; }
.center-illustration:hover .random-search-hint { opacity: 1; color: #3b5bdb; }

/* ========================================= */
/* 5. CARTES ARTISTES ET NEWS                */
/* ========================================= */
#results-container, #news-container { display: none; background-color: rgba(0, 0, 0, 0.4); border-radius: 8px; padding: 30px; margin: 40px auto; max-width: 1200px; }
#news-container { display: block; } /* Visible par défaut sur la page News */

.search-title { text-align: center; text-transform: uppercase; font-weight: bold; font-size: 0.85rem; margin-bottom: 30px; letter-spacing: 1px;}
.page-title { text-align: center; text-transform: uppercase; font-weight: 900; font-size: 1.5rem; margin-bottom: 40px; letter-spacing: 2px; color: #ffffff; }

.artist-card { background-color: white; color: black; border-radius: 8px; padding: 15px; text-align: center; height: 100%; display: flex; flex-direction: column; align-items: center; max-width: 200px; margin: 0 auto; position: relative; }
.artist-name { font-weight: 900; font-size: 0.95rem; text-transform: uppercase; margin-bottom: 5px; }

/* Textes de la carte */
.booker-name { color: #3b5bdb; font-weight: bold; font-size: 0.8rem; text-transform: uppercase; margin-bottom: 10px; }
.booker-label { font-size: 0.7rem; text-transform: uppercase; color: #666; font-weight: bold; margin-bottom: -2px;}
.booker-contact { font-size: 0.75rem; color: #555; text-decoration: none; font-weight: bold;}
.booker-contact:hover { color: #3b5bdb; }
.news-date { font-size: 0.7rem; font-style: italic; color: #888888; margin-bottom: 12px; }

/* Boutons de la carte */
.btn-more-info { background-color: #b0b0b0; color: white; border: none; border-radius: 20px; padding: 4px 15px; font-size: 0.75rem; font-weight: bold; margin-bottom: 12px; cursor: pointer; transition: background-color 0.2s;}
.btn-more-info:hover { background-color: #3b5bdb; }

.btn-spotify { background-color: #1db954; color: white; border: none; border-radius: 20px; padding: 4px 15px; font-size: 0.75rem; font-weight: bold; text-decoration: none; transition: 0.2s;}
.btn-spotify:hover { background-color: #1ed760; color: white; transform: scale(1.05); }

/* ========================================= */
/* 6. POP-UPS (MODALS) ET FORMULAIRES        */
/* ========================================= */
.modal-content { background-color: #1a1a2e; color: white; border: 1px solid #3b5bdb; position: relative; }
.modal-header { border-bottom: 1px solid #3b5bdb; }

.form-control { background-color: #2d2d44; color: white; border: 1px solid #7fa1ff; font-size: 0.9rem; }
.form-control:focus { background-color: #2d2d44; color: white; border-color: #3b5bdb; box-shadow: none; }
.form-control::placeholder { color: #ffffff; opacity: 1; }

.btn-qd { background-color: #3b5bdb; color: white; border: none; }
.btn-qd:hover { background-color: #2b45a2; color: white; }

.auth-link { color: #a0aec0; text-decoration: none; cursor: pointer; transition: color 0.2s; }
.auth-link:hover { color: #3b5bdb; text-decoration: underline; }

/* Infos supplémentaires dans Pop-Up */
.social-icon-img { width: 35px; height: 35px; object-fit: contain; transition: transform 0.2s; }
.social-icon-img:hover { transform: scale(1.1); }

.concert-box { background-color: rgba(255,255,255,0.05); border: 1px solid rgba(59,91,219,0.3); border-radius: 8px; padding: 10px; margin-bottom: 10px; display: flex; align-items: center; text-align: left; text-decoration: none; color: white; transition: background 0.2s;}
.concert-box:hover { background-color: rgba(59,91,219,0.2); color: white; }
.concert-date-box { background-color: #3b5bdb; color: white; padding: 5px 10px; border-radius: 6px; font-weight: bold; margin-right: 15px; min-width: 60px; text-align: center; }
.concert-info { flex: 1; }
.concert-venue { font-weight: bold; margin-bottom: 2px; }
.concert-city { font-size: 0.8rem; color: #a0aec0; text-transform: uppercase; }

/* Loader d'attente (News et Images) */
.loader { border: 4px solid #f3f3f3; border-top: 4px solid #3b5bdb; border-radius: 50%; width: 40px; height: 40px; animation: spin 1s linear infinite; margin: 0 auto; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* ========================================= */
/* 7. ADAPTATION MOBILE (Responsive Design)  */
/* ========================================= */
@media (max-width: 768px) {
    .header-top { 
        flex-wrap: wrap; 
        padding: 15px 20px; 
    }
    
    .header-left { order: 1; flex: 1; }
    .header-right { order: 2; flex: 1; justify-content: flex-end; }
    
    .header-center { 
        flex: 1 1 100%; 
        order: 3; 
        margin-top: 15px; 
        width: 100%;
        box-sizing: border-box; 
    }
    
    .search-container-top { max-width: 100%; width: 100%; }
    .search-btn { min-width: 70px; padding: 8px 12px; }
    .google-play-badge { height: 30px; display: block !important; }
}

/* ========================================= */
/* 8. SPÉCIFIQUE PAGE JOBS                   */
/* ========================================= */

/* BOUTON POSTER ANNONCE */
.btn-post-job { background-color: #ff6b6b; color: white; border: none; font-weight: bold; padding: 10px 25px; border-radius: 25px; text-transform: uppercase; transition: transform 0.2s; margin: 0; }
.btn-post-job:hover { background-color: #ff4757; color: white; transform: scale(1.05); }

/* CARTES JOBS */
.job-card { background-color: white; color: black; border-radius: 8px; padding: 20px 15px; text-align: center; height: 100%; display: flex; flex-direction: column; align-items: center; max-width: 250px; margin: 0 auto; box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: transform 0.2s; }
.job-card:hover { transform: translateY(-5px); }
.company-logo-wrapper { width: 90px; height: 90px; border-radius: 50%; border: 3px solid #3b5bdb; background-color: #f8f9fa; display: flex; justify-content: center; align-items: center; overflow: hidden; margin-bottom: 15px; }
.company-logo { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.job-title-card { font-weight: 900; font-size: 1rem; text-transform: uppercase; margin-bottom: 5px; line-height: 1.2; color: #1a1a2e;}
.company-name-card { color: #3b5bdb; font-weight: bold; font-size: 0.85rem; text-transform: uppercase; margin-bottom: 10px; }
.job-location-card { font-size: 0.85rem; color: #a0aec0; font-weight: bold; margin-top: auto; }

/* DESIGN DE LA MODALE JOB INFO */
.job-info-section { background: rgba(255,255,255,0.03); border: 1px solid rgba(59,91,219,0.3); border-radius: 8px; padding: 20px; margin-bottom: 20px; text-align: left; }
.job-info-title { color: #7fa1ff; font-weight: bold; text-transform: uppercase; font-size: 0.9rem; margin-bottom: 10px; border-bottom: 1px solid #7fa1ff; padding-bottom: 5px; }
.job-tags-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; margin-bottom: 25px; }
.job-tag { background: #2d2d44; padding: 10px; border-radius: 8px; text-align: center; border: 1px solid #3b5bdb; }
.job-tag span { display: block; font-size: 0.75rem; color: #a0aec0; text-transform: uppercase; margin-bottom: 2px; }
.job-tag strong { color: white; font-size: 0.95rem; }
.btn-postuler { background-color: #28a745; color: white; border: none; padding: 12px; font-weight: bold; border-radius: 8px; text-transform: uppercase; letter-spacing: 1px; transition: background 0.3s; display: block; text-align: center; text-decoration: none; }
.btn-postuler:hover { background-color: #218838; color: white; }

/* Adaptation mobile spécifique pour le bouton poster un job */
@media (max-width: 576px) {
    .btn-post-job { padding: 6px 12px; font-size: 0.75rem; }
    .btn-post-job i { display: none; } 
}

/* ========================================= */
/* 9. SPÉCIFIQUE PAGE ANALYSES               */
/* ========================================= */

/* Conteneur principal */
#analyse-container { margin: 40px auto; max-width: 1200px; padding: 0 20px; }

/* Design des cartes articles */
.article-card { 
    background-color: #1a1a2e; 
    border: 1px solid #3b5bdb; 
    border-radius: 8px; 
    transition: transform 0.2s, box-shadow 0.2s; 
    overflow: hidden; 
    height: 100%; 
    display: flex; 
    flex-direction: column; 
}
.article-card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.5); 
}
.article-img { 
    width: 100%; 
    height: 180px; 
    object-fit: cover; 
    background-color: #2d2d44; 
}
.article-content { 
    padding: 20px; 
    display: flex; 
    flex-direction: column; 
    flex-grow: 1; 
}
.article-date { 
    font-size: 0.75rem; 
    color: #a0aec0; 
    font-style: italic; 
    margin-bottom: 8px; 
}
.article-title { 
    font-weight: 900; 
    font-size: 1.1rem; 
    color: #ffffff; 
    margin-bottom: 12px; 
    line-height: 1.3; 
}
.article-desc { 
    font-size: 0.85rem; 
    color: #cccccc; 
    margin-bottom: 20px; 
    flex-grow: 1; 
    line-height: 1.5; 
}

/* ========================================= */
/* 10. SPÉCIFIQUE PAGE CONTACT               */
/* ========================================= */

/* Conteneur principal */
#contact-container { margin: 40px auto; max-width: 600px; padding: 0 20px; }

/* Carte contenant le formulaire */
.contact-card { 
    background-color: #1a1a2e; 
    border: 1px solid #3b5bdb; 
    border-radius: 8px; 
    padding: 30px; 
}

/* Ajustement de la taille des champs et du bouton pour le contact */
.contact-card .form-control { padding: 12px; }
.contact-card .form-control:-ms-input-placeholder { color: #ffffff; }
.contact-card .form-control::-ms-input-placeholder { color: #ffffff; }
.contact-card .btn-qd { padding: 12px; transition: background 0.3s; }

/* Icônes géantes des réseaux sociaux */
.social-contact-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}
.social-contact-icon:hover {
    transform: scale(1.15) translateY(-3px);
}

/* ========================================= */
/* 11. SPÉCIFIQUE PAGE PRODUCTIONS           */
/* ========================================= */

.producer-row { background-color: #1a1a2e; border: 1px solid #3b5bdb; border-radius: 8px; padding: 20px; margin-bottom: 15px; transition: transform 0.2s, box-shadow 0.2s; display: flex; align-items: center; flex-wrap: wrap; gap: 20px; }
.producer-row:hover { transform: translateY(-3px); box-shadow: 0 8px 15px rgba(0,0,0,0.3); }

.producer-logo-wrapper { width: 80px; height: 80px; border-radius: 50%; border: 3px solid #7fa1ff; background-color: #2d2d44; overflow: hidden; flex-shrink: 0; display: flex; justify-content: center; align-items: center;}
.producer-logo-wrapper img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }

.producer-info { flex-grow: 1; min-width: 200px; }
.producer-name { font-size: 1.3rem; font-weight: 900; color: #ffffff; text-transform: uppercase; margin-bottom: 5px; }
.producer-roster-badge { background-color: #3b5bdb; color: white; padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; font-weight: bold; }

.producer-top-artists { display: flex; gap: -10px; flex-wrap: wrap; }
.artist-avatar-wrapper { position: relative; width: 50px; height: 50px; border-radius: 50%; border: 2px solid #1a1a2e; background-color: #2d2d44; margin-left: -15px; transition: transform 0.2s; overflow: hidden; display: flex; justify-content: center; align-items: center;}
.artist-avatar-wrapper:first-child { margin-left: 0; }
.artist-avatar-wrapper:hover { transform: scale(1.15); z-index: 10; border-color: #3b5bdb; }
.artist-avatar-img { width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.5s; }