@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=Lato:wght@300;400&display=swap');

:root {
    --primary-color: #333; /* Noir doux */
    --accent-color: #D35400; /* Orange porte brodée (ajustez si besoin) */
    --bg-color: #fcfcfc;
    --card-bg: #ffffff;
}

body {
    background-color: var(--bg-color);
    color: var(--primary-color);
    font-family: 'Lato', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
}

header {
    text-align: center;
    padding: 60px 20px;
}

.logo {
    max-width: 120px; /* Ajustez la taille du logo */
    margin-bottom: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Grille des cadeaux */
.gift-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 40px;
}

.gift-card {
    background: var(--card-bg);
    border: 1px solid #eaeaea;
    padding: 20px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

.gift-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.gift-img {
    width: 100%;
    height: 250px;
    object-fit: cover; /* Recadre l'image proprement */
    margin-bottom: 15px;
    filter: grayscale(20%); /* Petite touche chic */
    transition: filter 0.3s;
}

.gift-card:hover .gift-img {
    filter: grayscale(0%);
}

.gift-name {
    font-size: 1.2rem;
    margin: 10px 0;
    font-family: 'Playfair Display', serif;
}

.gift-price {
    font-weight: 300;
    color: #777;
    margin-bottom: 15px;
    display: block;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Lato', sans-serif;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.btn:hover {
    background: var(--primary-color);
    color: white;
}

.btn-reserved {
    background-color: #eee;
    border-color: #eee;
    color: #aaa;
    cursor: not-allowed;
}

.btn-admin {
    margin-top: 10px;
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Formulaire Admin */
.admin-panel {
    background: white;
    padding: 40px;
    border: 1px solid #ddd;
    margin-bottom: 40px;
}

input, button {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    box-sizing: border-box;
}