:root {
    --primary: #2a7221;
    --primary-dark: #1e5c17;
    --light: #f8f9fa;
    --dark: #333;
    --white: #fff;
    --beige: #f5f1e6;
    --gold: #d4af37;
}

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

body {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--light);
}

/* Navbar minimaliste */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo {
    height: 40px;
    width: auto;
}

.brand-name {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: var(--dark);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark);
}

/* Carousel Section */
.carousel {
    height: 80vh;
    position: relative;
    overflow: hidden;
}

.carousel-inner {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
    width: 100%;
    padding: 0 20px;
}

.carousel-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 20px;
    letter-spacing: 2px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.carousel-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.carousel:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3);
    z-index: 1;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    color: var(--white);
    border: none;
    padding: 15px;
    cursor: pointer;
    z-index: 3;
    font-size: 1.5rem;
    transition: all 0.3s;
}

.carousel-control:hover {
    background: rgba(255,255,255,0.5);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-indicator.active {
    background: var(--white);
    transform: scale(1.2);
}

/* Bouton */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Modifications pour les produits */
.products-section {
    padding: 100px 5%; /* Augmentation de l'espacement */
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.section-title {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 15px;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--primary);
}

.section-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Grille des produits - ajustement */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch;
    justify-items: center;/* Pour des cartes de même hauteur */
}
/* Conteneur des catégories */
.category-section {
    margin-bottom: 60px;
}

/* Titre de catégorie */
.category-title {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}
/* Carte de produit complète */
.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* Pour une hauteur uniforme */
}


/* Pour les écrans plus larges, vous pouvez augmenter l'espacement */
@media (min-width: 1200px) {
    .products-grid {
        gap: 50px;
    }
}

/* Pour les écrans mobiles, réduire légèrement l'espacement */
@media (max-width: 768px) {
    .products-grid {
        gap: 30px;
    }
}

.product-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* Conteneur de l'image du produit */
.product-image-container {
    height: 300px; /* Ajustez cette valeur selon vos besoins */
    width: 700px;
    
    overflow: hidden;
    position: relative;
}

/* Image du produit */
.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
    z-index: 2;
}


/* Conteneur des informations du produit */
.product-info {
    padding: 20px;
    text-align: center; /* Centre le texte */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centre horizontalement */
    justify-content: center; /* Centre verticalement (optionnel) */
}

.product-name {
    text-align: center;
    width: 100%;
    margin: 10px 0;
}

.product-price {
    text-align: center;
    width: 100%;
    margin: 10px 0;
}

/* Ajustements pour les éléments texte */
.product-category {
    text-align: center;
    width: 100%;
}


.product-name {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 500;
    color: var(--dark);
    transition: color 0.3s;
}

.product-card:hover .product-name {
    color: var(--primary);
}

.product-price {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
}

/* Conteneur des actions (boutons) */
.product-actions {
    display: flex;
    justify-content: center; /* Centre les boutons horizontalement */
    width: 100%;
    gap: 10px; /* Espace entre les boutons */
    margin-top: 15px;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

/* Ajustement du bouton "Ajouter au panier" */
.add-to-cart {
    width: auto; /* Largeur automatique selon le contenu */
    padding: 8px 20px;
}

.add-to-cart:hover {
    background: var(--primary-dark);
}

.wishlist-btn {
    background: white;
    color: var(--dark);
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.wishlist-btn:hover {
    color: #ff4757;
    border-color: #ff4757;
}

.wishlist-btn.active {
    color: #ff4757;
    border-color: #ff4757;
}

/* Pour la notation (étoiles) */
.product-rating {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 10px 0;
}

/* Pour la description du produit (si visible) */
.product-description {
    text-align: center;
    width: 100%;
}

.product-card:hover .product-description {
    max-height: 100px;
}

/* Animation pour l'apparition des cartes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

/* Délai d'animation pour chaque carte */
.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }

/* Section Réservation */
.reservation-section {
    padding: 80px 5%;
    background: var(--beige);
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 30px;
}

.form-title {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 15px;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-title i {
    color: var(--primary);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row > div {
    flex: 1;
}

input, select, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    font-family: inherit;
    font-size: 0.9rem;
}

textarea {
    min-height: 120px;
    resize: none;
}

.fixed-textarea {
    background: #f9f9f9;
    border: 1px solid #eee;
    font-style: italic;
    color: #666;
}

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

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.size-options {
    display: flex;
    gap: 15px;
}

.size-option {
    flex: 1;
    padding: 15px;
    border: 1px solid #ddd;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.size-option:hover {
    border-color: var(--primary);
}

.size-option.selected {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.main-content {
    flex: 1; /* Prend tout l'espace disponible */
}
       
        /* Footer */
footer {
    background: var(--dark);
    color: var(--light);
    text-align: center;
    padding: 30px 0;
    margin-top: auto; /* Pousse le footer vers le bas */
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    height: 50px;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 20px 0;
}

.footer-link {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: var(--secondary);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 20px 0;
}

.social-link {
    color: var(--light);
    font-size: 1.5rem;
    transition: color 0.3s;
}

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

.copyright {
    color: #aaa;
    font-size: 0.9rem;
    margin-top: 20px;
}

        /* Responsive */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 70px;
                left: 0;
                right: 0;
                background: var(--light);
                padding: 20px;
                box-shadow: 0 5px 10px rgba(0,0,0,0.1);
            }
            
            .nav-links.show {
                display: flex;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .offer-card {
                width: 100%;
            }
            
            .pack-option {
                width: 150px;
            }
            
            .popup-offer {
                width: 90%;
                right: 5%;
                bottom: 10px;
            }
        }

        /* Responsive */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 70px;
                left: 0;
                right: 0;
                background: var(--light);
                padding: 20px;
                box-shadow: 0 5px 10px rgba(0,0,0,0.1);
            }
            
            .nav-links.show {
                display: flex;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .hero-title {
                font-size: 2rem;
            }
            
            .hero-subtitle {
                font-size: 1rem;
            }
            
            .contact-section {
                flex-direction: column;
                gap: 40px;
            }
            
            
        }
