/* Reset et styles de base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* En-tête */
header {
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

nav ul {
    display: flex;
    justify-content: center;
    list-style: none;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Sections */
.section {
    padding: 40px 0;
}

.section-title {
    text-align: center;
    color: #D4AF37;
    margin-bottom: 30px;
    font-size: 2rem;
}

/* Galerie d'images */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

/* Boutons */
.btn {
    display: inline-block;
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-center {
    display: block;
    margin: 30px auto;
    max-width: 200px;
}

/* Formulaire */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.2);
}

.form-container {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
}

/* Page de remerciement */
.thank-you {
    text-align: center;
    padding: 60px 20px;
}

.thank-you h1 {
    color: #D4AF37;
    margin-bottom: 20px;
}

.thank-you p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Pied de page */
footer {
    background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

/* Responsive */
@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin: 5px 0;
    }
    
    .form-container {
        padding: 20px;
    }
}
/* Styles pour la barre de navigation avec logo et recherche */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid white;
}

.search-container {
    display: flex;
    align-items: center;
}

.search-form {
    display: flex;
}

.search-input {
    padding: 8px 15px;
    border: none;
    border-radius: 50px 0 0 50px;
    outline: none;
    width: 200px;
}

.search-button {
    background: white;
    border: none;
    padding: 8px 15px;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    color: #D4AF37;
    font-weight: bold;
}

/* Responsive pour la barre de recherche */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    .logo-container {
        margin-bottom: 15px;
    }
    
    .search-container {
        margin-top: 15px;
        width: 100%;
        justify-content: center;
    }
    
    .search-input {
        width: 70%;
    }
}
/* Messages d'erreur */
.error-container {
    background-color: #ffebee;
    border-left: 4px solid #f44336;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.error-container h3 {
    color: #d32f2f;
    margin-bottom: 10px;
}

.error-container ul {
    margin-left: 20px;
}

.error-container li {
    color: #d32f2f;
}

/* Récapitulatif des informations */
.info-recap {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    border-left: 4px solid #D4AF37;
}

.info-recap h2 {
    color: #D4AF37;
    margin-bottom: 15px;
}

.info-recap p {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.info-recap p:last-child {
    border-bottom: none;
}
/* Styles pour les légendes d'images */
.image-caption {
    padding: 15px;
    background: white;
    border-top: 3px solid #D4AF37;
}

.image-caption h3 {
    color: #D4AF37;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.image-caption p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Animation au survol */
.gallery-item {
    position: relative;
    overflow: hidden;
}

.gallery-item .image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .image-caption {
    transform: translateY(0);
}

/* Version responsive */
@media (max-width: 768px) {
    .gallery-item .image-caption {
        position: relative;
        transform: none;
    }
    
    .image-caption {
        padding: 10px;
    }
    
    .image-caption h3 {
        font-size: 1rem;
    }
    
    .image-caption p {
        font-size: 0.85rem;
    }
}