/**
 * Styles spécifiques pour la page Entretien de Jardin
 * Paysagiste Français
 */

/* Hero Section - Styles de base */
.hero-entretien {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat;
    color: white;
    /* Les autres propriétés sont définies inline pour éviter les conflits */
}

.hero-entretien::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/pattern-grass.png') repeat;
    opacity: 0.1;
    z-index: 0;
    pointer-events: none;
}

/* Container dans hero */
.hero-entretien .container {
    position: relative;
    z-index: 2;
    /* Le padding-top est géré inline */
}

/* Row ajustée pour être centrée */
.hero-entretien .row {
    width: 100%;
    margin: 0;
}

/* Bouton glass morphism comme sur index.php */
.btn-glass {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    color: white !important;
    font-weight: 600;
    padding: 12px 30px;
    transition: all 0.3s ease;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: white !important;
}

.btn-glass:focus,
.btn-glass:active {
    background: rgba(255, 255, 255, 0.2) !important;
    box-shadow: none !important;
    outline: none !important;
}

.badge-eco {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 2px solid #ffc107;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.services-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.badge-service {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

/* Maintenance Card */
.maintenance-card {
    background: white;
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 420px;
    margin: 0 auto;
}

/* Mobile responsive - Cacher le module maintenance */
@media (max-width: 991px) {
    /* Cache complètement la div hero-visual qui contient la carte */
    .hero-visual {
        display: none !important;
    }
    
    /* Le texte prend toute la largeur */
    .hero-section .col-lg-6 {
        max-width: 100%;
        flex: 0 0 100%;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 1.75rem !important;
    }
    
    .hero-section .lead {
        font-size: 1rem !important;
    }
    
    .services-badges {
        justify-content: center;
    }
    
    .badge-service {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
}

.maintenance-card h3 {
    color: #2e7d32 !important;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
}

.frequency-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.freq-option {
    text-align: center;
    padding: 0.5rem;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.freq-option:hover {
    border-color: #4caf50;
    transform: translateY(-5px);
}

.freq-option.active {
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-color: #4caf50;
}

.freq-icon {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.25rem;
    font-size: 1.2rem;
    color: #666;
}

.freq-option.active .freq-icon {
    background: #4caf50;
    color: white;
}

.freq-option h5 {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    color: #333;
}

.freq-option p {
    margin: 0;
    font-size: 0.8rem;
    color: #999;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #666;
}

.benefit-item i {
    color: #4caf50;
    font-size: 1.25rem;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
}

.service-card h4 {
    color: #333;
    margin-bottom: 1rem;
}

.service-details {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.service-details li {
    padding: 0.5rem 0;
    color: #666;
    font-size: 0.95rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

.price-tag {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
}

.price-tag span {
    display: block;
    color: #999;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.price-tag strong {
    display: block;
    color: #2e7d32;
    font-size: 1.25rem;
}

/* Forfaits */
.forfait-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.forfait-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.forfait-card.featured {
    border: 3px solid #4caf50;
}

.badge-popular {
    position: absolute;
    top: 10px;
    right: -30px;
    background: #ff9800;
    color: white;
    padding: 0.25rem 2rem;
    transform: rotate(45deg);
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 1;
}

.forfait-header {
    padding: 2rem;
    text-align: center;
}

.forfait-header h4 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.price {
    margin-bottom: 0.5rem;
}

.price .amount {
    font-size: 2.5rem;
    font-weight: bold;
}

.price .period {
    font-size: 1rem;
    opacity: 0.8;
}

.credit-impot {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.forfait-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.forfait-body h5 {
    color: #666;
    margin-bottom: 1.5rem;
    font-size: 1rem;
    text-align: center;
}

.forfait-body ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    flex: 1;
}

.forfait-body ul li {
    padding: 0.5rem 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.forfait-body ul li i {
    color: #4caf50;
}

/* Calendrier saisonnier */
.season-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.season-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.season-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.season-card.spring .season-icon {
    background: linear-gradient(135deg, #c8e6c9 0%, #a5d6a7 100%);
    color: #2e7d32;
}

.season-card.summer .season-icon {
    background: linear-gradient(135deg, #fff9c4 0%, #ffeb3b 100%);
    color: #f57c00;
}

.season-card.autumn .season-icon {
    background: linear-gradient(135deg, #ffccbc 0%, #ff8a65 100%);
    color: #d84315;
}

.season-card.winter .season-icon {
    background: linear-gradient(135deg, #e1f5fe 0%, #81d4fa 100%);
    color: #0277bd;
}

.season-card h4 {
    margin-bottom: 1.5rem;
    color: #333;
}

.season-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.season-card ul li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.season-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #4caf50;
    font-weight: bold;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-text {
    flex: 1;
    font-style: italic;
    color: #666;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.testimonial-author {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.testimonial-author strong {
    display: block;
    color: #333;
    margin-bottom: 0.25rem;
}

.testimonial-author span {
    color: #999;
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #2e7d32 0%, #1b5e20 100%);
}

.cta-box {
    padding: 3rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

/* Responsive - Nettoyer les règles contradictoires */
@media (max-width: 768px) {
    /* Hero section mobile */
    .hero-entretien {
        text-align: center;
        background-attachment: scroll !important;
    }
    
    .hero-entretien .container {
        padding-top: 70px; /* Espace pour la navbar */
    }
    
    /* Cacher COMPLETEMENT la hero-visual et maintenance-card */
    .hero-visual,
    .maintenance-card {
        display: none !important;
    }
    
    /* Forfaits responsive */
    .forfait-card {
        margin-bottom: 2rem;
    }
    
    /* CTA responsive */
    .cta-box {
        padding: 2rem 1rem;
    }
}
/* Fix contraste texte blanc sur fond blanc */
.maintenance-card h3 i {
    color: #2e7d32 !important;
}

.maintenance-card h3,
.maintenance-card h3 * {
    color: #2e7d32 !important;
}
