/* GLOBAL */
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background: #ffffff;
  color: #000000;
}

/* ============================ */
/* NAVBAR */
/* ============================ */

.navbar {
    width: 100%;
    background: #222222; /* FOND ROUGE */
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.navbar .container {
    max-width: 1250px;
    padding: 0 20px;
    margin: auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 55px;
}

/* Desktop nav */
.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links li a {
    color: white;
    font-size: 16px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links li a:hover {
    opacity: 0.7;
}

.btn-nav {
    background: rgb(252, 181, 0);
    color: #222222 !important;
    padding: 8px 18px;
    border-radius: 6px;
    font-weight: 600;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: white;
    border-radius: 3px;
}

/* ============================ */
/* MOBILE */
/* ============================ */

.mobile-menu {
    background: #222222;
    display: none;
    flex-direction: column;
    padding: 20px;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    padding: 12px 0;
    font-size: 18px;
}

.btn-mobile {
    background: white;
    color: #222222 !important;
    padding: 10px 0;
    margin-top: 10px;
    border-radius: 6px;
    font-weight: 700;
}

/* ============================ */
/* RESPONSIVE */
/* ============================ */

@media(max-width: 900px) {
    .nav-links {
        display: none;
    }
    .hamburger {
        display: flex;
    }
}




/* HERO GRID */
.hero {
  padding: 0;
  padding-top: 120px; /* espace sous navbar */
  background: #222222; /* rouge premium si visible */
}

.grid-categories {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 images par ligne */
  gap: 0; /* pas d'espace entre images */
}

.category-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.category-card img {
  width: 100%;
  height: auto; /* garde les proportions originales */
  display: block;
  transition: transform 0.3s ease;
}

.category-card:hover img {
  transform: scale(1.05);
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 20px;
  transition: opacity 0.3s ease;
}

.category-card:hover .overlay {
  opacity: 1;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 1000;
  overflow-y: auto;
}

.modal-content {
  background: #ffffff;
  margin: 60px auto;
  padding: 20px;
  width: 90%;
  max-width: 900px;
  border-radius: 12px;
}

.close-btn {
  background: #222222;
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 6px;
  margin-bottom: 20px;
}

.close-btn i {
  margin-right: 6px;
}

.modal-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
}

.modal-gallery img {
  width: 100%;
  height: auto; /* garde les proportions */
  border-radius: 0;
}

/* RESPONSIVE */
@media (max-width: 1200px){
  .grid-categories {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px){
  .grid-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px){
  .grid-categories {
    grid-template-columns: 1fr;
  }
}


/* SECTION FULL GRID AVEC TRAITS ROUGES ENTRE LES IMAGES */
.gallery-24 {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border: 2px solid #B30000; /* Bordure externe rouge */
}

.gallery-24 img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    cursor: zoom-in;

    /* Ajout des traits rouges */
    border-right: 2px solid #B30000;
    border-bottom: 2px solid #B30000;
}

/* Retirer bordure droite de la dernière colonne */
.gallery-24 img:nth-child(6n) {
    border-right: none;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .gallery-24 {
        grid-template-columns: repeat(4, 1fr);
    }
    .gallery-24 img {
        height: 170px;
    }
    .gallery-24 img:nth-child(4n) {
        border-right: none;
    }
}

@media (max-width: 600px) {
    .gallery-24 {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-24 img {
        height: 150px;
    }
    .gallery-24 img:nth-child(2n) {
        border-right: none;
    }
}

/* ZOOM LIGHTBOX */
.zoom-modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    cursor: zoom-out;
}

.zoom-modal img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
}

/* BOUTON FERMER */
.zoom-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: #ffffff;
    cursor: pointer;
    font-weight: bold;
    z-index: 100000;
}




/* CTA */
/* CALL TO ACTION */
.cta-section {
  background: #ffffff; /* fond blanc */
  text-align: center;
  padding: 80px 20px;
  color: #000000;
}

.cta-section h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 200;
  font-size: 36px;
  margin-bottom: 30px;
  color: #000000;
}

.cta-btn {
  display: inline-block;
  background: #B30000; /* rouge premium */
  color: #ffffff; /* texte blanc */
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  padding: 16px 36px;
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(179, 0, 0, 0.4);
}

.cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(179, 0, 0, 0.6);
}

/* Responsive */
@media (max-width: 768px) {
  .cta-section h2 {
    font-size: 28px;
  }
  .cta-btn {
    padding: 14px 28px;
    font-size: 16px;
  }
}





/* ====================================== */
/* FOOTER                                */
/* ====================================== */
/* Footer CSS */
.footer-section {
    background: #222222;
    color: white;
    padding: 60px 20px 20px;
    font-family: 'Montserrat', sans-serif;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo-img {
    width: 150px;
    margin-bottom: 10px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: space-between;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-column ul li a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
}

@media screen and (max-width: 1024px) {
    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-logo {
        align-items: center;
    }
}




#background-audio {
    display: none;
}
