@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Orbitron:wght@500&display=swap');

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  background: #ffffff; /* fond clair */
  color: #333;
}

/* Header transparent léger */
header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background: rgba(250, 250, 250, 0.788);
  backdrop-filter: blur(6px);
  color: #333;
}

/* Navbar */
.nav-ruban-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 25px;
  flex-wrap: wrap;
}

.logo-section img {
  height: 50px;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex: 1;
  justify-content: center;
}

nav a {
  text-decoration: none;
  color: #044792;
  font-weight: 600;
  font-size: 15px;
  position: relative;
  padding: 6px 10px;
  transition: color 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 2px;
  background: #044792;
  transition: width 0.3s ease;
}

nav a:hover {
  color: #18933f;
}

nav a:hover::after {
  width: 100%;
}

/* Rubans */
.ruban-container {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.ruban-container img {
  height: 33px;
  border-radius: 4px;
  opacity: 0;
  animation: fadeInScale 6s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.5s);
  animation-fill-mode: both;
  transition: transform 0.3s ease;
}

.ruban-container img:hover {
  transform: scale(1.1);
}
#adminlogo {
  position: absolute;
  top: 50px;
  right: 50px;
  height: 70px;
  z-index: 3;
  filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.6));
}
@keyframes fadeInScale {
  0% { opacity: 0; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1); }
  100% { opacity: 0; transform: scale(0.9); }
}

/* Hero section plus lumineuse */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
   margin-top: 75px;
}

.hero-slider .slide {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: slideAnimation 60s infinite;
}

.hero-slider .slide:nth-child(1) { animation-delay: 0s; }
.hero-slider .slide:nth-child(2) { animation-delay: 6s; }
.hero-slider .slide:nth-child(3) { animation-delay: 12s; }
.hero-slider .slide:nth-child(4) { animation-delay: 18s; }
.hero-slider .slide:nth-child(5) { animation-delay: 24s; }
.hero-slider .slide:nth-child(6) { animation-delay: 30s; }
.hero-slider .slide:nth-child(7) { animation-delay: 36s; }
.hero-slider .slide:nth-child(8) { animation-delay: 42s; }
.hero-slider .slide:nth-child(9) { animation-delay: 48s; }
.hero-slider .slide:nth-child(10){ animation-delay: 54s; }

@keyframes slideAnimation {
  0% { opacity: 0; }
  5% { opacity: 1; }
  25% { opacity: 1; }
  30% { opacity: 0; }
  100% { opacity: 0; }
}
.hero-text {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none; /* on évite de bloquer les clics */
}


/* Titre Admix en haut à droite */
.hero-text h1 {
  position: absolute;
  top: 70px;     /* distance du haut */
  right: 40px;   /* distance de la droite */
  font-size: 90px;
  font-family: 'Orbitron', sans-serif;
  margin: 0;
  color: white;
  pointer-events: auto;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
  
}

/* Bloc bas gauche */
.hero-text .bottom-left {
  position: absolute;
  bottom: 100px;  /* distance du bas */
  left: 40px;    /* distance de la gauche */
  text-align: left;
  max-width: 600px;
  pointer-events: auto;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
  
}

.hero-text .bottom-left h2 {
  font-size: 36px;
  font-family: 'Inter', sans-serif;
  margin: 0 0 8px 0;
  color: white;
}

.hero-text .bottom-left p {
  font-size: 20px;
  margin: 5px 0;
  color: white;
  font-family: 'Inter', sans-serif;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
}

.hero-text .bottom-left p.arabic {
  font-size: 24px;
  direction: rtl;
}

.hero-text .bottom-left .cta-button {
  margin-top: 15px;
  background-color: #18933f;
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.hero-text .bottom-left .cta-button::after {
  content: "→";
  font-size: 16px;
}

.hero-text .bottom-left .cta-button:hover {
  background-color: #044792;
  transform: scale(1.05);
}


@keyframes fadeSlideTop {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-overlay h1 {
  font-size: 34px;
  margin-bottom: 10px;
  color: #ffffff;

}

.hero-overlay p {
  font-family: 'Inter', sans-serif;
  font-size: 18px;
  margin: 6px 0;
  color: #e0e0e0;
}

.cta-button {
  background-color: #18933f;
  color: #ffffff;
  padding: 12px 26px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.cta-button::after {
  content: "→";
  font-size: 16px;
}

.cta-button:hover {
  background-color: #044792;
  transform: scale(1.05);
}

/* Produits */
.produits {
  padding: 60px 20px;
  background: #f9f9f9;
}

.produits h2 {
  font-size: 28px;
  color: #18933f;
  margin-bottom: 35px;
  text-align: center;
  font-family: 'Orbitron', sans-serif;
}

.produit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.produit-card {
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  padding: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.produit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.produit-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.produit-card img:hover {
  transform: scale(1.03);
}

.produit-card h3 {
  font-size: 17px;
  margin: 12px 0 5px;
  color: #333;
}

.produit-card p {
  font-size: 14px;
  color: #555;
}

/* About & Contact */
.about, .contact {
  padding: 50px 20px;
  background: #ffffff;
  text-align: center;
}

.about h2, .contact h2 {
  font-size: 26px;
  color: #18933f;
  margin-bottom: 20px;
  font-family: 'Orbitron', sans-serif;
}

.about p {
  font-size: 16px;
  color: #555;
  max-width: 600px;
  margin: 0 auto 25px;
}

.contact-info, .about .contact-info {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  color: #333;
}

.contact-info span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}

.contact-info img {
  height: 18px;
}

/* Footer */
footer {
  background: #18933f;
  color: white;
  text-align: center;
  padding: 18px;
}

/* Responsive */
@media (max-width: 768px) {
  header {
    position: relative;
    background: rgba(255,255,255,0.9);
  }
  .nav-ruban-wrapper {
    flex-direction: column;
    align-items: center;
  }
  nav {
    flex-direction: column;
    gap: 12px;
  }
  .ruban-container {
    justify-content: center;
  }
}
.social-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
}

.main-button {
  background: #18933f;
  color: #fff;
  font-size: 24px;
  border: none;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.main-button:hover {
  transform: rotate(90deg);
}

/* Conteneur des boutons sociaux */
.social-fab {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
}
.main-button {
  background: #18933f;
  color: #fff;
  font-size: 24px;
  border: none;
  border-radius: 50%;
  width: 55px;
  height: 55px;
  cursor: pointer;
}
.social-buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.9s ease;
}
.social-fab.active .social-buttons {
  opacity: 1;
  visibility: visible;
  transform: translateY(10px);
}
.social-icon {
  background: #ffffff00;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.social-icon img {
  width: 90px;
}
.social-icon.fb { background: #1877f2; }
.social-icon.linkedin { background: #0a66c2; }

