/* Drones Airline Multiservice - Custom Styles */

/* WhatsApp floating button - au-dessus du bouton "remonter" */
.whatsapp-float {
  position: fixed;
  bottom: 85px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  pointer-events: none;
}

/* Téléphone header - numéro sur desktop, icône sur mobile */
.header-phone {
  display: flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}
.header-phone:hover {
  color: inherit;
  text-decoration: none;
  opacity: 0.9;
}
.header-phone-number {
  display: none;
}
.header-phone-icon {
  display: inline-flex;
  font-size: 24px;
}
@media (min-width: 992px) {
  .header-phone-number {
    display: inline;
  }
  .header-phone-icon {
    display: none;
  }
}

/* Logo adjustments - affichage naturel (sans filtre) */
.rd-navbar-brand .brand img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}

/* Logo masqué sur le hero (navbar statique en haut), visible après scroll (barre collée) */
@media (min-width: 992px) {
  .rd-navbar-static:not(.rd-navbar--is-stuck) .rd-navbar-brand {
    opacity: 0;
    visibility: hidden;
    width: 0 !important;
    min-width: 0;
    max-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease, max-width 0.35s ease;
  }
  .rd-navbar-static.rd-navbar--is-stuck .rd-navbar-brand {
    opacity: 1;
    visibility: visible;
    width: auto !important;
    max-width: none;
    pointer-events: auto;
    transition: opacity 0.35s ease, visibility 0.35s ease, max-width 0.35s ease;
  }
}

.footer-classic .brand img {
  max-height: 50px;
  width: auto;
}

/* Product cards */
.product-card-custom {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  padding: 30px 25px;
  text-align: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  height: 100%;
}

.product-card-custom:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.product-card-icon {
  margin-bottom: 20px;
}

.product-card-custom .product-title {
  font-size: 22px;
  font-weight: 700;
  color: #232323;
  margin-bottom: 8px;
}

.product-card-custom .product-subtitle {
  font-size: 14px;
  margin-bottom: 15px;
}

.product-card-custom p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

.product-card-custom .list-style {
  font-size: 13px;
  color: #555;
  list-style: none;
  padding: 0;
}

.product-card-custom .list-style li {
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
}

.product-card-custom .list-style li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #25D366;
  font-weight: 700;
}

/* Advantage blocks */
.advantage-block {
  padding: 20px 10px;
}

/* Services section - 4 columns fix */
#services .feature {
  padding: 20px 10px;
}

#services .feature-title {
  font-size: 16px;
}

#services .feature-description {
  font-size: 13px;
}

/* Devis form select styling */
#devis-service {
  height: 50px;
  padding: 10px 15px;
  border: 1px solid #d7d7d7;
  background: #fff;
  color: #232323;
  font-size: 14px;
  width: 100%;
  border-radius: 0;
  font-family: 'Open Sans', sans-serif;
}

#devis-service:focus {
  border-color: #1a73e8;
  outline: none;
}

/* WhatsApp CTA button in devis section */
.button-whatsapp {
  font-size: 16px;
  letter-spacing: 0.5px;
  transition: background 0.3s ease, transform 0.3s ease;
}

.button-whatsapp:hover {
  background: #1ebe57 !important;
  transform: translateY(-2px);
  color: #fff !important;
  text-decoration: none;
}

/* Hero tagline animation */
.hero-tagline p {
  animation: fadeInUp 1s ease 0.5s both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Contact section - espace entre numéro et bouton WhatsApp */
#contact .contact-phone-line {
  margin-bottom: 14px;
}
#contact .contact-wa-btn {
  margin-top: 2px;
}

/* Contact section links */
#contact a {
  color: #1a73e8;
  text-decoration: none;
}

#contact a:hover {
  text-decoration: underline;
}

/* Fleet section - better image display */
.big-carousel-image {
  max-width: 100%;
  height: auto;
}
.fleet-drone-img {
  object-fit: contain;
  max-height: 380px;
  width: 100%;
}

/* Galerie Chronos - vignettes homogènes */
.gallery-chronos-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
#galerie .thumbnail {
  display: block;
  overflow: hidden;
  border-radius: 4px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .whatsapp-float {
    bottom: 75px;
    right: 15px;
    width: 50px;
    height: 50px;
  }

  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }

  #services .col-sm-6 {
    margin-bottom: 20px;
  }

  .product-card-custom {
    margin-bottom: 20px;
  }

  .hero-tagline p {
    font-size: 0.9em !important;
    padding: 0 15px;
  }

  .advantage-block {
    margin-bottom: 20px;
  }
}

@media (max-width: 575px) {
  .rd-navbar-brand .brand img {
    max-height: 35px;
  }

  #devis .button-whatsapp {
    font-size: 14px;
    padding: 10px 20px !important;
  }
}

