body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: white;
    margin: 0;
    padding: 20px;
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: auto;
}

.card {
    background-color: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: scale(1.05);
}

.card img {
    width: 100%;
    height: 800px;
    object-fit: cover;
    border-radius: 5px;
}

.card-content {
    padding: 15px;
}

.card h2 {
    margin: 0;
    font-size: 30px;
    color: #ff4500;
}

.card p {
    margin: 5px 0;
    font-size: 25px;
    color: #ccc;
}

.site-header {
    background-color: #1e1e1e;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #ff4500;
    position: sticky;
    top: 0;
}

.site-header .logo {
    font-size: 24px;
    color: #ff4500;
    font-weight: bold;
}

.site-header .nav-link {
    color: white;
    text-decoration: none;
    margin-right: 20px;
    font-size: 18px;
}

.ajout-btn {
    padding: 10px 20px;
    background-color: #ff4500;
    color: white;
    border-radius: 8px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s;
}

.ajout-btn:hover {
    background-color: #e03e00;
}

.page-title {
    text-align: center;
    font-size: 36px;
    margin: 40px 0 20px;
    color: #ff4500;
}

.site-footer {
    background-color: #1e1e1e;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    border-top: 1px solid #ff4500;
    color: #ccc;
    font-size: 14px;
}

.form-container {
    background-color: #1e1e1e;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.4);
    max-width: 600px;
    width: 100%;
    margin: auto;
}

input[type="text"],
input[type="number"],
textarea,
input[type="file"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: none;
    border-radius: 8px;
    background-color: #2a2a2a;
    color: white;
    font-size: 16px;
}

input[type="file"]::file-selector-button {
    background-color: #ff4500;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    margin-right: 10px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="file"]::file-selector-button:hover {
    background-color: #e03e00;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #ff4500;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #e03e00;
}

.delete-btn {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 15px;
    background-color: #ff2e2e;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.delete-btn:hover {
    background-color: #c40000;
}
