/* --- Début du script CSS optimisé --- */

/* Corps de la page */
/* Corps de la page */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    background: linear-gradient(135deg, #000000, #000000); /* Nouveau dégradé de bleu élégant */
    color: #ffffff;
    overflow-x: hidden;
    transition: all 0.3s ease-in-out;
    position: relative; /* Nécessaire pour gérer l'arrière-plan avec les points */
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.15) 2px, transparent 2px); /* Points visibles */
    background-size: 50px 50px; /* Taille des points */
    animation: move-particles 12s linear infinite;
    opacity: 0.5; /* Opacité ajustée pour la visibilité des points */
}

@keyframes move-particles {
    from { background-position: 0 0; }
    to { background-position: 100px 100px; }
}


/* Définir l'animation "fade-pulse" */
@keyframes fadePulse {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

.announcement {
  animation: fadePulse 3s infinite ease-in-out;  /* Animation de 3 secondes */
}

/* Animation parallax */
.parallax {
    background-image: url('your-image.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    height: 500px;
    width: 100%;
    position: relative;
}

/* Effet de défilement horizontal pour sections importantes */
.horizontal-scroll {
    display: flex;
    justify-content: space-between;
    overflow-x: scroll;
    padding: 50px 0;
}

.horizontal-scroll .item {
    min-width: 300px;
    margin: 0 15px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 10px;
    padding: 20px;
    color: rgb(0, 0, 0);
    transition: transform 0.3s ease;
}

.horizontal-scroll .item:hover {
    transform: scale(1.05);
}

.horizontal-scroll::-webkit-scrollbar {
    display: none;
}

.testimonials {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    background: #000000;
    color: #00AEEF;
}

.testimonial-card {
    background: #00AEEF;
    padding: 30px;
    border-radius: 15px;
    margin: 10px;
    width: 300px;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    animation: fadeInUp 0.6s forwards;
}

.testimonial-card:nth-child(1) { animation-delay: 0.2s; }
.testimonial-card:nth-child(2) { animation-delay: 0.4s; }
.testimonial-card:nth-child(3) { animation-delay: 0.6s; }

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

.testimonial-card p {
    font-style: italic;
}

.testimonial-card h3 {
    font-weight: bold;
    color: #00AEEF;
}

.subscribe-form {
    background: linear-gradient(135deg, #ffffff, #fffefe);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.5);
    text-align: center;
    margin-top: 50px;
}

.subscribe-form input[type="email"] {
    padding: 15px;
    border-radius: 10px;
    border: none;
    font-size: 16px;
    width: 70%;
    margin-right: 10px;
}

.subscribe-form button {
    padding: 15px 30px;
    border-radius: 10px;
    background: #00AEEF;
    border: none;
    color: #00AEEF;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.subscribe-form button:hover {
    background: #00AEEF;
}

.card {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 20px rgb(0, 0, 0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgb(0, 0, 0);
}



@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* --- Animation de défilement --- */
[data-scroll] {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease, transform 1s ease;
}

[data-scroll].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.navbar {
    background: rgba(0, 0, 0, 0.9);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 5px 15px rgb(0, 0, 0);
    transition: background 0.3s ease;
}

.navbar:hover {
    background: rgba(0, 0, 0, 0.95);
}

.navbar .logo {
    font-size: 28px;
    font-weight: bold;
    color: #00AEEF;
    text-transform: uppercase;
    text-shadow: 0 0 8px #00AEEF;
}

.navbar-nav {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.navbar-nav .nav-link {
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    transition: color 0.5s ease, transform 0.5s ease;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #000000, #000000);
    transition: width 0.5s ease;
}

.navbar-nav .nav-link:hover {
    color: #00CFFF;
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.navbar-nav .nav-link:hover::before {
    width: 100%;
}

/* Bloc texte et image */
.text-image-block {
    position: relative;
    padding: 120px 20px;
    background: linear-gradient(135deg, #000000 10%, #00CFFF 90%); /* Nouveau dégradé bleu */
    color: #fff;
    text-align: center;
    clip-path: polygon(0 0, 100% 8%, 100% 92%, 0 100%);
    box-shadow: 0px 15px 50px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    animation: fade-in-block 1.5s ease forwards;
}



@keyframes fade-in-block {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.text-image-block img {
    max-width: 80%;
    border-radius: 15px;
    box-shadow: 0px 15px 50px rgba(0, 0, 0, 0.8);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.text-image-block img:hover {
    transform: scale(1.1);
    box-shadow: 0px 25px 80px rgb(0, 0, 0);
}

.text-image-block h2 {
    font-size: 52px;
    font-weight: bold;
    background: linear-gradient(90deg, #c6f3ff, #d4e9ff, #cce1ee);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(234, 242, 247, 0.6);
    animation: gradient-move 3s infinite;
}

.text-image-block p {
    font-size: 20px;
    font-weight: bold;
    background: linear-gradient(90deg, #ffffff, #d4e9ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(234, 242, 247, 0.6);
    animation: gradient-move 3s infinite;
}

.text-image-block .btn {
    padding: 15px 30px;
    background: linear-gradient(120deg, #000000, #000000);
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
    border-radius: 30px;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.4s ease, background 0.4s ease, box-shadow 0.4s ease;
}

.text-image-block .btn:hover {
    background: linear-gradient(120deg, #000000, #000000);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.8);
}

.product-card {
  background: #111;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.product-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.product-card {
  background: #111;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.product-card:hover {
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.product {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product:hover {
  transform: rotateX(8deg) rotateY(8deg) scale(1.05);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}


/* --- Fin du script CSS optimisé --- */