/* GLOBAL STYLES
-------------------------------------------------- */
/* --- CONFIGURATION DU CAROUSEL --- */

#myCarousel {
    height: 100vh; /* Prend toute la hauteur de l'écran */
    margin-top: 0; /* Pour qu'il passe sous le header transparent */
}

.carousel-item {
    height: 100vh;
    background-color: #000;
}

.carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    min-width: 100%;
    height: 100vh;
    object-fit: cover; /* Empêche l'image d'être écrasée */
    opacity: 0.8;
}

/* Overlay dégradé pour le contraste du texte */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

/* --- TYPOGRAPHIE HERO --- */

.carousel-caption {
    z-index: 2;
    bottom: 20%; /* Remonte un peu le texte */
}

.carousel-caption h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
    margin-bottom: 1rem;
}

.carousel-caption h1 span {
    color: #3498db; /* Utilise ta couleur d'accentuation */
}

.carousel-caption p {
    font-family: 'Lora', serif;
    font-size: 1.25rem;
    max-width: 600px;
}

/* Alignement du paragraphe pour le text-end */
.carousel-caption.text-end p {
    margin-left: auto;
}

/* --- BOUTON PREMIUM --- */

.btn-premium {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 15px 35px;
    background-color: #3498db;
    border: none;
    color: white;
    border-radius: 0; /* Carré ou très peu arrondi pour le côté pro */
    transition: all 0.3s ease;
}

.btn-premium:hover {
    background-color: #ffffff;
    color: #2c3e50;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* --- INDICATEURS --- */
.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 8px;
}

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {
  /* Bump up size of carousel content */
  .carousel-caption p {
    margin-bottom: 1.25rem;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .featurette-heading {
    font-size: 50px;
  }
}

@media (min-width: 62em) {
  .featurette-heading {
    margin-top: 7rem;
  }
}
