/* Effet Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

/* Effet Glassmorphism pour le header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Ajustement du contenu principal pour le header fixe */
main {
    padding-top: 80px;
}

/* Ajustements pour mobile */
@media (max-width: 768px) {
    main {
        padding-top: 70px;
    }
    
    .hero {
        padding-top: 4rem; /* Augmenté pour éviter la superposition */
        margin-top: 2rem; /* Ajout d'une marge supplémentaire */
    }

    .hero-tag {
        margin-top: 1rem; /* Espace supplémentaire pour le tag "Bienvenue" */
    }
}

/* Glassmorphism pour les cartes */
.card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

/* Glassmorphism pour les sections */
.section {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

/* Glassmorphism pour les formulaires */
.contact-form,
.contact-info {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

/* Glassmorphism pour les boutons */
.btn {
    background: rgba(255, 204, 0, 0.9);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.btn:hover {
    background: rgba(255, 204, 0, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 204, 0, 0.3);
}

/* Ajustements pour la navigation mobile */
@media (max-width: 768px) {
    .nav-links {
        background: rgba(250, 245, 235, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
}

/* Animation pour le header */
@keyframes headerSlideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header.scrolled {
    animation: headerSlideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
} 