/* Global Styles */
body {
    font-family: 'Arial Black', sans-serif;
    background-color: #f3e5f5; /* Violet léger pour une ambiance fun */
    margin: 0;
    padding: 0;
}

header {
    background-color: #e91e63; /* Rose flashy */
    color: white;
    padding: 20px;
    text-align: center;
    animation: shake 0.5s infinite alternate; /* Animation de secousse */
}

@keyframes shake {
    0% { transform: rotate(-2deg); }
    100% { transform: rotate(2deg); }
}

.header-content h1 {
    font-size: 3rem;
    margin: 0;
}

.phone-number {
    font-size: 1.5rem;
    margin: 10px 0;
}

/* Navigation Menu */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    background-color: #00bcd4; /* Bleu éclatant */
}

nav ul li {
    margin: 0 20px;
}

nav ul li a {
    color: white;
    font-size: 1.4rem;
    text-decoration: none;
    padding: 10px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

nav ul li a:hover {
    background-color: #0097a7;
    border-radius: 10px;
    transition: background-color 0.3s ease;
}

/* Main Content */
main {
    padding: 40px;
    text-align: center;
}

.hero, .about, .services, .contact {
    background-color: white;
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero h2, .about h2, .services h2, .contact h2 {
    font-size: 2.8rem;
    color: #e91e63;
    text-transform: uppercase;
    animation: pulse 1.5s infinite; /* Animation pulsante */
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.spin-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 20px auto;
}

.spin-img {
    width: 100%;
    height: 100%;
    animation: spin 5s linear infinite; /* Animation de rotation */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.bounce-container, .flip-container, .wave-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 20px auto;
}

.bounce-img {
    animation: bounce 2s infinite ease-in-out; /* Image qui rebondit */
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.flip-img {
    animation: flip 4s infinite; /* Image qui tourne à 180° */
}

@keyframes flip {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

.wave-img {
    animation: wave 3s infinite ease-in-out; /* Image qui ondule */
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
}

/* Call-to-action Button */
.cta-button {
    background-color: #e91e63;
    color: white;
    padding: 15px 30px;
    font-size: 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    display: inline-block;
    margin-top: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background-color: #c2185b;
    transition: background-color 0.3s ease;
}

/* Footer */
footer {
    background-color: #e91e63;
    color: white;
    padding: 20px;
    text-align: center;
}

footer p {
    margin: 5px 0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
    nav ul {
        flex-direction: column;
    }

    .header-content h1 {
        font-size: 2.5rem;
    }

    .phone-number {
        font-size: 1.3rem;
    }

    .cta-button {
        font-size: 1.2rem;
    }
}
