/* home_style.css */

/* Importation d'une police moderne (Google Fonts) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Variables de couleurs */
:root {
    --primary: #6c63ff;
    --secondary: #ff6584;
    --dark: #2f2e41;
    --light: #f9f9f9;
    --gray: #e0e0e0;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(90deg, rgba(166, 41, 151, 1) 10%, rgba(41, 41, 61, 1) 49%, rgba(166, 41, 151, 1) 86%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    line-height: 1.6;
    padding: 20px;
    animation: fadeIn 1.5s ease-in-out;
}

/* Animation d'apparition globale */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header */
header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
    animation: slideInDown 1s ease-out;
}

header span {
    font-size: 1.2rem;
    font-weight: 300;
    display: block;
    animation: slideInUp 1s ease-out 0.2s both;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main content */
main {
    max-width: 1000px;
    width: 100%;
    background: rgba(255, 255, 255, 0);
    backdrop-filter: blur(1rem);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 1px 1px 17px 7px;
    margin: 20px 0;
}

section p {
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-align: center;
    color: #ffffff;
}

section p:first-of-type {
    font-weight: 600;
    color: var(--primary);
}

/* Image de maintenance */
.maintenance-image {
    text-align: center;
    margin: 30px 0;
}

.maintenance-image img {
    max-width: 100%;
    height: auto;
    width: 300px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Liens sociaux */
.social-links {
    text-align: center;
    margin: 40px 0 30px;
}

.social-links h2 {
    font-size: 1.5rem;
    color: var(--light);
    margin-bottom: 20px;
}

.social-links a {
    display: inline-block;
    background: linear-gradient(90deg, rgba(166, 41, 151, 1) 10%, rgba(41, 41, 61, 1) 49%, rgba(166, 41, 151, 1) 86%);
    color: white;
    text-decoration: none;
    padding: 12px 30px;
    margin: 0 10px 10px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 2px solid transparent;
}

.social-links a:hover {
    background: white;
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Formulaire newsletter */
form {
    background: linear-gradient(90deg, rgba(166, 41, 151, 1) 10%, rgba(41, 41, 61, 1) 49%, rgba(166, 41, 151, 1) 86%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-top: 30px;
}

form label {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--light);
}

form input[type="email"] {
    width: 70%;
    max-width: 400px;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.1);
}

form input[type="email"]:focus {
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.3);
}

form button {
    background: var(--secondary);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    margin-left: 10px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    border: 2px solid transparent;
}

form button:hover {
    background: white;
    color: var(--secondary);
    border-color: var(--secondary);
    transform: scale(1.05);
}

/* Footer */
footer {
    text-align: center;
    margin-top: 30px;
    color: white;
    font-size: 0.9rem;
}

footer p {
    opacity: 0.8;
}

/* Responsive design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    main {
        padding: 20px;
    }

    form input[type="email"] {
        width: 100%;
        margin-bottom: 15px;
    }

    form button {
        width: 100%;
        margin-left: 0;
    }

    .social-links a {
        display: block;
        margin: 10px auto;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.5rem;
    }

    header span {
        font-size: 1rem;
    }

    section p {
        font-size: 1rem;
    }
}