/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: #000;
  color: #fff;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: #111;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo img {
  height: 45px;
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav a {
  text-decoration: none;
  color: #ccc;
  font-weight: 600;
  transition: color 0.3s ease;
  font-size: 0.95rem;
}

.nav a:hover,
.nav a.active {
  color: #fff;
}

/* Section */
.packs-section {
  text-align: center;
  padding: 80px 20px;
}

.packs-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 50px;
  color: #fff;
}

/* Cards container */
.packs-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 35px;
}

/* Card styling */
.pack-card {
  background-color: #1a1a1a;
  width: 280px;
  border: 2px solid #555;
  border-radius: 15px;
  padding: 30px 25px;
  transition: all 0.4s ease;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.pack-card h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #fff;
}

.pack-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 30px;
}

/* Hover gradient (all packs) */
.pack-card:hover {
  border: 1.5px solid transparent;
  background: linear-gradient(135deg, #8a2be2, #ff69b4, #ffea00);
  background-clip: padding-box;
  box-shadow: 0 0 25px rgba(255, 105, 180, 0.5);
  transform: translateY(-5px);
}

/* Button (styled <a>) */
.btn-devis {
  display: inline-block;
  text-decoration: none;
  border: 2px solid #666;
  background: transparent;
  color: #ccc;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  width: 100%;
  text-align: center;
}

.btn-devis:hover,
.btn-devis:active {
  background: linear-gradient(135deg, #8a2be2, #ff69b4, #ffea00);
  color: #000;
  border-color: transparent;
  box-shadow: 0 0 10px rgba(255, 105, 180, 0.4);
}

/* Responsive Design */
@media (max-width: 1100px) {
  .packs-container {
    flex-wrap: wrap;
    justify-content: center;
    gap: 25px;
  }

  .pack-card {
    width: 45%;
  }
}

@media (max-width: 700px) {
  .packs-container {
    flex-direction: column;
    align-items: center;
  }

  .pack-card {
    width: 90%;
  }

  .packs-title {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {
  .header {
    flex-direction: column;
    align-items: flex-start;
    padding: 15px 20px;
  }

  .nav ul {
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 10px;
  }

  .nav a {
    font-size: 1rem;
  }

  .packs-section {
    padding: 60px 15px;
  }

  .packs-title {
    font-size: 1.8rem;
    margin-bottom: 40px;
  }

  .pack-card {
    padding: 25px 20px;
  }

  .pack-card h2 {
    font-size: 1.4rem;
  }

  .pack-card p {
    font-size: 0.9rem;
  }

  .btn-devis {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}
