/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
 @import url('https://fonts.googleapis.com/css2?family=Fjalla+One&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
 body{
    font-family: "Roboto", sans-serif;
    font-optical-sizing: auto;
    background-color: #F2F2F2;
    color: black;
 }
 h1, h2, h3, h4, h5, h6{
    font-family: "Fjalla One", sans-serif;
    font-weight: 400;
    font-style: normal;
 }
 p, span, label, input, button, a, li, div{
    font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
 }
 a{
  color:#DE7F06;
  text-decoration: none;
 }
 .bg-orange{
    background-color: #DE7F06;
 }
 .bg-noir{
  background-color: #000000;
}
 .text-orange {
  color: #DE7F06;
}
.btn{
  border-radius: 0%;
  padding: 3%;
}
.btn-afk{
  background-color: #DE7F06;
  color: white;
  border: 2px solid white;
}

.btn-noir{
  background-color: #000000;
  color: white;
}

.btn-noir:hover{
  background-color: #000000;
  color: #DE7F06;
}

.btn-afk:hover{
  background-color: white;
  color: #DE7F06;
}
.btn-menu-afk{
  background-color: #DE7F06;
  color: white;
  border: 0px solid white;
}

.btn-menu-afk:hover{
  background-color: white;
  color: #DE7F06;
}
 .menu-principal{
    background-color: #000000;
 }
.menu-principal .nav-link{
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    transition: all ease 0.2s;
}
.menu-principal .nav-link:hover{
  color: #DE7F06;
}
.menu-utilisateur .nav-link{
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  transition: all ease 0.2s;
}
.menu-utilisateur .nav-link:hover{
color: #DE7F06;
}
/* Appliquer le fond noir au menu déroulant */
.nav-pills .dropdown-menu {
  background-color: black !important;
  border: none; /* Supprime la bordure par défaut */
}

/* Couleur du texte blanc dans le dropdown */
.nav-pills .dropdown-menu .dropdown-item {
  color: white !important;
  text-transform: uppercase;
  transition: all ease 0.2s;
}

/* Changer la couleur au survol */
.nav-pills .dropdown-menu .dropdown-item:hover {
  background-color: #DE7F06 !important;
  color: black !important; /* Pour un bon contraste */
}

/* Couleur du texte blanc dans le dropdown */
.menucart .dropdown-menu {
  background-color: black !important;
  border: none; /* Supprime la bordure par défaut */
}

/* Couleur du texte blanc dans le dropdown */
.menucart .dropdown-menu .dropdown-item {
  color: white !important;
  text-transform: uppercase;
  transition: all ease 0.2s;
  text-decoration: none;
}

/* Changer la couleur au survol */
.menucart .dropdown-menu .dropdown-item:hover {
  background-color: #DE7F06 !important;
  color: black !important; /* Pour un bon contraste */
}

.logo{
    width: 70%;
    margin: auto;
}
.img-kare{
  width: 150px;
}
/* acceuil */
/* Le col-8 a une hauteur définie */
.col-container {
  position: relative;
  height: 75vh; /* Détermine la hauteur globale */
  padding: 0 !important;
  margin: 0 !important;
}

/* Le carousel prend 100% du parent (col-8) */
.carousel {
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

/* Le carousel-inner suit la hauteur du carousel */
.carousel-inner {
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

/* Les items du carousel occupent toute la place */
.carousel-item {
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

/* Les images remplissent totalement le carousel sans se déformer */
.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block; /* Supprime l'espace en bas de l'image */
  margin: 0 !important;
  padding: 0 !important;
}

/* Contenu (slogan + recherche) centré */
.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
  width: 60%;
  z-index: 10; /* S'assure que l'overlay est au-dessus du carousel */
}

/* Formulaire de recherche */
.search-form {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  width: 100%;
  position: relative; /* IMPORTANT: pour positionner l'autocomplétion */
}

/* Champ de recherche */
.search-input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 5px 0 0 5px;
  font-size: 16px;
}

/* Bouton de recherche */
.search-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 0 5px 5px 0;
  background-color: #DE7F06;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}

.search-btn:hover {
  background-color: #ff6600;
  color: white;
}

/* Conteneur des suggestions d'autocomplétion */
.autocomplete-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: white;
  border: 1px solid #ddd;
  border-top: none;
  border-radius: 0 0 5px 5px;
  max-height: 300px;
  overflow-y: auto;
  z-index: 1050; /* Au-dessus de tout */
  display: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: 2px;
}

/* Item de suggestion */
.autocomplete-item {
  padding: 12px 15px;
  cursor: pointer;
  color: #333;
  text-align: left;
  transition: background-color 0.2s;
  border-bottom: 1px solid #f0f0f0;
  font-size: 16px;
}

.autocomplete-item:last-child {
  border-bottom: none;
}

.autocomplete-item:hover,
.autocomplete-item.autocomplete-active {
  background-color: #DE7F06;
  color: white;
}

.autocomplete-item i {
  margin-right: 8px;
  opacity: 0.7;
}

.autocomplete-item i {
  margin-right: 8px;
  opacity: 0.7;
}

.cta-box {
  background: linear-gradient(to right, #fd7e14, #ff922b);
}

.right-section {
  background-color: white;
}

.card {
  border: 1px solid #dee2e6;
  border-radius: 8px;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-2px);
}

.right-section .badge {
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: normal;
}

.right-section .badge a{
  background-color:#DE7F06;
  color: white;
  text-decoration: none;
  transition: all ease 0.3s;
  padding: 8px 16px;
  border-radius: 20px;
}

.badge a:hover{
  color:#DE7F06;
  background-color: white;
  text-decoration: none;
  border: 1px solid #DE7F06;
}



.btn-light:hover {
  background-color: #f8f9fa;
  color: #fd7e14;
}


.home-headline{
  font-size: 40px;
  font-weight: bold;
  text-transform: uppercase;
}
.home-intro{
  font-size: 16px;
}
.abonnement-bg{
  background: url('https://res.cloudinary.com/aseed/image/upload/v1740207725/afrikimages/assets/abo-bg_vuh6dx.jpg')no-repeat;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
}
.abonnement-bg-filtre{
  background: url('')no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  height: 400px;
}
.abonnement-bg-headline{
  font-size: 50px;
  font-weight: bold;
  text-transform: uppercase;
}
.abonnement-bg-intro{
  font-size: 24px;
}
.galerie-section{
  background-color: white;
}
.galerie-section-headline{
  color: #DE7F06;
  font-size: 30px;
  font-weight: bold;
  text-transform: uppercase;
}
.galerie-section-btn{
  background-color: #000000;
  color: white;
  transition: all ease 0.2s;
}
.galerie-section-btn:hover{
  background-color: #DE7F06;
  color: #000000;
  transition: all ease 0.3s;
}
.galerie-section-square{
  width: 200px;
  height: 200px;
  background-color: transparent;
  padding-left: 10%;
  padding-right: 10%;
}
.galerie-section img{
  width: 200px;
  height: 200px;
}
.fill {
  object-fit: fill;
}
.contain {
  object-fit: contain;
}

.cover {
  object-fit: cover;
}
/* acceuil fin */

.lacategorie-container{
    background-size:cover;
    background-position: center center;
}

.lacategorie-container p{
    font-size: 16px;
}

.lacategorie-filtre{
    background: rgba(0,0,0,.5);
    color:white; 
    height:50vh;
}

.souscategorie-photos-container {
  padding: 2rem !important;
  background-color: transparent;
}

.souscategorie-photos-container p{
    font-size: 16px;
}

.photos-headline{
  font-size: 26px;
  font-weight: bold;
  text-transform: uppercase;
}
.photo-titre::first-letter{
  text-transform: uppercase;
}

.dropdown-menu {
  min-width: 200px;
}

.dropdown-item {
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
}

.dropdown-item:hover {
  background-color: #DE7F06 !important;
  color: white;
}

.dropdown-item i {
  font-size: 1.1rem;
}

.copy-link {
  cursor: pointer;
}

.souscategorie-container {
  padding: 2rem !important;
  background-color: transparent;
}

.souscategorie-container .row {
  gap: 2rem; /* Espacement uniforme entre les cartes */
}

.souscategorie-card {
  position: relative;
  overflow: hidden;
  height: 300px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border-radius: 8px; /* coins légèrement arrondis */
}

.bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s ease-in-out;
}

.souscategorie-card:hover .bg-image {
  transform: scale(1.1);
}

.filtre {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Légèrement plus foncé pour meilleur contraste */
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding: 1.5rem;
  transition: background-color 0.3s ease;
}

.souscategorie-card:hover .filtre {
  background-color: rgba(0, 0, 0, 0.5); /* Plus foncé au survol */
}

.filtre .souscategorie-nom {
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.filtre .btn {
  border-radius: 0;
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

.filtre .btn-afk-light {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: 2px solid white;
}

.filtre .btn-afk-light:hover {
  background-color: #DE7F06;
  color: white;
  transform: translateY(-2px);
}

/* Photo show page */
.photo-viewer-container {
  position: relative;
  min-height: auto;
  background-color: #f8f9fa;
  overflow: hidden;
}

/* Arrière-plan flouté */
.photo-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80vh;
  z-index: 0;
  overflow: hidden;
}

.background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px) brightness(0.7);
  transform: scale(1.1); /* Pour éviter les bords blancs dus au flou */
}

/* Conteneur des éléments principaux */
.container {
  position: relative;
  z-index: 1;
}

/* Style du conteneur de la photo principale */
.photo-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.photo-wrapper {
  position: relative;
  max-height: 70vh;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

/* Style de l'image principale */
.main-image {
  max-height: 70vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Actions sur l'image (boutons en haut) */
.photo-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
}

.photo-actions .btn {
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.9);
}

/* Bouton pour supprimer l'arrière-plan */
.remove-background-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
}

/* Style pour le panneau de détails */
.image-details {
  background-color: white;
  border-radius: 8px;
}

.souscategories-container {
  margin-top: 15px;
}

.souscategory-link {
  display: inline-flex;
  align-items: center;
  background: #000000;
  color: white;
  padding: 6px 12px;
  margin: 5px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s ease;
}

.souscategory-link i {
  margin-right: 5px;
}

.souscategory-link:hover {
  background: white;
  color: #DE7F06;
  border: 1px solid #000000;
}




.tags-container {
  margin-top: 15px;
}

.tag-link {
  display: inline-flex;
  align-items: center;
  background: #DE7F06;
  color: white;
  padding: 6px 12px;
  margin: 5px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  transition: background 0.3s ease;
}

.tag-link i {
  margin-right: 5px;
}

.tag-link:hover {
  background: white;
  color: #DE7F06;
  border: 1px solid #DE7F06;
}
/* photos show page */
.masonry-grid {
  column-count: 4;
  column-gap: 10px;
}

.masonry-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 10px;
  break-inside: avoid; /* Évite de couper les images entre les colonnes */
}

.masonry-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 5px;
}

.masonry-item img {
  width: 100%;
  border-radius: 5px;
  display: block;
  transition: transform 0.3s ease;
}

/* Effet zoom sur l'image au survol */
.masonry-link:hover img {
  transform: scale(1.05);
}

/* Overlay avec dégradé */
.masonry-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
  padding: 20px 15px 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.masonry-link:hover .masonry-overlay {
  opacity: 1;
}

.masonry-description {
  color: white;
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.masonry-description::first-letter {
  text-transform: uppercase;
}



/* utilsateur & admin design */
/* Sidebar styles */
.sidebar {
  background-color: #000;
  color: #fff;
  height: 100vh;
  position: fixed;
  width: 260px;
  left: 0;
  top: 0;
  overflow-y: auto;
  z-index: 100;
  box-shadow: 2px 0 5px rgba(0,0,0,0.1);
}

.logo-container {
  padding: 20px;
  border-bottom: 1px solid #333;
}

.logo {
  max-width: 180px;
}

.nav-menu {
  padding: 15px 0;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  display: block;
  padding: 12px 20px;
  transition: all 0.3s;
  border-left: 4px solid transparent;
}

.nav-menu a:hover, .nav-menu a.active {
  background-color: #222;
  border-left: 4px solid #FFC107;
}

.nav-menu i {
  margin-right: 10px;
}

.disconnect-btn {
  position: absolute;
  bottom: 20px;
  width: 90%;
  margin: 0 5%;
}

/* Main content area */
.main-content {
  margin-left: 260px;
  padding: 20px 30px;
  min-height: 100vh;
  transition: all 0.3s;
}

/* Cards styling */
.content-card {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 25px;
  margin-bottom: 20px;
}

.card-title {
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

/* Form elements styling */
.form-label {
  font-weight: 500;
  color: #555;
  margin-bottom: 8px;
}

.form-control, .form-select {
  border-radius: 6px;
  padding: 10px 15px;
  border: 1px solid #ddd;
  transition: all 0.3s;
}

.form-control:focus, .form-select:focus {
  border-color: #FFC107;
  box-shadow: 0 0 0 0.25rem rgba(255, 193, 7, 0.25);
}

textarea.form-control {
  min-height: 120px;
}

/* Table styling */
.table-container {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.table {
  margin-bottom: 0;
}

.table-dark {
  background-color: #212529;
}

.table th {
  font-weight: 600;
  padding: 15px;
  vertical-align: middle;
}

.table td {
  padding: 15px;
  vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
  background-color: rgba(0,0,0,0.02);
}

/* Buttons styling */
.btn {
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 500;
  transition: all 0.3s;
}

.btn-warning {
  background-color: #FFC107;
  border-color: #FFC107;
  color: #212529;
}

.btn-warning:hover {
  background-color: #e0a800;
  border-color: #e0a800;
}

.btn-success {
  background-color: #28a745;
  border-color: #28a745;
}

.btn-success:hover {
  background-color: #218838;
  border-color: #218838;
}

.btn-danger {
  background-color: #dc3545;
  border-color: #dc3545;
}

.btn-danger:hover {
  background-color: #c82333;
  border-color: #c82333;
}

/* Image preview */
.img-preview {
  max-width: 200px;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.img-kare {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
}

/* Dropdown styling */
.dropdown-menu {
  padding: 8px 0;
  border: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-radius: 6px;
}

.dropdown-item {
  padding: 8px 20px;
  transition: all 0.2s;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
}

.dropdown-divider {
  margin: 8px 0;
  border-top: 1px solid #eee;
}

/* Page header */
.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

/* utilsateur & admin design */

@media (min-width: 320px) and (max-width: 440px){

  /* acceuil */
  .menu-principal .nav-link{
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    transition: all ease 0.2s;
    font-size: 14px;
}
/* Le col-8 a une hauteur définie */
.col-container {
  position: relative;
  height: 50vh; /* Détermine la hauteur globale */
  padding: 0;
}

/* Le carousel prend 100% du parent (col-8) */
.carousel {
  width: 100%;
  height: 100%;
}

/* Le carousel-inner suit la hauteur du carousel */
.carousel-inner {
  width: 100%;
  height: 100%;
}

/* Les items du carousel occupent toute la place */
.carousel-item {
  width: 100%;
  height: 100%;
}

/* Les images remplissent totalement le carousel sans se déformer */
.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Contenu (slogan + recherche) centré */
.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 10px;
  width: 80%;
}

/* Formulaire de recherche */
.search-form {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.search-input {
  padding: 10px;
  border: none;
  border-radius: 5px 0 0 5px;
  width: 250px;
}

.search-btn {
  background: #ff6600;
  border: none;
  color: white;
  padding: 10px 15px;
  border-radius: 0 5px 5px 0;
  cursor: pointer;
}

.home-headline{
  font-size: 28px;
  font-weight: bold;
  text-transform: uppercase;
}
.home-intro{
  font-size: 14px;
}

.masonry-grid {
  column-count: 2; /* Nombre de colonnes */
  column-gap: 10px; /* Espacement entre les colonnes */
}

.masonry-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 10px; /* Espacement vertical */
}

.masonry-item img {
  width: 100%;
  border-radius: 5px; /* Coins arrondis */
  display: block;
}

.autocomplete-item {
  padding: 12px 15px;
  cursor: pointer;
  color: #333;
  text-align: left;
  transition: background-color 0.2s;
  border-bottom: 1px solid #f0f0f0;
  font-size: 12px;
}

.masonry-description {
  color: white;
  margin: 0;
  font-size: 12px;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.abonnement-bg-headline{
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
}
.abonnement-bg-intro{
  font-size: 16px;
}

.lacategorie-container p{
    font-size: 14px;
}

.souscategorie-photos-container p{
    font-size: 14px;
}

.galerie-section-headline{
  color: #DE7F06;
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
}

/* acceuil */



}