/*--------------------------------------------------------------
# IMPORT CSS
--------------------------------------------------------------*/
@import url('default.epaphrodites.style.css');

/*--------------------------------------------------------------
  # MAIN 0bbeef  02a0fb F2F20D
--------------------------------------------------------------*/

/* --- General Styles --- */
body {
    background:  #f3efe2;
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

/* Styles de base */
.hidden {
    display: none;
}

.input-container {
    margin-bottom: 15px;
}

.submit-container button {
    width: 100%;
    padding: 10px;
    background: #6D83F2;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.submit-container button:hover {
    background: #4A6AED;
}


/* --- Login Container --- */
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

/* --- Logo --- */
.login-logo img {
    width: 120px;
    margin-bottom: 20px;
    animation: float 3s ease-in-out infinite;
}

/* --- Keyframes for Floating Logo --- */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* --- Form Styles --- */
.login-form {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    width: 100%;
    max-width: 400px;
    text-align: center;
}

.login-form h2 {
    color: #333333;
    margin-bottom: 10px;
}

.login-description {
    color: #777777;
    font-size: 14px;
    margin-bottom: 20px;
}

#authentification .form-control {
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 10px 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

#authentification .form-control:focus {
    border-color: #1f3dd4;
    box-shadow: 0 0 5px rgba(109, 131, 242, 0.5);
}

/* --- Submit Button --- */
button[type="submit"] {
    background: #1f3dd4;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    transition: background 0.3s;
}

button[type="submit"]:hover {
    background: #4A6AED;
}

/* --- Footer Links --- */
.login-footer {
    margin-top: 15px;
    font-size: 12px;
}

.login-footer a {
    color: #1f3dd4;
    text-decoration: none;
}

.login-footer a:hover {
    text-decoration: underline;
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {
    .login-container {
        padding: 10px;
    }

    .login-form {
        padding: 20px;
    }

    .login-logo img {
        width: 90px;
    }
}

@media (max-width: 480px) {
    .login-form {
        width: 90%;
    }

    .login-description {
        font-size: 13px;
    }

    button[type="submit"] {
        font-size: 14px;
    }
}

/************* ABOUT, CONTACT, EVENT ET GALERY *******************/
/* Styles de base */
.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 1rem;
}

h2 {
    font-size: 2.5rem;
    color: #007BFF;
    margin-bottom: 1.5rem;
    text-align: center;
}

p {
    font-size: 1.1rem;
    color: #555;
    text-align: center;
    margin-bottom: 2rem;
}

/* À Propos */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-item h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

/* Événements */
#events .grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

/* Galerie */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Contact */
.contact-form {
    max-width: 600px;
    margin: auto;
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.contact-form button {
    background: #007BFF;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

.contact-form button:hover {
    background: #0056b3;
}

#loginPage {
    background: linear-gradient(119deg, #0e32e6, #e0b010);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

