/* Animations de base */
.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Style moderne pour les boutons */
.btn-modern {
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
}

/* Style pour la section des clics solidaires */
.panel-modern {
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    background: linear-gradient(145deg, #ffffff, #f5f5f5);
    border: none;
    overflow: hidden;
}

.panel-title-modern {
    font-size: 1.5em;
    color: #2c3e50;
    padding: 20px;
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
}

/* Menu mobile basique */
#mobileMenu {
    display: none;
}

.burger-icon {
    display: none;
    width: 30px;
    height: 3px;
    background-color: #333;
    position: relative;
}

.burger-icon::before,
.burger-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #333;
    left: 0;
}

.burger-icon::before {
    top: -8px;
}

.burger-icon::after {
    bottom: -8px;
}

@media (max-width: 768px) {
    .burger-icon {
        display: block;
    }

    #menu {
        display: none;
    }

    #mobileMenu:checked ~ #menu {
        display: block;
    }
}

/* Style pour l'image d'intro avec effet de zoom doux */
.intro-image {
    transition: transform 0.5s ease;
    border-radius: 10px;
    overflow: hidden;
}

.intro-image:hover {
    transform: scale(1.02);
}

/* Style pour le texte avec effet de surlignage */
.highlight-text {
    position: relative;
    display: block;
    text-align: center;
}

.highlight-text::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: #3498db;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.highlight-text:hover::after {
    transform: scaleX(1);
}

/* Animations du menu */
#menu li a {
    position: relative;
    transition: color 0.3s ease;
}

/* Animation du logo */
#logo img {
    transition: transform 0.3s ease;
}

#logo:hover img {
    transform: scale(1.05);
}

/* Style amélioré du dropdown */
.dropdown-menu {
    transform: translateY(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: block !important;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-menu.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.dropdown-item {
    transition: all 0.2s ease;
    padding: 8px 20px;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

/* Dropdown animation - version simplifiée */
.dropdown-menu {
    display: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.dropdown-menu.show {
    display: block;
    opacity: 1;
}

/* Logo animation - version simplifiée */
.logo img {
    transition: transform 0.2s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

/* Logo animation */
.logo {
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

/* Dropdown animation */
.dropdown-menu {
    display: block !important;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
} 