/* Section Hero */
.hero-section {
    height: 100vh;
    position: relative;
    color: #fff;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-section .content {
    z-index: 2;
    position: relative;
}

/* Header avec fond légèrement noir */
.transparent-header {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.8),
        rgba(0, 0, 0, 0.5) 60%,
        rgba(0, 0, 0, 0) 100%
    );
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 10;
    transition: background 0.3s;
}

.navbar-dark .nav-link {
    color: #fff;
    transition: color 0.3s;
}

.navbar-dark .nav-link.active {
    color: #e63946;
}

/* Couleur lorsqu'on défile */
.sticky-header {
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    z-index: 10;
    transition: background-color 0.3s;
}

/* Section Header */
h2 {
    font-weight: bold;
}

h2 .text-danger {
    font-size: 1.2rem;
}

/* Section Présentation */
.container .row {
    margin-top: 20px;
    margin-bottom: 20px;
}

.img-fluid {
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

h3.text-danger {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

h2.fw-bold {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* Cards Films */
.card {
    width: 12rem;
    height: 300px;
    transition: transform 0.3s;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 15px 15px 0 0;
}

.card .card-body {
    padding: 10px;
}

.card-body {
    padding: 10px;
    text-align: center;
    height: calc(100% - 200px);
}

.rounded-custom {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}



/* Section Coup de Cœur */
.bg-incline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e63946;
    clip-path: polygon(0 12%, 100% 28%, 100% 86%, 0 70%);
    z-index: 0;
}

/* Rendre le polygon rouge responsive */
@media (max-width: 768px) {
    .bg-incline {
        clip-path: polygon(0 15%, 100% 30%, 100% 85%, 0 65%);
    }
}

@media (max-width: 576px) {
    .bg-incline {
        clip-path: polygon(0 18%, 100% 35%, 100% 80%, 0 60%);
    }
}

.coup-de-coeur-section .container {
    position: relative;
    z-index: 1;
}

.coup-de-coeur-section .img-fluid {
    z-index: 3;
    max-width: 80%;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

h6 {
    font-size: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Cartes Actualités */
.actualite-card {
    width: 100%;
    max-width: 350px; /* Limite la largeur des cartes */
    margin: 0 auto; /* Centre les cartes */
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.actualite-card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.actualite-card .card-img-top {
    height: 200px; /* Hauteur fixe pour uniformiser */
    object-fit: cover;
}

.actualite-card .card-body {
    padding: 20px;
    text-align: center;
}

.actualite-card h5 {
    font-size: 1.2rem; /* Taille ajustée pour le titre */
    margin-bottom: 0.5rem;
}

.actualite-card p {
    font-size: 0.9rem; /* Réduction de la taille du texte descriptif */
    color: #6c757d;
}

.actualite-card a.btn-danger {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: bold;
}

/* Footer */
footer {
    background-color: #111;
    color: #fff;
    font-size: 0.9rem;
}

footer h3, footer h5 {
    margin-bottom: 1rem;
}

footer ul {
    padding: 0;
    list-style: none;
}

footer ul li {
    margin-bottom: 0.5rem;
}

footer ul li a:hover {
    text-decoration: underline;
}

footer .input-group .form-control {
    border: none;
    border-radius: 0;
    outline: none;
}

footer .input-group .btn {
    border-radius: 0;
}

footer hr {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Bande annonce */
.embed-responsive {
    position: relative;
    display: block;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    background-color: #000;
    border-radius: 15px;
}

.embed-responsive::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}

.embed-responsive-item {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
