/* Composants visuels : navbar, recherche, carrousels et footer. */

/* navbar du haut (nav) */

nav.custom-navbar{
  padding: 0;
  background-color: var(--bg-light);
  z-index: 1050;
}

/* logo (navbar du haut) */
nav.custom-navbar .logo-size{
  width: 240px !important;
  height: 120px;
  margin-top: -10px;
  margin-left: 0;
}

/* liste (navbar du haut) */
nav.custom-navbar .navbar-nav{
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-left: 0;
  margin-right: 0;
}

/* items (navbar du haut) */
nav.custom-navbar .navbar-nav .nav-item{
  margin: 0;
}

/* liens navbar */
nav.custom-navbar .nav-link{
  font-size: 15px;
  color: var(--secondary-color);
  font-weight: 400;
  letter-spacing: 0.55px;

  /* effet texte */
  text-shadow: 0 0 0.6px currentColor;

  transition: color 0.3s ease, background 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  background: transparent !important;
  box-shadow: none !important;
}

/* hover liens (navbar du haut) */
nav.custom-navbar .nav-link:hover{
  color: var(--primary-color);
  background: transparent;
}

/* icones rondes */
nav.custom-navbar .icon-circle{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 35px;
  height: 35px;
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  font-size: 20px;
  color: var(--text-color);

  /* animation */
  transition: var(--transition);
}

/* svg icones (navbar du haut) */
nav.custom-navbar .icon-circle svg{
  fill: var(--secondary-color);
  transition: fill 0.3s ease;
}

/* badge notifications navbar */
nav.custom-navbar .nav-notification-badge{
  position: absolute;
  top: -7px;
  right: -9px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #dc3545;
  color: #fff;
  border: 2px solid #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 15px;
  text-align: center;
}

nav.custom-navbar .nav-notification-badge-inline{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  margin-left: auto;
  padding: 0 6px;
  border-radius: 999px;
  background: #dc3545;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

/* hover icone (navbar du haut) */
nav.custom-navbar .icon-circle:hover{
  transform: scale(1.1);
  background: #f0f8ff;
  border-color: var(--text-color);
}

/* hover svg (navbar du haut) */
nav.custom-navbar .icon-circle:hover svg{
  fill: var(--primary-color);
}

/* alignement icones navbar du haut */
nav.custom-navbar .navbar-right .nav-item-fixed{
  width: 95px;
}

nav.custom-navbar .navbar-right .nav-link,
nav.custom-navbar .navbar-right form.nav-link,
nav.custom-navbar .navbar-right form.nav-link button{
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

nav.custom-navbar .navbar-right .mt-1{
  font-size: 12px;
  line-height: 1.1;
  min-height: 28px;
  text-align: center;
}


/* menu bas sticky (div) */

div.custom-navbar{
  height: 30px;
  background-color: var(--bg-light) !important;
  display: flex;
  align-items: center;
  box-shadow: none;
  z-index: 1050;
}

/* reset padding bootstrap */
div.custom-navbar .container-fluid{
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* menu centre */
div.custom-navbar .navbar-nav{
  height: 100%;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0;
}

/* liens menu bas */
div.custom-navbar .nav-link{
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 30px;

  font-size: 15px;
  color: var(--secondary-color);
  font-weight: 400;
  letter-spacing: 0.55px;
  text-shadow: 0 0 0.6px currentColor;
  transition: color 0.3s ease, background 0.3s ease;

  background: transparent !important;
  box-shadow: none !important;
}

div.custom-navbar .nav-link:hover{
  color: var(--primary-color);
  background: transparent;
}

/* trait en bas du menu bas */
div.custom-navbar #navbarNav{
  border-bottom: 0.5px solid var(--primary-color);
}


/* titre */
.voyage-menu-title{
  text-align:center;
  margin:30px;
  padding-top:20px;
}

/* barre recherche */
#voyageBar{
  position: sticky !important;
  top: 30px !important;
  left: 0;
  background-color: var(--bg-light);

  width: 100%;
  max-width: 100%;     
  min-height: 59.5px;
  height: auto;

  margin: 0 auto;        

  display: flex;         
  align-items: center;

  z-index: 1040 !important;
  box-shadow: 0 8px 18px rgba(10, 75, 129, 0.06);

}

/* champ */
.voyage-field .form-label{
  margin:0;
  font-size:16px;
  color:var(--secondary-color);
  font-weight:700;
  text-transform:lowercase;
}

.voyage-field .form-control{
  border:0;
  outline:none;
  box-shadow:none;
  padding:0;
  font-size:16px;
  background:transparent;
}

/* actions (boutons Ã  droite) */
.voyage-search-group{
  display:flex;
  align-items:center;
  gap:10px;
  height:auto;          /* hauteur auto */
}

.search-icon{
  width:16px;
  height:16px;
}

/* reset = lien qui ressemble Ã  un bouton rond */
.voyage-reset-icon{
  width:20px;
  height:20px;
  border-radius:var(--btn-radius);
  background:var(--primary-color);
  border:none;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:.3s ease;
  text-decoration:none; /* lien bouton */
  margin-top:0;         /* reset decalage */
}

.voyage-reset-icon:hover{
  transform:rotate(90deg);
}

/* bouton auth */
.auth-form button{
  padding:12px 0;
  border:none;
 
  background:linear-gradient(135deg,var(--primary-color),#FEB914);
  color:#fff;
  font-weight:bold;
  cursor:pointer;
  transition:var(--transition);
  font-size:1rem;
  margin-top:10px;
}

.auth-form button:hover{
  opacity:.9;
  transform:translateY(-1px);
}

/* boutons cards + carousel */
.card .btn:not(.grid-btn):not(.detail-btn):not(.res-btn):not(.admin-btn),
.carousel-caption .btn{
  background:linear-gradient(135deg,var(--primary-color),#FEB914);
  color:var(--bg-light);
  border:1px solid var(--primary-color);
  padding:10px 25px;
  font-size:1rem;

  transition:var(--transition);
}

/*   hover: utiliser background (pas background-color) */
.card .btn:not(.grid-btn):not(.detail-btn):not(.res-btn):not(.admin-btn):hover,
.carousel-caption .btn:hover{
  background:transparent;
  color:var(--muted-color);
  border-color:var(--primary-color);
}

/* bouton rechercher */
.voyage-search-btn{
  width: 180px;
  height: 60px;

  background: linear-gradient(135deg, var(--primary-color), #FEB914);
  color: #fff;
  font-weight: 700;

  border: none;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  flex-direction: row;
  cursor: pointer;

  transition: transform .2s ease, opacity .2s ease;   /* animation */
}

.voyage-search-btn:hover{
  transform: translateY(-1px);
  opacity: .92;
}

/* CAROUSEL */

.carousel {
    overflow: hidden;
    background: #fff;
}
.carousel a {
    display: block;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
.carousel a:hover {
    opacity: 0.96;
}
.carousel a:focus,
.carousel a:visited {
    color: inherit;
    text-decoration: none;
}

.carousel-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.carousel-control-next,
.carousel-control-prev {
    width: 52px;
    opacity: 1;
}
.carousel-control-next-icon,
.carousel-control-prev-icon {
    filter:drop-shadow(0 6px 12px rgba(0,0,0,.35))
}
.carousel .carousel-indicators {
    display: none!important;
}

.carousel-caption strong,
.offer-price strong {
    background: var(--primary-color);
    color: #fff;
    padding: 6px 14px;
    font-weight: 800;
    display: inline-block;
    letter-spacing: 0.3px;
    font-size: 0.95rem;
}

/* OFFRES (carousel) */
#offresCarousel .offer-card {
    background: #fff;
    box-shadow: var(--shadow);
}
#offresCarousel .offer-media {
    height: 320px;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}
#offresCarousel .offer-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
#offresCarousel .offer-noimg {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-color);
}

#offresCarousel .offer-body {
    padding: 14px;
    background: var(--secondary-color);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
#offresCarousel .offer-title {
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.3px;
}

#offresCarousel .offer-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.92rem;
    color: rgba(255,255,255,.85);
}
#offresCarousel .offer-line {
    display: flex;
    align-items: center;
    gap: 6px;
}
#offresCarousel .offer-icon {
    width: 15px;
    height: 15px;
    fill: currentColor;
    opacity: 0.9;
}

#offresCarousel .offer-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
}
#offresCarousel del {
    color: #e11d48;
    font-weight: 600;
}

#offresCarousel .offer-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    z-index: 2;
    border-top: 90px solid #e11d48;
    border-left: 90px solid transparent;
}
#offresCarousel .offer-badge::after {
    content: attr(data-badge);
    position: absolute;
    top: -68px;
    right: 8px;
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    transform: rotate(45deg);
}

/* VOYAGES (carousel) */
#mainCarousel .row.g-0 {
    flex-wrap: nowrap;
}
#mainCarousel .col-md-9 {
    flex: 0 0 75%;
    max-width: 75%;
}
#mainCarousel .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
}
#mainCarousel .voyage-link {
    background: var(--secondary-color);
    color: #fff;
}


/* FOOTER */

.footer-voyage{
  margin-top:80px;
  padding:50px 0 22px;
  background:linear-gradient(135deg, #0f172a, #020617);
  color:rgba(255,255,255,.82);
}

/* Titres */
.footer-voyage .footer-title{
  margin:0 0 16px;
  font-size:1.05rem;
  font-weight:800;
  color:var(--primary-color);
  letter-spacing:.3px;
}

.footer-title-center{ text-align:center; }

/* Liens */
.footer-links li{ margin:0 0 8px; }

.footer-voyage a{
  color:rgba(255,255,255,.72);
  text-decoration:none;
  transition:color .2s ease, transform .2s ease;
}

.footer-voyage a:hover{ color:var(--primary-color); }

/* contact footer */
.footer-contact p{
  margin:0 0 8px;
  font-size:.92rem;
}

.footer-contact i{
  width:18px;
  margin-right:8px;
  color:var(--primary-color);
}

/* Mini map */
.mini-map-container small{
  display:block;
  text-align:center;
  margin-top:8px;
  font-size:.82rem;
  color:rgba(255,255,255,.55);
}

.footer-map{
  width:100%;
  height:190px;
  margin-top:10px;
  border-radius:12px;
  overflow:hidden;
  background:var(--bg-light);
  box-shadow:0 10px 30px rgba(0,0,0,.35);
  transition:transform .2s ease;
}

.footer-map:hover{ transform:translateY(-2px); }

/* reseaux sociaux */
.footer-social a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:var(--btn-radius);
  margin-right:8px;

  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(255,255,255,.78);

  transition:transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.footer-social a i{
  display:block;
  line-height:1;
  margin:0;          /* reset decalage */
  width:auto;        /* reset largeur */
}

.footer-social a:hover{
  transform:translateY(-2px);
  background:rgba(254,185,20,.14);
  border-color:rgba(254,185,20,.35);
  color:var(--primary-color);
}

/* separation */
.footer-voyage hr{
  border-color:rgba(255,255,255,.10);
  margin:28px 0 14px;
}

/* Bas de footer */
.footer-bottom{
  text-align:center;
  font-size:.86rem;
  color:rgba(255,255,255,.55);
}
