/* src/public/css/service-detail.css */

/* Styles pour la page de détail des services */

.page-header {
    background-color: #1a1a1a; /* Fond sombre */
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-header h1 {
    font-size: 3.5em;
    margin-bottom: 10px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-header p {
    font-size: 1.4em;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

.service-detail {
    padding: 40px 0;
}

.service-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    background-color: #1e1e1e; /* Fond sombre pour le contenu */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    padding: 30px;
    color: #f0f0f0;
}

.service-image {
    flex: 1 1 300px;
    text-align: center;
}

.service-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 3px solid #16d7ae;
}

.service-description {
    flex: 2 1 600px;
}

.service-description h2,
.service-description h3 {
    color: #16d7ae; /* Vert du logo */
    margin-top: 20px;
    margin-bottom: 15px;
    border-bottom: 2px solid #333333;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-description h2 {
    font-size: 2.5em;
}

.service-description h3 {
    font-size: 1.8em;
}

.service-description p {
    line-height: 1.8;
    margin-bottom: 15px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.service-features li {
    background-color: #333333;
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.service-cta {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.related-services {
    padding: 40px 0;
    background-color: #1a1a1a; /* Fond sombre pour la section */
    color: #f0f0f0;
    margin-top: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.related-services h2 {
    color: #16d7ae;
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.related-services h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #16d7ae;
    border-radius: 2px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: #1e1e1e;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #f0f0f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
}

.service-card .service-icon {
    margin-bottom: 15px;
}

.service-card .service-icon i {
    font-size: 3em;
    color: #16d7ae;
}

.service-card h3 {
    color: #16d7ae;
    font-size: 1.5em;
    margin-bottom: 5px;
}

.service-card p {
    font-size: 0.9em;
    color: #a0a0a0;
    margin-bottom: 15px;
}

/* Responsive adjustments */
@media (max-width: 48rem) {
    .page-header {
        padding: 60px 0;
    }

    .page-header h1 {
        font-size: 2.5em;
    }

    .page-header p {
        font-size: 1.2em;
    }

    .service-content {
        flex-direction: column;
    }

    .service-image {
        margin-bottom: 20px;
    }

    .service-description h2 {
        font-size: 2em;
    }

    .service-description h3 {
        font-size: 1.5em;
    }

    .service-cta {
        flex-direction: column;
    }

    .related-services h2 {
        font-size: 2em;
    }
}