:root {
    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --text-color: #333;
    --text-light: #7f8c8d;
    --section-padding: 2rem 0;
    --hero-text-size: 2.2rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f9f9f9;
}

        /* Reset et styles de base */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        /* Header (conservé tel quel) */
        .header-container {
            background-color: white;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .header {
            max-width: 1200px;
            margin: 0 auto;
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo-container {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo {
            width: 40px;
            height: 40px;
            background-color: #3498db;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            border-radius: 4px;
        }


.site-title {
    margin-left: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

        .site-title {
            font-size: 20px;
            color: #333;
        }

        .site-title span {
            color: #3498db;
        }

        .nav-menu {
            display: flex;
            list-style: none;
            gap: 20px;
        }

        .nav-item {
            position: relative;
        }

        .nav-link {
            text-decoration: none;
            color: #333;
            font-weight: 500;
            transition: color 0.2s;
        }

        .nav-link:hover {
            color: #3498db;
        }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Bouton de connexion modèles */
        .login-btn {
            padding: 8px 15px;
            background-color: #3498db;
            color: white;
            text-decoration: none;
            border-radius: 4px;
            font-size: 14px;
            transition: background-color 0.2s;
        }

        .login-btn:hover {
            background-color: #2980b9;
        }

/* Hero Section avec h2 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url('https://modeles.delhalle.net/img/hero-bg.jpg') center/cover no-repeat !important;
    height: 60vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
    background-color: #3498db; /* Couleur de repli */
}.hero-content {
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 8px;
    backdrop-filter: blur(2px);
}

.hero h2 {
    font-size: var(--hero-text-size);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    background-color: var(--accent-color);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cta-btn:hover {
    background-color: transparent;
    color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Sections */
.section {
    padding: var(--section-padding);
}

.section:not(:last-child) {
    margin-bottom: 1rem;
    border-bottom: 1px solid #eee;
    padding-bottom: 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.8rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--secondary-color);
    margin: 0.5rem auto 0;
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.section-content p {
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-top: 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.social-links {
    margin: 1rem 0;
}

.social-links a {
    color: white;
    margin: 0 0.5rem;
    font-size: 1.2rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        padding: 1rem;
    }

    .nav-menu {
        margin-top: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-padding {
        padding: 1rem 0;
    }

    .hero {
        height: 50vh;
    }
}
/* Galerie des modèles */
.modeles-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.modele-item {
    flex: 0 0 calc(20% - 30px);
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.modele-photo-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border: 2px solid #3498db;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modele-photo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.modele-pseudo {
    font-weight: bold;
    font-size: 1.2rem;
    margin: 10px 0;
    color: #2c3e50;
    text-align: center;
}

.voir-fiche-btn {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.voir-fiche-btn:hover {
    background-color: #2980b9;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.pagination-btn {
    padding: 8px 15px;
    border: 1px solid #3498db;
    background-color: white;
    color: #3498db;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination-btn:hover {
    background-color: #3498db;
    color: white;
}

.pagination-btn.active {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}

/* Responsive pour les petits écrans */
@media (max-width: 1200px) {
    .modele-item {
        flex: 0 0 calc(25% - 30px);
    }
}

@media (max-width: 992px) {
    .modele-item {
        flex: 0 0 calc(33.33% - 30px);
    }
}

@media (max-width: 768px) {
    .modele-item {
        flex: 0 0 calc(50% - 30px);
    }
}

@media (max-width: 576px) {
    .modele-item {
        flex: 0 0 100%;
    }
}
/* Fiche Modèle */
.model-details-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.model-header {
    text-align: center;
    margin-bottom: 20px;
}

.model-title {
    font-size: 2rem;
    color: #2c3e50;
}

.model-photo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.model-photo-container {
    width: 300px;
    height: 400px;
    border: 2px solid #3498db;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
}

.model-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.gallery-link {
    margin-bottom: 15px;
}

.voir-gallery-btn {
    background-color: #3498db;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.voir-gallery-btn:hover {
    background-color: #2980b9;
}

.model-info {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.model-info h3 {
    margin-top: 15px;
    color: #2c3e50;
    text-align: left;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 5px;
    font-size: 1.2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 8px;
    border-bottom: 1px solid #eee;
}

.info-label {
    font-weight: bold;
    color: #3498db;
    font-size: 0.9rem;
}

.info-value {
    color: #2c3e50;
    font-size: 0.9rem;
}

.model-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.reservation-btn {
    background-color: #2ecc71;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.reservation-btn:hover {
    background-color: #27ae60;
}

.back-btn {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.back-btn:hover {
    background-color: #2980b9;
}

/* Responsive */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .model-photo-container {
        width: 250px;
        height: 350px;
    }
}
/* Réservation Modèle */
#reservation {
    padding: 30px 0;
}

.reservation-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.reservation-header {
    text-align: center;
    margin-bottom: 25px;
}

.reservation-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin: 0;
}

.reservation-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: #3498db;
    font-size: 1rem;
}

.form-group input {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    border-color: #3498db;
    outline: none;
}

.form-group input[type="date"] {
    padding: 11px;
}

.form-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.submit-btn {
    background-color: #2ecc71;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #27ae60;
}

.back-btn {
    background-color: #3498db;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.back-btn:hover {
    background-color: #2980b9;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1rem;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .reservation-container {
        padding: 20px;
    }

    .form-actions {
        flex-direction: column;
        align-items: center;
    }

    .submit-btn, .back-btn {
        width: 100%;
        text-align: center;
    }
}
/* Header et Menu */
.header-container {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    background-color: #3498db;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.site-title {
    margin: 0;
    font-size: 1.5rem;
    color: #2c3e50;
}

.site-title span {
    color: #3498db;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.nav-item {
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
}

.nav-link:hover {
    color: #3498db;
}

.login-btn {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.login-btn:hover {
    background-color: #2980b9;
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        text-align: center;
    }
}
