/* 
   Société de Déménagement Casablanca 
   Service Pages Stylesheet
*/

/* Service Hero Section */
.service-hero {
    background-color: var(--primary-color); /* Couleur de secours si pas d'image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 120px 0;
    text-align: center;
    color: var(--white);
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.service-hero .container {
    position: relative;
    z-index: 2;
}

.service-hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.service-hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Service Details */
.service-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.service-description h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-description p {
    margin-bottom: 30px;
    line-height: 1.7;
}

/* Feature List */
.feature-list {
    margin-top: 40px;
}

.feature-item {
    display: flex;
    margin-bottom: 30px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.feature-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.feature-text h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Service Sidebar */
.service-sidebar > div {
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 30px;
    margin-bottom: 30px;
}

.service-info-box h3,
.cta-box h3,
.testimonial-box h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-info-box ul {
    list-style: none;
}

.service-info-box ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.service-info-box ul li i {
    color: var(--primary-color);
    margin-right: 10px;
}

.cta-box {
    background-color: var(--light-color);
    color: var(--dark-color);
    border-left: 4px solid var(--primary-color);
}

.cta-box h3 {
    color: var(--dark-color);
    font-weight: 600;
}

.cta-box p {
    margin-bottom: 20px;
    font-weight: 500;
    color: var(--dark-color);
}

.cta-box .btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    transition: all 0.3s ease;
}

.cta-box .btn-primary:hover {
    background-color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--dark-color);
    border-color: var(--dark-color);
}

.cta-box .btn-primary:hover {
    background-color: transparent;
    color: var(--dark-color);
}

/* Testimonial Box */
.testimonial {
    position: relative;
}

.rating {
    margin-bottom: 15px;
    color: #FFD700;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 15px;
    position: relative;
}

.testimonial p::before {
    content: '\201C';
    font-size: 60px;
    font-family: Georgia, serif;
    position: absolute;
    left: -20px;
    top: -20px;
    opacity: 0.3;
    color: var(--primary-color);
}

.testimonial h4 {
    text-align: right;
    font-weight: 500;
}

/* Process Section */
.process-section {
    background-color: var(--light-color);
}

.process-steps {
    max-width: 900px;
    margin: 0 auto;
}

.step {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 60px;
    left: 25px;
    height: calc(100% - 20px);
    width: 2px;
    background-color: var(--accent-color);
}

.step-number {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin-right: 20px;
    position: relative;
    z-index: 2;
}

.step-content h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .service-content {
        grid-template-columns: 1fr;
    }
    
    .service-sidebar {
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .service-hero {
        padding: 60px 0;
    }
    
    .service-hero h1 {
        font-size: 32px;
    }
    
    .feature-item {
        flex-direction: column;
    }
    
    .feature-icon {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .process-section .step {
        flex-direction: column;
    }
    
    .step-number {
        margin-bottom: 15px;
        margin-right: 0;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
}

@media (max-width: 576px) {
    .service-hero h1 {
        font-size: 28px;
    }
    
    .service-hero p {
        font-size: 16px;
    }
}
.logo-img {
    max-width: 200px; /* Ajustez la taille maximale de l'image du logo */
    height: auto; /* Assurez-vous que la hauteur s'ajuste automatiquement */
    display: block;
    margin: 0 auto; /* Centrer le logo */
}
