/*
==========================================================================
 PASSION AUTO 85 — Styles de l'en-tête (header)
 Ce fichier regroupe tous les styles de l'en-tête principal, logo, branding,
 animation, responsive, etc. pour l'ensemble du site.
 Pour toute question, référez-vous à la documentation du projet.
 Dernière mise à jour : 27/12/2025 | Auteur : 0xcyberlitech
==========================================================================
*/

/* ===================================================================== */
/* PASSION AUTO 85 — Feuille de style : header.css                       */
/* --------------------------------------------------------------------- */
/* Description :                                                         */
/*   Styles CSS pour l’en-tête (header) du site BMW Passion Auto 85.     */
/*   Gère la structure, le branding, le responsive, les effets visuels,  */
/*   etc. À utiliser pour personnaliser l’apparence de l’en-tête sur     */
/*   tout le site.                                                       */
/* --------------------------------------------------------------------- */
/* Structure :                                                           */
/*   1. Structure générale et layout du header                           */
/*   2. Branding, titres, logo                                           */
/*   3. Navigation principale et liens                                   */
/*   4. Effets visuels et animations                                     */
/*   5. Media queries et responsive                                      */
/* --------------------------------------------------------------------- */
/* Auteur : 0xcyberlitech                                                */
/* Date de création : 24/12/2025                                         */
/* Dernière modification : 29/12/2025                                    */
/* ===================================================================== */

/* ===================================================================== */
/* 1. STRUCTURE GÉNÉRALE ET LAYOUT DU HEADER                             */
/*    Structure globale, containers, marges, etc.                        */
/* ===================================================================== */

/* Bloc principal de l'en-tête (header) */
.main-header {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 2rem 0;
  background: transparent;
  opacity: 0;
  animation: headerFadeIn 1.1s cubic-bezier(0.4, 0, 0.2, 1) 0.2s forwards;
}
/* Animation d'apparition de l'en-tête */
@keyframes headerFadeIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* Conteneur interne de l'en-tête */
.header-container {
  width: 100%;
  height: 100%;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 2;
}
/* Section du logo dans l'en-tête */
.logo-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
  margin-bottom: 2rem;
}
/* Effet hover sur la section logo */
.logo-section:hover {
  background: linear-gradient(
      45deg,
      transparent 23%,
      rgba(30, 144, 255, 0.2) 25%,
      rgba(0, 212, 255, 0.15) 27%,
      rgba(30, 144, 255, 0.2) 29%,
      transparent 31%
    ),
    repeating-linear-gradient(
      30deg,
      rgba(0, 0, 0, 0.5) 0px,
      rgba(0, 0, 0, 0.5) 1px,
      rgba(80, 80, 80, 0.3) 1px,
      rgba(80, 80, 80, 0.3) 3px
    ),
    repeating-linear-gradient(
      -30deg,
      rgba(0, 0, 0, 0.4) 0px,
      rgba(0, 0, 0, 0.4) 1px,
      rgba(70, 70, 70, 0.25) 1px,
      rgba(70, 70, 70, 0.25) 3px
    ),
    linear-gradient(
      135deg,
      rgba(45, 45, 45, 0.9) 0%,
      rgba(35, 35, 35, 0.95) 50%,
      rgba(25, 25, 25, 1) 100%
    );
  border-image: linear-gradient(
      45deg,
      rgba(30, 144, 255, 0.6),
      rgba(0, 212, 255, 0.4),
      rgba(30, 144, 255, 0.6)
    )
    1;
  transform: translateY(-2px);
  box-shadow: 0 4px 25px rgba(30, 144, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
/* Bloc texte de la marque à côté du logo */
.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-start;
  margin-left: 15px;
  position: relative;
}
/* Nom de la marque (titre principal) */
.brand-name {
  font-family: var(--font-primary);
  font-size: 1.7rem;
  font-weight: 900;
  background: linear-gradient(
    135deg,
    var(--bmw-blue) 0%,
    #1e90ff 50%,
    #4169e1 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 15px rgba(30, 144, 255, 0.4);
  letter-spacing: 3px;
  line-height: 0.95;
  transition: all 0.4s ease;
  text-transform: uppercase;
}
/* Effet hover sur le nom de la marque */
.brand-name:hover {
  background: linear-gradient(135deg, #1e90ff 0%, #4169e1 50%, #0066cc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transform: translateX(3px) scale(1.02);
  filter: drop-shadow(0 0 10px rgba(30, 144, 255, 0.6));
}
/* Sous-titre de la marque */
.brand-subtitle {
  font-size: 0.7rem;
  color: #e0e0e0;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-top: -4px;
  font-family: var(--font-secondary);
  opacity: 0.8;
  transition: all 0.3s ease;
  position: relative;
}
/* Ligne décorative avant le sous-titre */
.brand-subtitle::before {
  content: "";
  position: absolute;
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bmw-blue), transparent);
  top: -8px;
  left: 0;
}
/* Effet hover sur le sous-titre */
.brand-subtitle:hover {
  color: #fff;
  opacity: 1;
  letter-spacing: 6px;
  transform: translateX(2px);
}

/* ===================================================================== */
/* 2. BRANDING, TITRES, LOGO                                             */
/*    Styles pour branding, titres, logo du header                       */
/* ===================================================================== */

/* ...existing code... */

/* ===================================================================== */
/* 3. NAVIGATION PRINCIPALE ET LIENS                                     */
/*    Styles pour la navigation principale et les liens                  */
/* ===================================================================== */

/* ...existing code... */

/* ===================================================================== */
/* 4. EFFETS VISUELS ET ANIMATIONS                                       */
/*    Effets visuels et animations du header                             */
/* ===================================================================== */

/* ...existing code... */

/* ===================================================================== */
/* 5. MEDIA QUERIES ET RESPONSIVE                                        */
/*    Adaptation du header pour chaque écran                             */
/* ===================================================================== */

/* ...existing code... */

/* === Styles fusionnés depuis content-header.css === */
.header-main-title {
  display: none !important;
}

@media (max-width: 700px), (min-width: 701px) {
  .header-main-title {
    display: none !important;
  }
}
