/* =========================
   GLOBAL – SITE COMPLET
========================= */

body{
  background: #0b0b0b;
  color: #e0e0e0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
}

a{
  text-decoration: none;
}

/* NAVBAR */
.navbar{
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

/* TITRES */
h1, h2, h3, h4{
  color: #ffffff;
}

h2{
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

/* =========================
   TITRES PRINCIPAUX
========================= */

.titre-principal{
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 2rem;
  text-shadow: 0 0 15px rgba(255,255,255,0.15);
}

/* =========================
   PAGES SPÉCIFIQUES
========================= */

/* ===== PAGE RONALDO ===== */
.page-ronaldo{
  background: #0b0b0b;
}

/* CARTES */
.page-ronaldo .card{
  background: #121212;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  transition: all 0.3s ease;
}

.page-ronaldo .card:hover{
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(255,193,7,0.25);
}

.page-ronaldo .card-title{
  color: #ffffff;
  font-size: 1.2rem;
}

.page-ronaldo .card-text{
  color: #d0d0d0;
  line-height: 1.6;
}

/* LISTES */
.page-ronaldo .list-group-item{
  background: #111;
  color: #e0e0e0;
  border: 1px solid rgba(255,255,255,0.1);
}

/* ALERT */
.page-ronaldo .alert{
  background: linear-gradient(135deg, #1a1a1a, #101010);
  border: 1px solid rgba(255,255,255,0.15);
  color: #eaeaea;
}

/* TITRES RONALDO */
.page-ronaldo h2{
  color: #ffc107;
  text-shadow: 0 0 8px rgba(255,193,7,0.25);
}

/* =========================
   FORMULAIRES (PAGE 4)
========================= */

form label{
  color: #cccccc;
}

form input,
form textarea,
form select{
  background: #111;
  border: 1px solid rgba(255,255,255,0.2);
  color: #ffffff;
}

form input:focus,
form textarea:focus,
form select:focus{
  background: #111;
  color: #fff;
  box-shadow: 0 0 0 0.15rem rgba(13,202,240,0.25);
}

/* =========================
   FOOTER
========================= */

footer{
  font-size: 0.9rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
/* =========================
   HERO – IMAGE DE FOND ACCUEIL
========================= */

.hero-bg{
  background:
    linear-gradient(
      rgba(11,11,11,0.75),
      rgba(11,11,11,0.9)
    ),
    url("../image/messi-ronaldo.avif"); /* CHANGE LE NOM SI BESOIN */

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Hauteur + centrage du contenu */
.hero-bg .container{
  min-height: 75vh;
  display: flex;
  align-items: center;
}

/* Lisibilité du texte */
.hero-bg h1,
.hero-bg p{
  text-shadow: 0 3px 15px rgba(0,0,0,0.9);
}

/* Responsive mobile */
@media (max-width: 768px){
  .hero-bg .container{
    min-height: 60vh;
  }
}
/* =========================
   CARROUSEL – STYLE PRO
========================= */

.carousel-custom {
  max-width: 1100px;        /* largeur max propre */
  margin: 40px auto;        /* centré */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}

/* hauteur fixe élégante */
.carousel-custom .carousel-item {
  height: 420px;
}

/* image bien cadrée */
.carousel-custom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* boutons plus visibles */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: drop-shadow(0 0 6px black);
}

/* indicateurs plus clean */
.carousel-indicators button {
  background-color: rgba(255,255,255,0.6);
}
.carousel-indicators .active {
  background-color: #ffc107;
}
/* =========================
   CARROUSEL – STYLE PRO
========================= */

.carousel-custom {
  max-width: 1100px;        /* largeur max propre */
  margin: 40px auto;        /* centré */
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}

/* hauteur fixe élégante */
.carousel-custom .carousel-item {
  height: 420px;
}

/* image bien cadrée */
.carousel-custom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* boutons plus visibles */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: drop-shadow(0 0 6px black);
}

/* indicateurs plus clean */
.carousel-indicators button {
  background-color: rgba(255,255,255,0.6);
}
.carousel-indicators .active {
  background-color: #ffc107;
}
/* =========================
   RESPONSIVE – TABLETTE
========================= */
@media (max-width: 992px){

  .titre-principal{
    font-size: 2.4rem;
    text-align: center;
  }

  h2{
    font-size: 1.6rem;
    text-align: center;
  }

  .hero-bg .container{
    min-height: 65vh;
    padding: 60px 20px;
  }

  .carousel-custom{
    max-width: 90%;
  }

  .carousel-custom .carousel-item{
    height: 340px;
  }
}

/* =========================
   RESPONSIVE – MOBILE
========================= */
@media (max-width: 768px){

  body{
    font-size: 0.95rem;
  }

  .titre-principal{
    font-size: 2rem;
  }

  h1{
    font-size: 2rem;
  }

  h2{
    font-size: 1.4rem;
  }

  /* HERO */
  .hero-bg .container{
    min-height: 55vh;
    text-align: center;
  }

  .hero-bg h1{
    font-size: 2.2rem;
  }

  /* CARROUSEL */
  .carousel-custom{
    max-width: 95%;
    margin: 20px auto;
  }

  .carousel-custom .carousel-item{
    height: 260px;
  }

  /* IMAGES */
  img{
    max-width: 100%;
    height: auto;
  }

  /* CARTES */
  .card{
    margin-bottom: 20px;
  }
}

/* =========================
   TRÈS PETITS ÉCRANS
========================= */
@media (max-width: 480px){

  .titre-principal{
    font-size: 1.8rem;
  }

  h2{
    font-size: 1.3rem;
  }

  .hero-bg h1{
    font-size: 1.9rem;
  }

  .carousel-custom .carousel-item{
    height: 220px;
  }
}
/* =========================
   FIX LISIBILITÉ TEXTE – PAGE RONALDO
========================= */

/* Fond sombre derrière le contenu principal */
.page-ronaldo main{
  background: rgba(11,11,11,0.85);
  padding: 40px;
  border-radius: 20px;
}

/* Forcer la couleur du texte */
.page-ronaldo p,
.page-ronaldo li{
  color: #e0e0e0;
}

/* Titres bien visibles */
.page-ronaldo h1,
.page-ronaldo h2,
.page-ronaldo h5{
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

/* Images full largeur plus propres */
.page-ronaldo img{
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
}
/* =========================
   FIX CARTES – PAGE MESSI
========================= */

/* Style sombre pour les cartes hors page Ronaldo */
.card{
  background: #121212;
  color: #e0e0e0;
  border: 1px solid rgba(255,255,255,0.15);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

/* Titres dans les cartes */
.card h5{
  color: #ffffff;
}

/* Listes dans les cartes */
.card ul{
  margin-top: 10px;
}

.card li{
  color: #d0d0d0;
}
