/* -------------------- */
/* STYLE GLOBAL         */
/* -------------------- */

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f5f5;
    color: #333;
}

h1, h2, h3 {
    margin-top: 0;
}

/* -------------------- */
/* HEADER + NAV         */
/* -------------------- */

header {
    background: #2c3e50;
    color: white;
    padding: 20px;
    text-align: center;
}

nav ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

nav ul li {
    display: inline-block;
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a.active,
nav ul li a:hover {
    text-decoration: underline;
}

/* 🔥 Lien admin totalement caché */
.admin-link {
    display: none;
}

/* -------------------- */
/* HERO SECTION         */
/* -------------------- */

.hero {
    padding: 80px 20px;
    text-align: center;
    background: #3498db;
    color: white;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background: white;
    color: #3498db;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover {
    background: #ecf0f1;
}

/* -------------------- */
/* CONTENT              */
/* -------------------- */

.content {
    padding: 40px 20px;
}

/* -------------------- */
/* CARDS (Nos actions)  */
/* -------------------- */

.cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    flex: 1;
    min-width: 250px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: 0.3s;
}

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

/* -------------------- */
/* FORMULAIRE CONTACT   */
/* -------------------- */

.contact-form {
    max-width: 400px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    padding: 10px;
    background: #3498db;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background: #2980b9;
}

/* -------------------- */
/* PAGE DONS            */
/* -------------------- */

.don-section {
    text-align: center;
    padding: 40px 20px;
}

.don-button {
    display: inline-block;
    padding: 12px 25px;
    background: #2ecc71;
    color: white;
    font-weight: bold;
    border-radius: 6px;
    text-decoration: none;
    transition: 0.3s;
}

.don-button:hover {
    background: #27ae60;
}

/* -------------------- */
/* FOOTER               */
/* -------------------- */

footer {
    text-align: center;
    padding: 20px;
    background: #2c3e50;
    color: white;
    margin-top: 40px;
}

/* -------------------- */
/* ADMIN (login + dash) */
/* -------------------- */

.login-box {
    max-width: 350px;
    margin: 80px auto;
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.login-box input {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
}

.login-box button {
    width: 100%;
    padding: 10px;
    background: #3498db;
    border-radius: 5px;
}

.dashboard-menu {
    max-width: 500px;
    margin: 40px auto;
    text-align: center;
}

.dashboard-menu a {
    display: block;
    background: #3498db;
    color: white;
    padding: 12px;
    margin: 10px 0;
    border-radius: 5px;
    text-decoration: none;
}

.dashboard-menu a:hover {
    background: #2980b9;
}