/* ========================== */
/* 🔹 RESET & BASE */
/* ========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #2c3e50;
    color: #ecf0f1;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

 /* =======================
       HEADER DESKTOP
    =========================== */
    .desktop-header {
      background: linear-gradient(90deg, #0d0d0d, #1a1a1a);
      padding: 15px 0;
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 1000;
    }
    .desktop-header nav .nav-links {
      list-style: none;
      display: flex;
      justify-content: center;
      gap: 25px;
      margin: 0;
      padding: 0;
    }
    .desktop-header nav .nav-links li a {
      text-decoration: none;
      color: white;
      font-size: 18px;
      font-weight: 500;
      padding: 5px 10px;
      transition: color 0.3s ease-in-out;
    }
    .desktop-header nav .nav-links li a:hover {
      color: #007bff;
    }

    /* =======================
       HEADER MOBILE
    =========================== */
    .mobile-header {
      background: linear-gradient(90deg, #0d0d0d, #1a1a1a);
      padding: 15px 0;
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 1000;
      display: none; /* Affiché uniquement en mobile */
    }
    .mobile-header nav .menu-toggle {
      font-size: 30px;
      color: white;
      cursor: pointer;
      margin-left: 20px;
    }

    /* =======================
       SIDEBAR (MENU BURGER)
    =========================== */
    .sidebar {
      position: fixed;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.9);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: left 0.4s ease-in-out;
      z-index: 999;
    }
    .sidebar.active {
      left: 0;
    }
    .sidebar .close-menu {
      position: absolute;
      top: 10px;
      right: 20px;
      font-size: 35px;
      color: white;
      cursor: pointer;
    }
    .sidebar .nav-links {
      list-style: none;
      padding: 0;
      text-align: center;
      width: 100%;
    }
    .sidebar .nav-links li {
      margin: 15px 0;
    }
    .sidebar .nav-links li a {
      text-decoration: none;
      color: white;
      font-size: 22px;
      font-weight: bold;
      padding: 10px 20px;
      display: block;
      transition: background 0.3s;
    }
    .sidebar .nav-links li a:hover {
      background: #007bff;
      border-radius: 5px;
    }

    /* =======================
       MEDIA QUERIES
    =========================== */
    /* Mobile : afficher le header mobile et masquer le header desktop */
@media (max-width: 768px) {
  .desktop-header { display: none; }
  .mobile-header { display: block; }
}
    /* Desktop : masquer la sidebar et le header mobile */
@media (min-width: 769px) {
  .desktop-header { display: block; }
  .mobile-header, .sidebar { display: none; }
}

/* ========================== */
/* 🔹 CONTENEURS GÉNÉRAUX */
/* ========================== */
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    padding: 50px 20px;
    text-align: center;
}

/* ========================== */
/* 🔹 HERO SECTION */
/* ========================== */
.hero {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    padding: 60px 30px;
    border-radius: 12px;
    text-align: center;
    margin-top: 100px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.hero h1 {
    font-size: 42px;
    color: #ecf0f1;
    font-weight: bold;
}

.hero p {
    font-size: 20px;
    color: #bdc3c7;
    max-width: 800px;
    margin: 10px auto;
}

.hero .btn {
    background: #f39c12;
    color: white;
    padding: 12px 25px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: 0.3s;
}

.hero .btn:hover {
    background: #e67e22;
}

/* ========================== */
/* 🔹 PAGE MON COMPTE (account.php) */
/* ========================== */

.account-container {
    text-align: center;
    max-width: 1200px;
    width: 90%;
    margin: 50px auto;
    background: #2c3e50;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4);
    color: white;
}

/* ✅ Titres */
.account-container h2 {
    font-size: 32px;
    font-weight: bold;
    color: #f1c40f;
    margin-bottom: 25px;
}

/* ✅ Conteneur flexible */
.account-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

/* ✅ Boîtes stylisées */
.account-box {
    background: #34495e;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    width: 48%;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

/* ✅ Animation au survol */
.account-box:hover {
    transform: scale(1.05);
}

/* ✅ Titres des sections */
.account-box h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #f1c40f;
}

/* ✅ Texte des sections */
.account-box p {
    font-size: 16px;
    margin-bottom: 15px;
    color: #ecf0f1;
}

.admin-box h3 {
    font-size: 20px;
    font-weight: bold;
}

.btn-admin {
    display: inline-block;
    padding: 10px 15px;
    background: #e67e22;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    transition: 0.3s;
}

.btn-admin:hover {
    background: #d35400;
}

@media (max-width: 768px) {
  .admin-box {
    transform: scale(1.2);
    transform-origin: top left;
    overflow-x: auto;
    width: 80%;
    max-width: none;
    margin: 10px auto;
    padding: 15px;
    box-sizing: border-box;
  }

  .admin-box h3 {
    font-size: 18px;
  }

  .btn-admin {
    font-size: 14px;
    padding: 8px 12px;
    margin-top: 8px;
  }

  /* Rendre le tableau responsive */
  .admin-box table {
    width: 100%;
	min-width: 400px;
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .admin-box table th,
  .admin-box table td {
    font-size: 14px; /* Réduit un peu la taille du texte */
    padding: 6px;    /* Ajuste le padding si besoin */
  }
}

/* ========================== */
/* 🔹 EDIT ORDERS */
/* ========================== */

/* ✅ Conteneur principal */
.order-form-container {
    width: 500px;
    background: #34495e; /* ✅ Fond sombre */
    color: #ecf0f1; /* ✅ Texte blanc */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    position: relative;
}

/* ✅ Titre en orange */
.order-form-container h3 {
    font-size: 1.8rem;
    color: #f39c12; /* ✅ Orange vif */
    margin-bottom: 20px;
}

/* ✅ Informations de la commande */
.order-form-container p {
    font-size: 1rem;
    margin: 10px 0;
}

/* ✅ Labels */
.order-form-container label {
    display: block;
    margin: 12px 0 5px;
    font-weight: bold;
}

/* ✅ Sélecteur */
.order-form-container select {
    width: 100%;
    padding: 10px;
    background: #2c3e50;
    color: #ecf0f1;
    border: 1px solid #555;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 15px;
    box-sizing: border-box;
}

/* ✅ Bouton Modifier */
.order-form-container button {
    width: 100%;
    padding: 12px;
    background-color: #27ae60; /* ✅ Vert pro */
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.order-form-container button:hover {
    background-color: #2ecc71; /* ✅ Vert clair au hover */
    transform: scale(1.02);
}

/* ✅ Bouton Retour */
.cancel-btn {
    display: block;
    text-align: center;
    background: #e74c3c; /* ✅ Rouge */
    color: #fff;
    padding: 10px;
    border-radius: 6px;
    font-size: 1rem;
    text-decoration: none;
    margin-top: 10px;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.cancel-btn:hover {
    background: #c0392b; /* ✅ Rouge plus foncé */
    transform: scale(1.02);
}

/* ✅ Message d'erreur */
.error-message {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.2);
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

/* ✅ Responsive */
@media (max-width: 768px) {
    .order-form-container {
        width: 90%;
        padding: 20px;
    }
}

/* ========================== */
/* 🔹 PAGE COMMANDES (commandes.php) */
/* ========================== */

.order-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
}

/* ✅ Boîte de commande */
.order-box {
    background: #34495e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    width: 48%;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

/* ✅ Animation au survol */
.order-box:hover {
    transform: scale(1.05);
}

/* ✅ Titres des commandes */
.order-box p {
    font-size: 16px;
    margin-bottom: 10px;
    color: #ecf0f1;
}

/* ✅ Style des statuts */
.status {
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 5px;
}

.status.en_attente {
    color: #f1c40f;
}

.status.valide {
    color: #2ecc71;
}

.status.annule {
    color: #e74c3c;
}

/* ✅ Style du bouton Retour */
.btn-back {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 12px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    margin-top: 20px;
    transition: background 0.3s ease-in-out;
}

.btn-back:hover {
    background: #0056b3;
}

/* ✅ Responsive */
@media (max-width: 768px) {
    .order-box {
        width: 100%;
    }
}

/* ========================== */
/* 🔹 Admin */
/* ========================== */

.admin-container {
    max-width: 1200px;
    width: 90%;
    margin: 50px auto;
    padding: 30px;
    background: #2c3e50;
    border-radius: 10px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
    color: white;
}

.admin-box {
    background: #34495e;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

table {
    width: 100%;
    margin-top: 10px;
}

th, td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.btn-save, .btn-edit, .btn-delete {
    padding: 8px 15px;
    color: white;
    border-radius: 5px;
    text-decoration: none;
}

.btn-edit { background: #f1c40f; }
.btn-delete { background: #e74c3c; }

/* ✅ Conteneur principal */
.editusers-container {
    background: #34495e;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 450px;
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

/* ✅ Animation d’apparition */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ✅ Titre avec icône */
.editusers-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: #f39c12;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.editusers-title i {
    font-size: 28px;
    color: #f39c12;
}

/* ✅ Informations utilisateur */
.editusers-info {
    font-size: 16px;
    margin: 8px 0;
    color: #ecf0f1;
}

.editusers-info strong {
    color: #f1c40f;
}

/* ✅ Formulaire */
.editusers-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

/* ✅ Label */
.editusers-label {
    font-size: 16px;
    font-weight: bold;
    color: #ecf0f1;
    text-align: left;
}

/* ✅ Sélecteur */
.editusers-select {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    background: #ecf0f1;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
}

/* ✅ Bouton Modifier */
.editusers-btn-submit {
    background: #27ae60;
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease-in-out;
}

.editusers-btn-submit:hover {
    background: #2ecc71;
}

/* ✅ Bouton Retour */
.editusers-btn-back {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    text-decoration: none;
    color: white;
    background: #e74c3c;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease-in-out;
}

.editusers-btn-back:hover {
    background: #c0392b;
}

/* ✅ RESPONSIVE */
@media (max-width: 480px) {
    .editusers-container {
        width: 90%;
    }

    .editusers-title {
        font-size: 20px;
    }

    .editusers-info {
        font-size: 14px;
    }

    .editusers-select, .editusers-btn-submit {
        font-size: 16px;
    }
}

/* ========================== */
/* 🔹 PROFILE */
/* ========================== */

/* Exemple de styles pour votre page profil */
.profile-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.profile-title {
    text-align: center;
    margin-bottom: 20px;
}

.profile-message {
    color: green;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.profile-form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

.profile-form input {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    box-sizing: border-box;
}

.btn-submit {
    margin-top: 20px;
    background-color: #007BFF;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 1rem;
    border-radius: 4px;
}

.btn-submit:hover {
    background-color: #0056b3;
}

/* ✅ Amélioration des inputs */
.editusers-input, .editusers-select {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 16px;
    background: #f5f5f5;
    transition: 0.3s;
}

.editusers-input:focus, .editusers-select:focus {
    border-color: #007bff;
    background: white;
}

/* ✅ Ajout d'une alerte si erreur */
.editusers-error {
    color: red;
    font-weight: bold;
    background: #ffdddd;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

/* ✅ Admin Panel */
.admin-summary {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px auto;
    max-width: 1000px;
    padding: 0 10px;
}

.summary-box {
    flex: 1 1 200px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.summary-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.summary-box h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #333;
}

.summary-box p {
    font-size: 2rem;
    font-weight: bold;
    margin: 0;
    color: #007BFF;
}

.search-bar {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
}

.admin-box table {
    width: 100%;
    border-collapse: collapse;
}

.admin-box th, .admin-box td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

.admin-box th {
    background: #007bff;
    color: white;
}

.btn-edit {
    background: #f39c12;
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 5px;
}

.btn-delete {
    background: #e74c3c;
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 5px;
}

/* ========================== */
/* 🔹 PAGE MOT DE PASSE (password.php) */
/* ========================== */

.form-password {
    background: #34495e;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* ✅ Champs du formulaire */
.form-password input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    background: #ecf0f1;
}

/* ✅ Bouton */
.form-password button {
    background: #e74c3c;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.form-password button:hover {
    background: #c0392b;
}

/* ✅ Messages d'erreur et de succès */
.error {
    color: #e74c3c;
    font-weight: bold;
}

.success {
    color: #2ecc71;
    font-weight: bold;
}

/* ✅ Responsive */
@media (max-width: 768px) {
    .form-password {
        width: 90%;
    }
}

/* ✅ Boutons standardisés */
.btn {
    display: inline-block;
    background: #007bff;
    color: white;
    padding: 12px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background: #0056b3;
}

/* ✅ Bouton de déconnexion */
.btn-logout {
    display: inline-block;
    background: #e74c3c;
    color: white;
    padding: 12px 15px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-logout:hover {
    background: #c0392b;
}

/* ✅ Responsive ajusté */
@media (max-width: 768px) {
    .account-content {
        flex-direction: column;
    }

    .account-box {
        width: 100%;
    }
}

/* ✅ Responsive : 1 colonne sur mobile */
@media (max-width: 768px) {
    .account-content {
        flex-direction: column;
        align-items: center;
    }

    .account-box {
        width: 100%;
    }

    .btn {
        font-size: 14px;
        padding: 10px 18px;
    }

    .btn-logout {
        font-size: 16px;
        padding: 12px 20px;
    }
}

/* ========================== */
/* 🔹 HERO (Bannière des Produits) */
/* ========================== */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("assets/img/banner.jpg") center/cover no-repeat;
    text-align: center;
    color: #fff;
    padding: 60px 20px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* ========================== */
/* 🔹 STYLE DES PRODUITS (Grille 3 par ligne) 🔹 */
/* ========================== */

.products-container {
    display: flex;
    justify-content: center;
    padding: 20px;
}

/* ✅ GRILLE DES PRODUITS */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* ✅ Fixe 3 colonnes */
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}

/* ✅ CARTE PRODUIT */
.product-box {
    background: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: 0.3s ease-in-out;
}

.product-box:hover {
    transform: scale(1.05);
}

.product-box img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.product-box h3 {
    font-size: 20px;
    color: #333;
    margin: 10px 0;
}

.product-box p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.product-box select {
    padding: 5px;
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.price {
    font-size: 18px;
    font-weight: bold;
    color: #e74c3c;
    margin-top: 10px;
}

.btn {
    display: inline-block;
    padding: 10px 15px;
    background: #27ae60;
    color: white;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
    transition: 0.3s;
}

.btn:hover {
    background: #2ecc71;
}

/* ✅ Responsive Design */
/* 🔹 2 produits par ligne sur tablette */
@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr); /* Fixe 2 colonnes */
    }
}

/* 🔹 1 produit par ligne sur mobile */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(1, 1fr); /* Fixe 1 colonne */
    }
}

/* =======================================
   Pages de paiement (success & cancel)
   ======================================= */

/* Section générale */
.checkout-success,
.checkout-cancel {
  background: #f4f7f6;
  padding: 2rem 0; /* Espace vertical pour respirer */
}

/* Conteneur principal */
.checkout-success .container,
.checkout-cancel .container {
  /* Hauteur minimale pour pousser le footer en bas 
     (85vh ~ 85% de la hauteur de la fenêtre) */
  min-height: 85vh;

  /* Apparence générale */
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);

  /* Alignement du contenu */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

/* Titres */
.checkout-success h1,
.checkout-cancel h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Couleur personnalisée pour chaque page */
.checkout-success h1 {
  color: #28a745; /* Vert succès */
}
.checkout-cancel h1 {
  color: #dc3545; /* Rouge annulation */
}

/* Paragraphe */
.checkout-success p,
.checkout-cancel p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  color: #555;
}

/* Bouton de retour */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #0056b3;
}

/* =====================
   Responsive (mobile)
   ===================== */
@media (max-width: 600px) {
  .checkout-success .container,
  .checkout-cancel .container {
    min-height: auto; /* Pour éviter les scrolls excessifs sur mobile */
    padding: 1.5rem;
  }

  .checkout-success h1,
  .checkout-cancel h1 {
    font-size: 2rem;
  }

  .checkout-success p,
  .checkout-cancel p {
    font-size: 1rem;
  }
}

/* ========================== */
/* 🔹 PAGE ADMIN (admin.php) */
/* ========================== */

/* ✅ Conteneur principal */
.admin-container {
    max-width: 1200px;
    width: 90%;
    margin: 50px auto;
    background: #2c3e50;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4);
    color: white;
    text-align: center;
}

/* ✅ Titres */
.admin-container h2 {
    font-size: 32px;
    font-weight: bold;
    color: #f1c40f;
    margin-bottom: 25px;
}

/* ✅ Titres des sections */
.admin-box h3 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #f1c40f;
}

/* ✅ Tableaux */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

table th, table td {
    padding: 12px;
    border: 1px solid #bdc3c7;
    text-align: center;
}

table th {
    background: #1abc9c;
    color: white;
    font-weight: bold;
}

table tr:nth-child(even) {
    background: #2c3e50;
}

table tr:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ✅ Boutons d'action */
.btn-edit, .btn-delete, .btn-back {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: all 0.3s ease-in-out;
}

.btn-edit {
    background: #f39c12;
    color: white;
}

.btn-edit:hover {
    background: #e67e22;
}

.btn-delete {
    background: #e74c3c;
    color: white;
}

.btn-delete:hover {
    background: #c0392b;
}

.btn-back {
    background: #3498db;
    color: white;
    margin-top: 20px;
}

.btn-back:hover {
    background: #2980b9;
}

/* ✅ Formulaire de modification du statut */
form {
    display: inline-block;
    margin: 0;
}

form select {
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #bdc3c7;
}

form button {
    background: #1abc9c;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

form button:hover {
    background: #16a085;
}

/* ✅ Responsive */
@media (max-width: 768px) {
    table th, table td {
        padding: 8px;
        font-size: 14px;
    }

    .admin-container {
        padding: 20px;
    }

    .btn-edit, .btn-delete, .btn-back {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* ========================== */
/* 🔹 PAGE CONNEXION (login.php) */
/* ========================== */

/* ✅ Conteneur du formulaire */
.login-container {
    background: #34495e; /* Fond gris foncé */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
    width: 90%;
    max-width: 400px;
    margin: auto; /* Centrage */
    margin-top: 50px; /* Espacement depuis le header */
}

/* ✅ Titre */
.login-container h2 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #f1c40f;
}

/* ✅ Champs de saisie */
.login-container input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #bdc3c7;
    border-radius: 5px;
    font-size: 16px;
    background: #ecf0f1;
    color: #333;
}

/* ✅ Effet focus */
.login-container input:focus {
    outline: 2px solid #f1c40f;
    background: white;
}

/* ✅ Bouton de connexion */
.login-container button {
    width: 100%;
    background: #3498db;
    color: white;
    border: none;
    padding: 12px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease-in-out;
}

/* ✅ Effet hover */
.login-container button:hover {
    background: #2980b9;
    transform: scale(1.05);
}

/* ✅ Message d'erreur */
.error-message {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
}

/* ✅ Lien d'inscription */
.login-container p {
    margin-top: 15px;
    font-size: 14px;
}

.login-container a {
    color: #f1c40f;
    text-decoration: none;
    font-weight: bold;
}

.login-container a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
  /* ✅ Conteneur du formulaire en mobile "zoomé" */
  .login-container {
    background: #34495e;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
    width: 95%;
    max-width: 350px;
    margin: 10px auto; /* Réduit la marge pour rapprocher le formulaire */
    /* Transformation pour "zoomer" le formulaire */
    transform: scale(1.1);
    transform-origin: top center;
  }

  /* ✅ Titre */
  .login-container h2 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #f1c40f;
  }

  /* ✅ Champs de saisie */
  .login-container input {
    width: 100%;
    padding: 10px;
    margin: 6px 0;
    border: 1px solid #bdc3c7;
    border-radius: 5px;
    font-size: 14px;
    background: #ecf0f1;
    color: #333;
  }

  /* ✅ Effet focus */
  .login-container input:focus {
    outline: 2px solid #f1c40f;
    background: white;
  }

  /* ✅ Bouton de connexion */
  .login-container button {
    width: 100%;
    background: #3498db;
    color: white;
    border: none;
    padding: 10px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease-in-out;
  }

  /* ✅ Effet hover */
  .login-container button:hover {
    background: #2980b9;
    transform: scale(1.05);
  }

  /* ✅ Message d'erreur */
  .error-message {
    color: red;
    font-size: 12px;
    margin-bottom: 10px;
  }

  /* ✅ Lien d'inscription */
  .login-container p {
    margin-top: 10px;
    font-size: 12px;
  }

  .login-container a {
    color: #f1c40f;
    text-decoration: none;
    font-weight: bold;
  }

  .login-container a:hover {
    text-decoration: underline;
  }
}

/* ========================== */
/* 🔹 PAGE INSCRIPTION (register.php) */
/* ========================== */

/* ✅ Centrage du contenu */
.register-container {
    background: #34495e; /* Fond gris foncé */
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
    width: 90%;
    max-width: 400px;
    margin: auto; /* Centrage */
    margin-top: 50px; /* Espacement depuis le header */
}

/* ✅ Titre */
.register-container h2 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #f1c40f;
}

/* ✅ Champs de saisie */
.register-container input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #bdc3c7;
    border-radius: 5px;
    font-size: 16px;
    background: #ecf0f1;
    color: #333;
}

/* ✅ Effet focus */
.register-container input:focus {
    outline: 2px solid #f1c40f;
    background: white;
}

/* ✅ Bouton d'inscription */
.register-container button {
    width: 100%;
    background: #f39c12;
    color: white;
    border: none;
    padding: 12px;
    font-size: 18px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease-in-out;
}

/* ✅ Effet hover */
.register-container button:hover {
    background: #e67e22;
    transform: scale(1.05);
}

/* ✅ Message d'erreur */
.error-message {
    color: red;
    font-size: 14px;
    margin-bottom: 10px;
}

/* ✅ Lien de connexion */
.register-container p {
    margin-top: 15px;
    font-size: 14px;
}

.register-container a {
    color: #f1c40f;
    text-decoration: none;
    font-weight: bold;
}

.register-container a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
  /* ✅ Conteneur du formulaire d'inscription zoomé */
  .register-container {
    background: #34495e; /* Fond gris foncé */
    padding: 20px; /* Réduction du padding pour mobile */
    border-radius: 10px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4);
    text-align: center;
    width: 95%;
    max-width: 350px; /* Taille maximale réduite */
    margin: 10px auto; /* Marges réduites pour rapprocher le formulaire */
    transform: scale(1.1); /* Zoom de 10% */
    transform-origin: top center; /* Ancrage du zoom en haut et centré */
  }

  /* ✅ Titre */
  .register-container h2 {
    font-size: 22px; /* Taille réduite */
    margin-bottom: 15px;
    color: #f1c40f;
  }

  /* ✅ Champs de saisie */
  .register-container input {
    width: 100%;
    padding: 10px; /* Padding ajusté */
    margin: 6px 0; /* Marges réduites */
    border: 1px solid #bdc3c7;
    border-radius: 5px;
    font-size: 14px; /* Police réduite */
    background: #ecf0f1;
    color: #333;
  }

  /* ✅ Effet focus */
  .register-container input:focus {
    outline: 2px solid #f1c40f;
    background: white;
  }

  /* ✅ Bouton d'inscription */
  .register-container button {
    width: 100%;
    background: #f39c12;
    color: white;
    border: none;
    padding: 10px; /* Padding ajusté */
    font-size: 16px; /* Police réduite */
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease-in-out;
  }

  /* ✅ Effet hover */
  .register-container button:hover {
    background: #e67e22;
    transform: scale(1.05);
  }

  /* ✅ Message d'erreur */
  .error-message {
    color: red;
    font-size: 12px; /* Police réduite */
    margin-bottom: 10px;
  }

  /* ✅ Lien de connexion */
  .register-container p {
    margin-top: 10px; /* Marge réduite */
    font-size: 12px;
  }

  .register-container a {
    color: #f1c40f;
    text-decoration: none;
    font-weight: bold;
  }

  .register-container a:hover {
    text-decoration: underline;
  }
}

/* ========================== */
/* 🔹 PAGE FAQ (faq.php) */
/* ========================== */

/* ✅ Conteneur principal */
.faq-container {
    max-width: 900px;
    width: 90%;
    margin: 50px auto;
    background: #2c3e50;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.4);
    color: white;
}

/* ✅ HERO Section */
.hero {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    padding: 50px 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.hero:hover {
    transform: translateY(-5px);
}

.hero h1 {
    font-size: 32px;
    color: #f1c40f;
    font-weight: bold;
}

.hero p {
    font-size: 18px;
    color: #bdc3c7;
    margin-top: 10px;
}

/* ✅ Conteneur des questions */
.faq-box, .faq-sections {
    background: #34495e;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
}

/* ✅ Titres des sections */
.faq-box h2, .faq-sections h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #f1c40f;
    text-align: center;
}

/* ✅ Catégories */
.faq-category {
    margin-bottom: 25px;
    background: #2c3e50;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* ✅ Icônes devant les titres */
.faq-category h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #f1c40f;
    display: flex;
    align-items: center;
}

.faq-category h3::before {
    content: "📄";
    margin-right: 10px;
}

/* ✅ Style des questions */
.faq-item {
    background: #2c3e50;
    border: 1px solid #bdc3c7;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 10px;
}

/* ✅ Style des boutons questions */
.faq-question {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    padding: 12px;
    cursor: pointer;
    color: #f1c40f;
    transition: all 0.3s ease-in-out;
    border-radius: 6px;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ✅ Réponses cachées par défaut */
.faq-answer {
    display: none;
    padding: 10px;
    font-size: 16px;
    color: #ecf0f1;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 8px;
}

/* ✅ Effet d'apparition */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ✅ Responsive */
@media (max-width: 768px) {
    .faq-container {
        width: 95%;
    }

    .faq-question {
        font-size: 16px;
    }
}

/* ========================== */
/* 🔹 PAGE ACCUEIL (accueil.php) */
/* ========================== */

/* ✅ HERO Section */
.hero {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    padding: 60px 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.hero:hover {
    transform: translateY(-5px);
}

.hero h1 {
    font-size: 36px;
    color: #f1c40f;
    font-weight: bold;
    margin-bottom: 10px;
}

.hero p {
    font-size: 20px;
    color: #bdc3c7;
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn {
    background: #f39c12;
    color: white;
    padding: 12px 25px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background 0.3s ease-in-out, transform 0.2s ease-in-out;
}

.hero .btn:hover {
    background: #e67e22;
    transform: scale(1.05);
}

/* ✅ SECTION BOX (À Propos) */
.section-box {
    background: #34495e;
    color: white;
    padding: 40px;
    margin: 40px auto;
    width: 75%;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: 0.3s ease-in-out;
    position: relative;
}

/* ✅ Animation */
.section-box:hover {
    transform: translateY(-5px);
}

/* ✅ SECTION SERVICES */
.services {
    text-align: center;
    padding: 60px 0;
    background: #2c3e50;
    color: white;
}

.services h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.services h1 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

.services p {
    font-size: 18px;
    text-align: center;
    width: 100%;
}

/* ✅ Conteneur des services */
.services .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* ✅ Service Box */
.service-box {
    flex: 1 1 calc(33.33% - 20px);
    max-width: 320px;
    background: #34495e;
    color: white;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    text-align: center;
    transition: 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

/* ✅ Icônes */
.service-box i {
    font-size: 45px;
    color: #f1c40f;
    margin-bottom: 10px;
}

/* ✅ Titre des services */
.service-box h3 {
    font-size: 22px;
    font-weight: bold;
}

/* ✅ Texte des services */
.service-box p {
    font-size: 16px;
    margin-top: 8px;
    color: #ecf0f1;
}

/* ✅ Effet au survol */
.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* ✅ Responsive */
@media (max-width: 1024px) {
    .service-box {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .services .container {
        flex-direction: column;
        align-items: center;
    }
    .service-box {
        max-width: 90%;
        padding: 20px;
    }
}

/* ========================== */
/* 🔹 PORTFOLIO */
/* ========================== */

/* ✅ SECTION PORTFOLIO */
.portfolio {
    text-align: center;
    padding: 50px 0;
    background: #2c3e50;
    color: white;
}

.portfolio h2 {
    font-size: 30px;
    margin-bottom: 10px;
    color: #f8f9fa;
}

.portfolio p {
    font-size: 18px;
    text-align: center;
    width: 100%;
}

/* ✅ GRILLE DES VIDÉOS */
.portfolio-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* ✅ VIDÉOS */
.portfolio-item {
    position: relative;
    width: calc(33.33% - 20px);
    max-width: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

/* ✅ Effet hover */
.portfolio-item:hover {
    transform: scale(1.05);
}

/* ✅ VIDÉOS */
.portfolio-item video {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
}

/* ✅ OVERLAY */
.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    border-radius: 10px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* ========================
   Ajustements pour Mobile
======================== */
@media (max-width: 768px) {
    .portfolio {
        padding: 30px 0;
    }
    
    .portfolio h2 {
        font-size: 24px; /* Réduction de la taille du titre */
    }
    
    .portfolio p {
        font-size: 16px; /* Réduction de la taille du texte */
    }
    
    .portfolio-grid {
        flex-direction: column; /* Affichage en colonne pour faciliter la lecture */
        gap: 15px;
    }
    
    .portfolio-item {
        width: 90%; /* Occuper 90% de la largeur de l'écran */
        max-width: none;
        margin: 0 auto; /* Centrer l'élément */
    }
    
    .portfolio-item video {
        height: auto; /* Ajustement de la hauteur automatiquement */
    }
}

/* ========================== */
/* 🔹 AVIS */
/* ========================== */

/* ✅ STYLE DU FORMULAIRE AVIS */
.avis-form-container {
    max-width: 500px;
    margin: 0 auto;
    background: #34495e; /* Bleu foncé */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.avis-form-container h2 {
    font-size: 22px;
    color: #f5f5f5;
    margin-bottom: 15px;
}

/* ✅ Style des Labels */
.avis-form-container label {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #ecf0f1;
    margin-bottom: 5px;
    text-align: left;
}

/* ✅ Style des Champs de Saisie */
.avis-form-container input[type="text"],
.avis-form-container textarea,
.avis-form-container select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    background: #2c3e50;
    color: #fff;
    margin-bottom: 10px;
    transition: 0.3s;
}

.avis-form-container input[type="text"]:focus,
.avis-form-container textarea:focus,
.avis-form-container select:focus {
    border-color: #f39c12;
    outline: none;
}

/* ✅ Style du bouton */
.avis-form-container button {
    width: 100%;
    padding: 12px;
    background: #1abc9c; /* Vert */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.avis-form-container button:hover {
    background: #16a085;
}

.avis {
    text-align: center;
    padding: 50px 0;
    background: #2c3e50;
    color: white;
    font-family: 'Arial', sans-serif;
}

/* ✅ Conteneur des avis */
.avis-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

/* ✅ Boîte Avis */
.avis-box {
    flex: 1 1 calc(33.33% - 20px);
    background: linear-gradient(145deg, #2c3e50, #34495e);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: #f5f5f5;
    transition: 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
}

/* ✅ Animation au survol */
.avis-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* ✅ Effet de brillance */
.avis-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.avis-box:hover::before {
    left: 100%;
}

/* ✅ Nom */
.avis-box h3 {
    font-size: 20px;
    font-weight: bold;
    color: #f39c12;
    margin-bottom: 10px;
}

/* ✅ Note (étoiles) */
.avis-box .note {
    color: #f1c40f;
    font-size: 22px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.avis-box .note i {
    margin: 0 2px;
}

/* ✅ Texte */
.avis-box p {
    font-size: 16px;
    color: #ddd;
    margin-bottom: 15px;
}

/* ✅ Date */
.avis-box small {
    font-size: 13px;
    color: #bbb;
}

/* ✅ Responsive */
@media (max-width: 1024px) {
    .avis-box {
        flex: 1 1 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .avis-container {
        flex-direction: column;
    }
    .avis-box {
        flex: 1 1 100%;
    }
}

/* ========================== */
/* 🔹 PAGE SERVICES (services.php) */
/* ========================== */

/* ✅ HERO Section */
.hero {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    padding: 50px 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

.hero:hover {
    transform: translateY(-5px);
}

.hero h1 {
    font-size: 32px;
    color: #f1c40f;
    font-weight: bold;
}

.hero p {
    font-size: 18px;
    color: #bdc3c7;
    margin-top: 10px;
}

/* ✅ SECTION BOX */
.section-box {
    background: #34495e;
    color: white;
    padding: 30px;
    margin: 30px auto;
    width: 80%;
    border-radius: 12px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    text-align: center;
    transition: transform 0.3s ease-in-out;
    position: relative;
}

/* ✅ Ajout d'une bordure dynamique */
.section-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 50px;
    height: 4px;
    background: #f1c40f;
    transform: translateX(-50%);
    border-radius: 50px;
}

.section-box h2 {
    font-size: 26px;
    font-weight: bold;
    color: #f1c40f;
    margin-bottom: 10px;
}

.section-box h1 {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}

.section-box p {
    font-size: 18px;
    color: #ecf0f1;
}

/* ✅ SECTION SERVICES */
.services {
    text-align: center;
    padding: 50px 0;
    background: #2c3e50;
    color: white;
}

/* ✅ Conteneur des services */
.services .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

/* ✅ Service Box */
.service-box {
    flex: 1 1 calc(25% - 20px);
    max-width: 300px;
    background: #34495e;
    color: white;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: 0.3s ease-in-out;
    position: relative;
}

/* ✅ Icônes des services */
.service-box i {
    font-size: 45px;
    color: #f1c40f;
    margin-bottom: 10px;
}

/* ✅ Titre des services */
.service-box h3 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
}

/* ✅ Texte des services */
.service-box p {
    font-size: 16px;
    color: #ecf0f1;
    margin-top: 8px;
}

/* ✅ Effet au survol */
.service-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* ✅ Responsive pour tablettes */
@media (max-width: 1024px) {
    .service-box {
        flex: 1 1 calc(50% - 20px);
    }
}

/* ✅ Responsive pour mobiles */
@media (max-width: 768px) {
    .services {
        padding: 40px 0;
    }

    .services .container {
        flex-direction: column;
        align-items: center;
    }

    .service-box {
        flex: 1 1 100%;
        max-width: 90%;
        padding: 20px;
    }
}

/* ========================== */
/* 🔹 AVIS CLIENTS */
/* ========================== */
.avis-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.avis-box {
    background: #2c3e50;
    color: white;
    padding: 20px;
    border-radius: 10px;
    width: 30%;
    text-align: center;
}

/* =========================
   FOOTER - BASE
========================= */
footer {
  background: #111;     /* Fond sombre */
  color: #fff;          /* Texte blanc */
  padding: 40px 0;
  text-align: center;   /* Centre le texte par défaut */
  font-size: 14px;
}

/* =========================
   CONTENEUR PRINCIPAL
========================= */
.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px;
  display: flex;
  flex-wrap: wrap;      /* Permet le passage en plusieurs lignes si besoin */
  justify-content: space-between; 
  gap: 20px;            /* Espace horizontal entre colonnes */
}

/* =========================
   COLONNES
========================= */
.footer-column {
  flex: 1 1 200px;      /* Chaque colonne a min. ~200px */
  min-width: 200px;
  text-align: left;     /* Aligne le contenu en version desktop */
  margin: 10px 0;
}

/* Adapte selon la colonne s'il y a besoin d'un style distinct */
.footer-col-links {
  text-align: left;  /* Aligne le contenu global à gauche (sauf si tu préfères centrer) */
}

.footer-col-links h4 {
  margin: 0 0 8px 0;
  padding: 0;  
  color: #f1c40f;
  font-size: 16px;
  text-transform: uppercase;
  text-align: center; /* Centre le titre */
}

/* =========================
   LOGO
========================= */
.footer-logo {
  display: block;
  margin: 0 auto 10px; 
  max-width: 80px; /* Limite la taille du logo */
  height: auto;
}

/* TITRES DE COLONNE */
.footer-column h3,
.footer-column h4 {
  margin-bottom: 10px;
  color: #f1c40f;   /* Couleur jaune */
  text-transform: uppercase;
  text-align: center; /* Centre juste le titre */
  font-size: 16px;
}

/* TEXTE */
.footer-column p {
  margin: 5px 0;
  line-height: 1.6;
  color: #ddd;
}

/* =========================
   LISTES DE LIENS
========================= */
.footer-col-links ul {
  list-style: none; 
  margin: 0;
  padding: 0;
  text-align: center; /* Centre la liste si souhaité */
}

.footer-col-links li {
  margin: 6px 0;
}

.footer-col-links li a {
  text-decoration: none;
  color: #fff;
  transition: color 0.3s;
}

.footer-col-links li a:hover {
  color: #f1c40f;
}

/* =========================
   CONTACT
========================= */
.footer-col-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;  /* Centre icône et texte */
  margin: 5px 0;
}

.footer-col-contact i {
  color: #f1c40f;
  font-size: 16px;
}

/* =========================
   RÉSEAUX SOCIAUX
========================= */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  transition: transform 0.3s, color 0.3s;
}

.social-icons a:hover {
  color: #f1c40f;
  transform: scale(1.2);
}

/* =========================
   BAS DE FOOTER
========================= */
.footer-bottom {
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 10px;
  font-size: 12px;
  color: #bbb;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column; /* Une colonne sur mobile */
    align-items: center;     /* Centre les sections */
  }
  
  .footer-column {
    text-align: center; 
    margin: 15px 0;
  }
}

/* ========================== */
/* 🔹 PAGE SUCCESS (Stripe) */
/* ========================== */
.success-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    text-align: center;
    background: #f9f9f9;
}

.success-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    max-width: 500px;
}

.success-icon {
    font-size: 80px;
    color: #2ecc71;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-secondary {
    background: #2ecc71;
    color: white;
}

.btn:hover {
    opacity: 0.8;
}

/* ========================== */
/* 🔹 RESPONSIVE */
/* ========================== */
@media (max-width: 768px) {
    .service-box {
        width: 90%;
    }

    .avis-box {
        width: 90%;
    }

    .success-content {
        width: 90%;
    }
}