body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px; /* Coins arrondis */
  }
  
  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 10px 15px rgba(0, 0, 0, 0.2);
  }
  
  .card img {
    object-fit: contain; /* Maintient les proportions */
    transition: transform 0.3s ease; /* Transition fluide */
  }
  
  .card:hover img {
    transform: scale(1.5); /* Agrandit l'image de 10% au survol */
  }


  .hidden.md\:flex.items-center.space-x-2 {
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Espacement réduit */
}


#burger-menu {
    position: fixed;
    top: 64px;
    right: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 1); /* Fond blanc uni */
    z-index: 1050; /* Toujours au-dessus des autres éléments */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Ombre subtile */
    opacity: 1; /* Opaque à 100 % */
    transition: transform 0.3s ease, opacity 0.3s ease; /* Animation fluide */
}

html[data-theme='dark'] #burger-menu {
    background-color: rgba(30, 30, 30, 1); /* Fond sombre pour le thème sombre */
    color: rgba(255, 255, 255, 1); /* Texte clair */
}

html[data-theme="corporate"] header, 
html[data-theme="corporate"] footer {
    background-color: #ffffff; /* Blanc */
    color: #000000; /* Texte noir */
}

html[data-theme="corporate"] main {
    background-color: #ebebeb; /* Gris clair */
    color: #000000; /* Texte noir */
}

html[data-theme='dark'] main {
    background-color: #010016; 
}

#burger-menu a,
#burger-menu button {
    color: var(--base-content); /* Couleur adaptée au thème DaisyUI */
}


#burger-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Couleur semi-transparente pour l'overlay */
    z-index: 1049; /* Placé juste en dessous du menu burger */
}

main {
    position: relative;
    z-index: 1; /* Limité pour éviter les conflits */
}

.card {
    z-index: auto; /* Remet à zéro si un z-index a été ajouté par erreur */
}

main.menu-open {
    pointer-events: none; /* Désactive les interactions avec le contenu principal */
}
