/* ===== GLOBAL ===== */

@font-face {
  font-family: 'Insaniburger';
  src: url('fonts/Insanibu.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  margin: 0;
  font-family: 'Insaniburger', 'Poppins', sans-serif;
  background: #ffffff;
  color:  #000000;
  scroll-behavior: smooth;
  
}

/* FILIGRANE GLOBAL */
body::before {
  content: "🏃🏀ACSL🏃⚽ACSL🏃🏀ACSL🏃🏀ACSL🏃🏐ACSL🏃🏋ACSL🏃⚾ACSL🏃🏸ACSL🏃⚽ACSL🏃🏀ACSL🏃🏀ACSL🏃🏐ACSL🏋⚾ACSL🏃🏀ACSL🏃🏸ACSL🏃⚽ACSL🏃🏀ACSL🏃🏐ACSL🏃🏋ACSL🏃⚽ACSL🏃🏀🏸ACSL🏃🏀ACSL🏃🏐ACSL🏃🏋🏀ACSL🏃⚾ACSL🏃🏸ACSL⚽🏸ACSL🏸🏀ACSL🏀🏃ACSL🏐🏸ACSL🏋⚾ACSL🏃🏀ACSL🏃🏸ACSL🏃⚽ACSL🏀🏃ACSL🏃🏐ACSL🏃🏋";
  
  position: fixed;
  inset: -20%;                 /* déborde volontairement */
  
  font-size: 6rem;
  font-weight: 700;
  letter-spacing: 30px;
  line-height: 1.5;

  color: rgba(0, 0, 0, 0.05);
  text-align: center;

  display: flex;
  align-items: center;
  justify-content: center;

  transform: rotate(-20deg);
  pointer-events: none;
  z-index: 0;
}

.section {
  padding: 80px 20px;
  transition: opacity 1s ease;
}

/* ===== HEADER ===== */
.menu-bar {
  background: #000000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  position: fixed;
  margin-right: 100px;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.header-logo-title {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 1;
}

.header-logo {
  width: 120px;
  height: 50px;
  object-fit: cover;
}

.menu-bar h1 {
  font-size: 1.2rem;
  font-family: 'Gemola';
  color: #fdfdfd;
  margin: 0;
}

.hamburger {
  width: 30px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
    margin-right: 80px; /* <-- ajuste la distance depuis le bord gauche */
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  height: 3px;
  background: #ffffff;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px,5px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px,-5px);
}

#navMenu.nav-hidden {
  display: none;
}

#navMenu.nav-visible {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 50px;
  right: 100px;
  background: #222;
  border-radius: 6px;
  padding: 10px 0;
  z-index: 1000;
}

#navMenu a {
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  display: block;
}
#navMenu a:hover { background: #800020; }


  /* ===== Version mobile ===== */
@media (max-width: 600px) {
  .hamburger {
    margin-right: 40px; /* décale le hamburger un peu à droite */
  }

  .menu-bar {
    justify-content: space-between; /* garde le h1 à gauche et le menu à droite */
    padding: 10px 15px; /* un peu d’air */
  }

  .menu-bar h1 {
    text-align: left; /* s’assure qu’il reste à gauche */
    font-size: 1rem;
  }
}

/* =============================================================== */
/* ============================ ACCUEIL ========================== */
/* =============================================================== */

.accueil {
  overflow: hidden; /* 🔒 empêche le scroll horizontal */
  width: 100%;
  min-height: 180vh;
  background-color: #ffffff;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start; /* 🔥 contenu en haut */
  padding: 200px 20px 100px;   /* espace haut + bas */
  box-sizing: border-box;
}


/* Image de ACSL */
.accueil-image {
  width: 300px;   /* ou max-width: 100% */
  margin: 0 auto 16px;  /* centre horizontalement et espace en bas */
  margin-top: 400px;      /* pousse l’image vers le bas */
  display: block;
  position: relative;    /* NE PAS mettre absolute */
}


/* Texte centré au-dessus de la vidéo */
.accueil-text { 
  position: absolute; 
  top: 45%; 
  left: 48%; 
  transform: translate(-50%, -50%); /* centre pile au milieu */ 
  display: flex; 
  flex-direction: column; 
  align-items: center; /* centre horizontalement */ 
  justify-content: center; 
  text-align: center; 
  z-index: 2; 
  width: 90%; /* évite le dépassement sur mobile */ 
  max-width: 800px; 
  box-sizing: border-box;
  margin-bottom: 60px; /* espace avant l’actualité */ 
  padding-top: 100px; /* 🔥 crée de l’espace au-dessus */
}

.accueil-text h2 {
  color: #d30c3e;
  font-size: 2.8em;
  margin: 0;
}

/* Réseaux sociaux */
.social-links {
  margin-top: 10px;      /* espace sous le h2 */
  display: flex;
  gap: 20px;
  z-index: 2;
}

.social-links a img {
  width: 36px;
  height: 36px;
}

.social-links a:hover img {
  transform: scale(1.1);
  opacity: 0.8;
}


/* ===== Cartes d’information ===== */
/* Trait fin */
.accueil-separator {
  width: 80%;
  max-width: 300px;
  border: none;
  border-top: 1px solid rgba(0,0,0,0.2);
  margin: 20px auto;
}

/* Carte Actualité */
.accueil-actu-container {
  display: flex;
  flex-direction: row;   /* FORCE l’alignement horizontal */
  gap: 20px;
  width: 100%;
} 

.accueil-actu-card {
  flex: 1; 
  max-width: none;       /* aucune limite */
  margin: 0;             /* empêche le recentrage */

  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  border-radius: 16px;
  overflow: hidden;
}

/* Titre ACTUALITE */
.actu-section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 30px;
}


/* Image */
.actu-image {
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25); /* 🔥 trait visible */
}

.actu-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

/* Voile sombre dégradé + titre */
.actu-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.85) 0%,     /* haut très sombre */
    rgba(0,0,0,0.2) 35%,    /* centre plus clair */
    rgba(0,0,0,0.2) 65%,    /* centre */
    rgba(0,0,0,0.85) 100%   /* bas très sombre */
  );

  padding: 14px;
}


.actu-overlay h4 {
  position: absolute;
  top: 12px;                 /* 🔼 remonte le titre */
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  width: 90%;
  color: #e6ca2d;
  text-align: center;
  font-size: 1.5rem;
  font-weight: lighter;
}

.actu-date,
.actu-more {
  position: absolute;
  z-index: 3;
  color: #fff;
}

/* Date */
.actu-date {
  position: absolute;
  bottom: 10px;
  left: 14px;

  background: rgba(209, 31, 31, 0.9);
  color: #ffffff;
  width: 48px;
  height: 48px;
  border-radius: 8px;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  font-weight: bold;
}

.actu-date span {
  font-size: 1.1rem;
}

.actu-date small {
  font-size: 0.7rem;
  text-transform: uppercase;
}

/* Lien */
.actu-more {
  position: absolute;
  bottom: 10px;
  right: 14px;

  font-size: 0.8rem;
  color: #fff;
  text-decoration: none;
  background: rgba(209, 31, 31, 0.9);
  padding: 6px 10px;
  border-radius: 12px;
}


.accueil .inscription-link {
  display: inline-block;
  padding: 10px 18px;

  background: #2e0000;
  color: #fff;
  text-decoration: none;
  font-weight: 600;

  border-radius: 20px;
}


/* =========================
   VERSION MOBILE
========================= */
@media (max-width: 768px) {
  .accueil {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    padding: 70px 16px 40px; /* 🔥 espace suffisant sous le menu */
    margin-top: 0;          /* ❌ supprimé */
  }

 

  /* Texte accueil */
  .accueil-text {
    position: relative;
    inset: auto;
    transform: none;

    width: 100%;
    margin: 0 auto;
    padding: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* Image ACSL */
  .accueil-image {
    width: 140px;
    margin: 8px auto 12px; /* 🔥 léger espace seulement */
  }

  /* Titres */
  .accueil-text h2 {
    font-size: 1.9rem;
  }

  .accueil-text h2 {
    font-size: 1.1rem;
  }

  /* Réseaux sociaux */
  .social-links {
    margin-top: 14px;
    gap: 16px;
  }

  .social-links a img {
    width: 30px;
    height: 30px;
  }

  /* ===== CARTE ACTUALITÉ ===== */
  .accueil-actu-container {
    flex-direction: column;
  }
  .accueil-actu-card {
    width: 100%;               /* 🔥 pleine largeur */
    margin-left: auto;
    margin-right: auto;
  }


  /* Image actu plus immersive */
  .actu-image img {
    height: 260px;  /* 🔥 plus grande sur mobile */
  }

  /* Titre sur image */
  .actu-overlay h4 {
    font-size: 1.1rem;
    top: 16px;
  }

  /* Date */
  .actu-date {
    width: 44px;
    height: 44px;
    bottom: 12px;
    left: 12px;
  }

  /* Bouton */
  .actu-more {
    bottom: 12px;
    right: 12px;
    font-size: 0.75rem;
    padding: 6px 10px;
  }

  /* Séparateur */
  .accueil-separator {
    width: 70%;
    margin: 16px auto;
  }
}

/* =========================================================
   SECTION : CLUBS
   ========================================================= */

.clubs {
  background-color: rgba(245, 245, 245, 0.6); /* 👈 60% opaque */
  color: rgb(0, 0, 0);
  padding: 10px 20px;
  overflow: hidden;
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
}


.clubs h2 {
  text-align: center;
  color: #000000;
  margin-bottom: 20px;
  font-size: 2.2rem; /* augmente la taille */
}



/* =========================================================
   STRUCTURE GÉNÉRALE DU CARROUSEL
   ========================================================= */

.carousel {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 5px 0;
  overflow: hidden;
  position: relative;
}

/* =========================================================
   BANDEAU 1 : VIDÉOS PLEINE LARGEUR
   ========================================================= */

.carousel.fullwidth {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-bottom: 5px;
  overflow: hidden;
}

.carousel.fullwidth video {
  flex: 1;
  height: 40vw;
  max-height: 300px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.carousel.fullwidth video:hover {
  transform: scale(1.03);
}

/* =========================================================
   BANDEAUX 2 & 3 : IMAGES DES CLUBS
   ========================================================= */

.carousel.clubs {
  justify-content: flex-start;
  align-items: center;
  gap: 30px;
  overflow-x: auto;            /* ← permet le scroll horizontal */
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  margin: 10px 0;
  position: relative;
}

/* Masquer scrollbar */
.carousel.clubs::-webkit-scrollbar {
  display: none;
}

/* Conteneur interne animé */
.carousel-track {
  display: flex;
  width: max-content;
}

/* Animation gauche (bandeau 2) */
.carousel-left .carousel-track {
  animation: scroll-left 35s linear infinite;
}

/* Animation droite (bandeau 3, sens inverse) */
.carousel-right .carousel-track {
  animation: scroll-right 35s linear infinite;
}

/* Pause de l’animation au survol */
.carousel.clubs:hover .carousel-track {
  animation-play-state: paused;
}

/* =========================================================
   STYLES DES BLOCS CLUBS
   ========================================================= */

.carousel.clubs .club-link {
  flex: 0 0 auto;
  width: 200px;
  height: 130px;
  position: relative;
  border-radius: 10%;
  margin-right: 20px; /* ← AJOUTE L’ESPACE ENTRE LES IMAGES */
  overflow: hidden;
}

.carousel.clubs .club-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1); /* ← dézoom à 90 % */
  opacity: 1.0;
  transition: transform 0.3s ease, opacity 1.0s ease;
}

.carousel.clubs .club-link:hover img {
  transform: scale(1.08);
  opacity: 1;
}

.carousel.clubs .club-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-weight: bold;
  text-align: center;
  font-size: 1rem;
  text-shadow: 0 0 5px rgba(0,0,0,0.7);
  pointer-events: none;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes scroll-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes scroll-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* =========================================================
   RESPONSIVE DESIGN
   ========================================================= */
@media (max-width: 768px) {

  /* ===== SECTION CLUBS ===== */
  .clubs {
    padding: 20px 10px;
  }

  .clubs h2 {
    font-size: 1.6rem;
    margin-bottom: 16px;
  }

  .carousel {
  margin: 2px 0;
}


  /* =========================================================
     VIDÉOS (BANDEAU 1)
     ========================================================= */

    .carousel.fullwidth {
    width: 100%;
    margin-left: 0;        /* 🔥 supprime le décalage */
    padding: 0 10px;       /* un peu d’air sur les côtés */
    gap: 8px;              /* espace réduit entre vidéos */
  }

   .carousel.fullwidth video {
    width: calc((100% - 16px) / 3); /* 🔥 3 vidéos visibles */
    height: 140px;                  /* hauteur réduite */
    width: 160px;
    max-height: none;
    border-radius: 10px;
  }

  /* =========================================================
     CAROUSELS CLUBS (BANDEAUX 2 & 3)
     ========================================================= */

  .carousel.clubs {
  gap: 6px;          /* 🔽 espace global réduit */
  margin: 4px 0;
  margin-bottom: 0;
  margin-top: 0;
}

.carousel-track {
  display: flex;
  gap: 8px;          /* 🔥 espace réel entre les images */
}

/* Blocs clubs plus petits */
.carousel.clubs .club-link {
  width: 90px;
  height: 90px;
  margin-right: 0;   /* 🔥 IMPORTANT : supprime le surplus */
  margin-top: 0;
  margin-bottom: 0;
  border-radius: 10px;
}


  .carousel.clubs .club-text {
    font-size: 0.85rem;
    padding: 4px;
  }

  /* =========================================================
     ANIMATIONS PLUS DOUCES SUR MOBILE
     ========================================================= */

  .carousel-left .carousel-track,
  .carousel-right .carousel-track {
    animation-duration: 55s; /* 🔥 plus lent */
  }
}



/* =========================================================
   SECTION : EVENEMENTS
   ========================================================= */

.evenements {
 
  padding: 40px 0;
  text-align: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  box-sizing: border-box;
}

.event {
  position: relative;       /* nécessaire pour le positionnement absolu du titre */
  display: inline-block;    /* largeur définie par l'image */
}

.event img {
  display: block;           /* supprime les espaces sous l'image */
  width: 100%;              /* image responsive */
  height: auto
  
}

.event-title {
  position: absolute;
  top: 20px;                /* distance depuis le haut de l'image */ 
  max-width: 100%;           /* jamais dépasser la largeur de l'image */
  text-align: center;
  color: #e6ca2d;
  padding: 4px 8px;
  border-radius: 6px;
  font-weight: lighter;
  z-index: 2;
  font-size: clamp(1rem, 2.5vw, 1.8rem); /* texte responsive */
}




/* CARROUSEL */
.events-carousel {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.events-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.events-track::-webkit-scrollbar {
  display: none;
}

/* UNE IMAGE VISIBLE */
/* EVENT */
.event {
  flex: 0 0 100vw;
  scroll-snap-align: start;
  position: relative; /* nécessaire pour que l'overlay soit relatif à l'image */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.event img {
  width: 100%;
  max-width: 500px;
  height: 80vh;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  position: relative; /* nécessaire si overlay absolu */
}

/* overlay sombre au-dessus de l'image */
.event img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.25); /* ajuste l'opacité pour l'assombrir */
  border-radius: 8px;
}


/* OVERLAY sombre ajusté à l'image */
.overlay {
  position: absolute;
  inset: 0; /* 🔥 couvre toute l’image */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 500px;

  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.7) 0%,     /* 🔥 haut sombre */
    rgba(0,0,0,0.25) 30%,  /* centre plus clair */
    rgba(0,0,0,0.25) 70%,  /* centre */
    rgba(0,0,0,0.7) 100%   /* 🔥 bas sombre */
  );

  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 10px 15px;
  box-sizing: border-box;

  border-radius: 8px; /* même arrondi que l’image */
}


/* Date en bas à gauche de l'image */
.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 48px;
  height: 48px;
  background: rgba(209, 31, 31, 0.9);
  color: #fff;
  border-radius: 8px;

  font-weight: bold;
  font-size: 1rem;

  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 3;
}

.event-date span {
  font-size: 1.2rem;
}

.event-date small {
  font-size: 0.7rem;
  text-transform: uppercase;
}


/* boutons droite */
.event-buttons {
  display: flex;
  gap: 10px;
}

.event-btn {
  padding: 6px 12px;
  background: rgba(209, 31, 31, 0.9);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-size: 0.8rem;
}



/* ===== CARROUSEL ===== */
.events-carousel {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw); /* prend toute la largeur de l'écran */
  overflow: hidden;
}

.events-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory; /* snap pour chaque image */
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth; /* scroll fluide */
}

.events-track::-webkit-scrollbar {
  display: none; /* cache la scrollbar */
}



/* ===== TEXTE EN DESSOUS DE L'IMAGE ===== */
.event p {
  margin-top: 8px;
  font-size: 1rem;
  color: #333;
}

/* ===== PAGINATION POINTS ===== */
.events-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.events-dots button {
  width: 10px;                /* largeur = hauteur */
  height: 10px;
  border-radius: 50%;         /* cercle parfait */
  border: none;
  background: rgba(0,0,0,0.3);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  padding: 0;                 /* supprime tout padding */
  box-sizing: border-box;     /* inclut bordures et padding */
}

.events-dots button.active {
  background: #d11f1f;
  transform: scale(1.3);
  /* Optionnel : pour garder le cercle parfait même en scale */
  border-radius: 50%;
}



/* ===== VERSION MOBILE ===== */
@media (max-width: 768px) {
  .event img {
    width: 90%;       /* prend 90% de la largeur de l'écran */
    max-width: 300px; /* limite la taille sur grand écran */
    height: 50vh;     /* hauteur réduite déjà définie */
    margin: 0 auto;   /* centre horizontalement */
  }

  .overlay {
    width: 90%;       /* même largeur que l'image */
    max-width: 300px; /* même limite que l'image */
    padding: 8px 10px;
    left: 50%;
    transform: translateX(-50%); /* centre l'overlay sur l'image */
  }

  .event-date {
    width: 50px;
    height: 50px;
  }
  .event-more, 
  .event-photos {
    font-size: 0.8rem;
    padding: 4px 8px;
  }

  .event-buttons 
  .event-btn {
    padding: 4px 6px;
    font-size: 0.65rem;
  }

  .event-square {
    width: 24px;
    height: 24px;
  }
}




/* =========================================================
   SECTION : A PROPOS DE L'ACSL
   ========================================================= */



/* ======================================================= */
/* ===================== PARTENAIRES ===================== */
/* ======================================================= */
.partners {
  text-align: center;
  background-color: rgba(244, 244, 244, 0.7);

  width: 100vw;                     /* prend toute la largeur */
  margin-left: calc(50% - 50vw);    /* compense le centrage du parent */
  box-sizing: border-box;
}



.partners h2 {
  color: #000000; /* rouge bordeaux */
  text-align: center;
  margin-bottom: 30px;
  font-size: 1.8rem;
  font-weight: 700;
  font-family: 'Insaniburger', sans-serif;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.partners-logos img {
  width: 150px;
  height: 100px;
  object-fit: contain; /* garde les proportions sans déformation importante */
  border-radius: 16px;
  transition: transform 0.3s ease;
}

.partners-logos img:hover {
  transform: scale(1.1);
}


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .partners {
    padding: 30px 12px;
  }

  .partners h2 {
    font-size: 1.4rem;
    margin-bottom: 20px;
  }

  .partners-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 🔥 3 colonnes */
    gap: 12px;
    justify-items: center;
  }

  .partners-logos img {
    width: 100%;
    max-width: 90px;
    height: auto;
  }
}

/* ===== BOUTON FLOTTANT CONTACT ===== */
.floating-contact-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #e91147;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(233, 17, 71, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1000;
}

.floating-contact-btn:hover {
  background-color: #c10d3a;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(233, 17, 71, 0.6);
}

.floating-contact-btn svg {
  width: 28px;
  height: 28px;
}

/* ===== MODAL FORMULAIRE CONTACT ===== */
.contact-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.contact-modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 30px 40px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  position: relative;
  animation: slideDown 0.3s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.contact-close {
  color: #aaa;
  float: right;
  font-size: 32px;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}

.contact-close:hover,
.contact-close:focus {
  color: #e91147;
}

.contact-modal-content h2 {
  color: #e91147;
  margin-top: 0;
  margin-bottom: 25px;
  font-size: 28px;
  text-align: center;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
  font-size: 14px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  font-family: Arial, sans-serif;
  transition: border-color 0.3s;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #e91147;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  padding: 14px;
  background-color: #e91147;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

.submit-btn:hover {
  background-color: #c10d3a;
  transform: translateY(-2px);
}

.submit-btn:active {
  transform: translateY(0);
}

.form-status {
  margin-top: 15px;
  padding: 12px;
  border-radius: 6px;
  text-align: center;
  font-size: 14px;
  display: none;
}

.form-status.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
  display: block;
}

.form-status.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .floating-contact-btn {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }

  .floating-contact-btn svg {
    width: 24px;
    height: 24px;
  }

  .contact-modal-content {
    width: 95%;
    padding: 20px 25px;
    margin: 10% auto;
  }

  .contact-modal-content h2 {
    font-size: 24px;
  }
}
