/* Theme Name: E Commerce Strike */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");

/* Variables globales */
:root {
  --primary-color: #3d5a80;
  --secondary-color: #7000ff;
  --pink: #ff00e6;
  --white: #ffffff;
  --card-bg: rgba(61, 90, 128, 0.35);
  --font-bold: "Inter", sans-serif;
  --font-default: "Noto Sans", sans-serif;
}

/* Animation de préchargement */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/bg-preload.png");
  background-color: linear-gradient(180deg, var(--primary-color) 0%, var(--white) 100%);
  background-size: cover;
  background-position: center;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 1s ease-out;
}
.preloader-hidden {
  opacity: 0;
  pointer-events: none;
}
.preloader-cloud {
  position: absolute;
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.5;
  transition: transform 1s ease-out;
}
.preloader-cloud-left {
  left: 0;
  transform: translateX(0);
  background-image: url("images/bg-left.png");
}
.preloader-cloud-right {
  right: 0;
  transform: translateX(0);
  background-position: right center;
  background-image: url("images/bg-right.png");
}
.preloader-cloud-left.slide-left {
  transform: translateX(-100%);
}
.preloader-cloud-right.slide-right {
  transform: translateX(100%);
}

/* Styles de base */
body {
  font-family: var(--font-default);
  margin: 0;
  padding: 0;
  color: var(--white);
  line-height: 1.6;
  background: linear-gradient(180deg, #3d5a80 0%, #ffffff 100%);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.custom-cursor {
  position: fixed;
  width: 440px;
  height: 440px;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.3);
  mix-blend-mode: normal;
  filter: blur(100px);
  transform: translate(-50%, -50%);
  z-index: 9999;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}
@media screen and (min-width: 1024px) {
  .container {
    padding: 0 15px;
  }
}

/* Header */
.site-header {
  background-color: transparent;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}
.site-branding {
  padding: 15px 0;
}
.custom-logo-link img {
  max-width: 90px;
  max-height: 90px;
  height: auto;
  width: auto;
}
.site-title {
  margin: 0;
  font-size: 24px;
}
.site-title a {
  color: var(--primary-color);
  text-decoration: none;
  text-shadow: 0 0 5px rgba(0, 195, 255, 0.7);
}

/* Navigation */
.primary-color-navigation,
.main-navigation {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}
.menu li {
  margin-left: 20px;
}
.menu a {
  text-decoration: none;
  color: var(--white);
  font-weight: 500;
  transition: all 0.3s;
}
.menu a:hover {
  color: var(--primary-color);
  text-shadow: 0 0 8px var(--primary-color);
}
#anchor-menu a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--primary-color);
  box-shadow: 0 0 8px var(--primary-color);
  transition: width 0.3s;
}
#anchor-menu a:hover::after {
  width: 100%;
}

/* Barre mobile */
.mobile-bottom-bar,
.mobile-menu {
  display: none;
}
@media (max-width: 768px) {
  #site-navigation,
  #anchor-menu {
    display: none !important;
  }
  .mobile-bottom-bar {
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    padding: 10px 0;
    z-index: 2000;
  }
  .mobile-bottom-bar button,
  .mobile-bottom-bar .contact-icon {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--white);
    cursor: pointer;
  }
  .mobile-bottom-bar .contact-icon {
    text-decoration: none;
    font-size: 26px;
  }
  .mobile-menu {
    position: fixed;
    bottom: 60px;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    display: none;
    flex-direction: column;
    text-align: center;
    padding: 15px 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
    z-index: 1999;
  }
  .mobile-menu.active {
    display: flex;
  }
  .mobile-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .mobile-menu li {
    margin: 10px 0;
  }
  .mobile-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 18px;
  }
  .mobile-menu a:hover {
    color: #ffeb3b;
  }
}

/* Sections */
section {
  padding: 80px 2em;
  position: relative;
}
.section-title {
  font-family: var(--font-bold);
  font-weight: 400;
  font-size: 48px;
  line-height: 72px;
  color: #ffffff;
}
@media screen and (min-width: 1024px) {
  section {
    padding: 80px 0;
  }
}

/* Clients */
.clients-section .clients-slider {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
.clients-section .client-item {
  flex: 0 0 calc(16.666% - 30px);
  min-width: 150px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: var(--card-bg);
  border-radius: 10px;
  transition: all 0.3s ease;
}
.clients-section .client-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 195, 255, 0.1);
}

/* À propos */
.about-us-section .about-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}
.about-us-section .about-column {
  flex: 1 1 calc(50% - 15px);
  min-width: 300px;
}

/* Contact */
/* Cartes de formulaire de contact */
.contact-section .contact-form {
  flex: 1 1 calc(50% - 20px);
  min-width: 300px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 24px;
  padding: 2rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}
.contact-section .contact-form:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

/* Structure interne du formulaire */
.contact-section .form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.contact-section .form-group {
  margin-bottom: 1.5rem;
  width: 100%;
}
.contact-section .form-group.half {
  flex: 1 1 calc(50% - 10px);
  min-width: 0;
}
.contact-section input,
.contact-section textarea {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-default);
  transition: border-color 0.3s ease;
}
.contact-section input:focus,
.contact-section textarea:focus {
  border-color: var(--primary-color);
  outline: none;
}
.contact-section textarea {
  min-height: 150px;
  resize: vertical;
}
.contact-section .btn-submit {
  background: rgba(181, 217, 218, 1);
  color: var(--primary-color);
  border: none;
  padding: 12px 30px;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-bold);
  font-weight: 600;
  font-size: 1.2em;
  transition: all 0.3s;
  display: inline-block;
  margin-top: 1rem;
}
.contact-section .btn-submit:hover {
  box-shadow: 0px 4px 4px 0px rgba(61, 90, 128, 0.25);
  transform: translateY(-2px);
  background: rgba(181, 217, 218, 0.9);
}


/* Popups */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(149, 149, 149, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}
.popup-overlay.active {
  opacity: 1;
  visibility: visible;
}
.popup-content {
  background-color: var(--card-bg);
  backdrop-filter: blur(10px);
  box-shadow: 0px 0px 14.3px 12px rgba(61, 90, 128, 0.4);
  border-radius: 10px;
  padding: 30px;
  max-width: 800px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 0 30px rgba(0, 195, 255, 0.3);
}
.popup-close {
  position: absolute;
  top: 15px;
  right: 15px;
  font-size: 24px;
  color: var(--white);
  cursor: pointer;
  transition: all 0.3s;
}
.popup-close:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}
.features-flex {
  display: flex;
  gap: 30px;
  flex-direction: column;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 768px) {
  .features-flex {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
  }
  .feature-item {
    flex: 0 0 90%;
    scroll-snap-align: center;
    margin-right: 20px;
  }
}

/* Cartes avec effet reveal */
.reveal-section {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 8px;
  isolation: isolate;
  background: var(--card-bg);
  backdrop-filter: blur(25px);
  box-shadow: 0px 0px 14.3px 12px rgba(61, 90, 128, 0.4);
  border-radius: 14px;
  padding: 20px 17px;
  border: 1px solid transparent;
  transition: all 0.5s;
}
.reveal-section:hover {
  border-color: var(--white);
  box-shadow: 0 0 20px rgba(180, 237, 255, 0.6),
              0 0 30px rgba(180, 237, 255, 0.4),
              inset 0 0 15px rgba(180, 237, 255, 0.2);
}
.reveal-section .item-title {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
.learn-more {
  color: var(--white);
  text-decoration: none;
}
.reveal-section .content {
  display: none;
}
.reveal-content {
  position: relative;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s;
  color: var(--white);
}
.reveal-section:hover .reveal-content {
  opacity: 1;
  transform: translateY(0);
}
.reveal-section:hover .reveal-content h3 {
  color: var(--white);
  text-shadow: 0 0 5px var(--white);
}
.reveal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--card-bg);
  opacity: 0;
  transition: opacity 0.5s;
  z-index: 1;
}
.reveal-section:hover .reveal-overlay {
  opacity: 1;
}

/* Footer */
.site-footer {
  background-color: rgba(154, 173, 194, 1);
  color: var(--white);
  padding: 40px 0;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.footer-widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}
.footer-widgets .menu {
  justify-content: space-around;
}
.footer-widget-title {
  color: var(--white);
  margin-bottom: 20px;
}
.footer-bottom {
  margin-top: 30px;
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Effets visuels */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}
.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background-color: #fff;
  border-radius: 50%;
  animation: twinkle 5s infinite;
}
@keyframes twinkle {
  0% { opacity: 0.2; }
  50% { opacity: 1; }
  100% { opacity: 0.2; }
}

/* Hero */
.hero-section {
  text-align: center;
}
.hero-content {
  height: 90dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.hero-content .hero-title {
  font-size: 24px;
  margin-bottom: 20px;
  font-family: var(--font-default);
  font-weight: 500;
  letter-spacing: 20px;
}
.hero-content .hero-description {
  font-family: var(--font-default);
  font-weight: 250;
  font-size: 64px;
  line-height: 120%;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  opacity: 0.1;
  backdrop-filter: blur(2px);
  transition: 0.3s all;
}
.hero-content .hero-description:hover {
  filter: drop-shadow(0px 0px 10px #e6eff5)
          drop-shadow(0px 0px 15px #e6eff5)
          drop-shadow(0px 0px 20px #e6eff5)
          drop-shadow(0px 0px 40px #e6eff5);
  opacity: 1;
}

/* Flèche de défilement */
#scroll-arrow {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  cursor: pointer;
  z-index: 2000;
  transition: opacity 0.4s ease, transform 0.3s ease;
  animation: bounce 2s infinite ease-in-out;
}
#scroll-arrow svg {
  transition: transform 0.5s ease;
}
#scroll-arrow.rotate svg {
  transform: rotate(180deg);
}
#scroll-arrow:hover {
  transform: translateX(-50%) translateY(-4px);
  color: var(--primary-color);
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* Carousel des offres */
.offers-carousel {
  position: relative;
  overflow: hidden;
  width: 100%;
  /*padding: 60px 0;*/
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.carousel-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scrollCards 45s linear infinite;
}
.feature-card {
  flex: 0 0 420px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: 24px;
  padding: 2rem;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}
.feature-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
}
.feature-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.feature-card .learn-more {
  display: inline-block;
  color: var(--white);
  border: 1px solid var(--primary-color);
  padding: 10px 18px;
  border-radius: 30px;
  transition: all 0.3s ease;
}
.feature-card .learn-more:hover {
  background: var(--primary-color);
  color: var(--white);
}
@keyframes scrollCards {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.offers-carousel:hover .carousel-track {
  animation-play-state: paused;
}
.fade {
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.fade-left {
  left: 0;
  background: linear-gradient(to right, rgba(15, 15, 15, 0) 0%, transparent 100%);
}
.fade-right {
  right: 0;
  background: linear-gradient(to left, rgba(15, 15, 15, 0) 0%, transparent 100%);
}

/* Popups modernes */
.popup {
  position: fixed;
  inset: 0;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  padding: 2rem;
}
.popup.active {
  display: flex;
}
.popup-content {
  position: relative;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 24px;
  color: #fff;
  padding: 3rem;
  max-width: 900px;
  width: 100%;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.4);
  overflow-y: auto;
  max-height: 90vh;
  animation: popupFadeIn 0.4s ease;
}
.popup-content::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 40%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}
.popup-content h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 1.2rem;
}
.popup-content h4 {
  color: var(--primary-color);
  margin-top: 1.6rem;
  margin-bottom: 0.8rem;
}
.popup-content p,
.popup-content li {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.8rem;
  color: #e0e0e0;
}
.popup-content ul {
  margin-left: 1.2rem;
  list-style: disc;
}
.close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  font-size: 2rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}
.close-btn:hover {
  background: var(--primary-color);
  color: #000;
}
@keyframes popupFadeIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}




/* Ajoutez ou modifiez dans votre CSS */
.contact-section input,
.contact-section textarea {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-default);
  transition: border-color 0.3s ease;
  box-sizing: border-box; /* Empêche le débordement */
}

.contact-section .form-group.half {
  flex: 1 1 calc(50% - 15px); /* Réduction de la largeur pour éviter le débordement */
  min-width: 0; /* Permet aux éléments de réduire leur taille si nécessaire */
  margin-bottom: 0; /* Supprime la marge inutile */
}

.contact-section .form-row {
  display: flex;
  gap: 30px; /* Espacement entre les deux colonnes */
  flex-wrap: wrap;
  margin-bottom: 1rem; /* Espacement sous la ligne */
}
/* Section des informations de contact */
/* Section des informations de contact */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1 1 calc(50% - 20px);
    min-width: 300px;
    padding: 2rem;
    background: rgba(61, 90, 128, 0.2);
    backdrop-filter: blur(18px);
    border-radius: 24px;
    border: 1px solid rgba(181, 217, 218, 0.4);
	
  	box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
}

.contact-address h3,
.contact-details h3 {
    color: #ffffff;
    font-family: var(--font-bold);
    font-size: 1.3em;
    margin-bottom: 12px;
}

.contact-address p,
.contact-details p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

/* Icônes des réseaux sociaux */
.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(181, 217, 218, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    transition: all 0.3s;
}

.social-icon:hover {
    background: rgba(181, 217, 218, 1);
    color: #3d5a80;
    transform: translateY(-4px);
}

/* Styles pour les labels */
.contact-section label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff; /* Blanc pour un bon contraste */
    font-family: var(--font-bold);
    font-weight: 500;
    font-size: 15px;
    text-transform: none;
}

/* Styles pour les placeholders */
.contact-section input::placeholder,
.contact-section textarea::placeholder {
    color: rgba(255, 255, 255, 0.8); /* Plus clair que le texte normal */
    font-size: 14px;
    font-style: italic;
    opacity: 1; /* Assure une visibilité maximale */
}

/* Ajustement des champs pour intégrer les labels */
.contact-section .form-group {
    margin-bottom: 1.8rem; /* Espacement accru pour les labels */
}

/* Ajustement des champs "half" pour éviter le débordement */
.contact-section .form-group.half {
    flex: 1 1 calc(50% - 20px); /* Réduction de la largeur pour éviter le débordement */
    min-width: 0;
}




.feature-card {
    flex: 0 0 420px;
    background: rgba(61, 90, 128, 0.2); /* Couleur de fond semi-transparente */
    backdrop-filter: blur(18px); /* Flou de l'arrière-plan */
    -webkit-backdrop-filter: blur(18px);
    border-radius: 24px;
    padding: 2rem;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
    /* ... autres styles existants ... */
}
.offers-carousel {
    position: relative;
    overflow: hidden;
    /*padding: 60px 0;*/
    /* Ajoutez un fond semi-transparent et un flou au conteneur parent */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    margin: 0 20px;
}

.carousel-track {
    /* Laissez l'animation inchangée */
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scrollCards 45s linear infinite;
}

.feature-card {
    /* Retirez le backdrop-filter des cartes individuelles */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    /* ... autres styles ... */
}
