/* 🌿 Général */
body {
    background-color: #FAFAF0; /* Blanc cassé doux */
    color: #2C3E50; /* Gris anthracite pour un bon contraste */
    font-family: 'Roboto', sans-serif;
}

/* Section Hero */
.hero {
    background-color: #F5F5DC; /* Beige clair pour la douceur */
    padding: 3rem 0;
    text-align: center;
}

.hero .hero-image {
    height: 700px; /* Hauteur initiale */
    width: 100%;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

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

.hero h1 {
    font-weight: 700;
    color: #2c3e50;
}

.hero p {
    font-size: 1.2rem;
    color: #34495e;
}

.hero .btn-success {
    background-color: #4CAF50; /* Vert forêt */
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 1.2rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero .btn-success:hover {
    background-color: #3D8B40; /* Vert foncé pour un effet dynamique */
    transform: scale(1.1);
}

.hero-logo {
    text-align: center;
    margin-bottom: 20px;
}

.hero-logo img {
    max-width: 350px; /* Taille adaptée */
    height: auto;
}

/* Section "À propos" */
.about {
    padding: 3rem 0;
    background-color: #FAFAF0; /* Blanc cassé */
}

.about .about-image {
    height: 700px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    width: 450px;
}

.about .about-text {
    font-size: 1.2rem;
    color: #34495e;
    line-height: 1.8;
}

.about .col-lg-6 {
    padding: 1rem;
}

/* Gestion responsive */
@media (max-width: 768px) {
    .about .about-image {
        height: auto;
    }
    .about .col-lg-6 {
        text-align: center;
    }
}

/* Section Livraison */
.delivery {
    background-color: #F5F5DC; /* Beige sable pour le bien-être */
    padding: 3rem 0;
    border-top: 1px solid #eaeaea;
}

.delivery h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.delivery .card {
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 370px; /* Hauteur plus grande pour éviter l'écrasement */
    background-color: #FAFAF0; /* Blanc cassé pour une sensation douce */
}

.delivery .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.delivery .card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.delivery ul {
    list-style: none;
    padding-left: 0;
}

.delivery ul li {
    font-size: 1rem;
    margin-bottom: 0.8rem;
    line-height: 1.6;
}

.delivery ul li i {
    font-size: 1.2rem;
}

.delivery p {
    font-size: 1rem;
    line-height: 1.6;
    background-color: rgba(52, 152, 219, 0.1);
    padding: 1rem;
    border-left: 4px solid #3498db;
    border-radius: 8px;
}

/* 💰 Section Tarifs (Pricing) */
.pricing {
    background-color: #FAFAF0;
    padding: 3rem 0;
}

.pricing .card {
    background-color: #F5F5DC;
    border: none;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing .card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.pricing .card-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2C3E50;
}

.pricing .price {
    font-size: 1.8rem;
    font-weight: bold;
    color: #4CAF50; /* Vert forêt pour rappeler la nature */
    margin: 1rem 0;
}

/* 📞 Section Contact */
.contact {
    background-color: #F5F5DC;
    padding: 4rem 0;
    text-align: center;
}

.contact h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 1.5rem;
}

.contact p {
    font-size: 1.2rem;
    color: #34495E;
    margin: 0.5rem 0;
}

/* 🌿 Footer */
footer {
    background-color: #2C3E50;
    color: #ffffff;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 0;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* 🔹 Gestion intelligente de l’espacement */
/* 1️⃣ Grand écran type iPhone 16 Pro Max (1400px et plus) */
@media (min-width: 1400px) {
    .delivery .row {
        gap: 80px; /* Réduction de l’espace pour éviter trop de vide */
    }
    .delivery .col-md-6:first-child {
        margin-bottom: 80px !important;
    }
}

/* 2️⃣ Tablettes et écrans intermédiaires (1024px - 1400px) */
@media (max-width: 1400px) and (min-width: 1024px) {
    .delivery .row {
        gap: 100px;
    }
    .delivery .col-md-6:first-child {
        margin-bottom: 100px !important;
    }
}

/* 3️⃣ Smartphones standards (iPhone 14, Galaxy S23) */
@media (max-width: 1024px) and (min-width: 768px) {
    .delivery .row {
        gap: 120px;
    }
    .delivery .col-md-6:first-child {
        margin-bottom: 120px !important;
    }
}

/* 4️⃣ iPhone SE et petits écrans (moins de 768px) */
@media (max-width: 768px) {
    .delivery .row {
        gap: 20px; /* Augmentation pour éviter le chevauchement */
    }
    .delivery .col-md-6:first-child {
        margin-bottom: 20px !important;
    }
}

/* 5️⃣ Très petits écrans type iPhone SE (moins de 400px) */
@media (max-width: 400px) {
    .delivery .row {
        gap: 20px; /* Espace maximal pour éviter le chevauchement */
    }
    .delivery .col-md-6:first-child {
        margin-bottom: 20px !important;
    }
}