/* Styles pour la page des réalisations */
.realisations-page {
    padding-top: 80px; /* Pour compenser la navbar fixe */
}

/* Hero section */
.page-hero {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 4rem 0;
    text-align: center;
}

.page-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Carrousel principal */
.main-swiper {
    width: 100%;
    height: 600px;
    margin: 2rem 0;
}

.main-swiper .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.main-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: var(--light-color);
    padding: 1.5rem;
}

.slide-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

/* Navigation du carrousel */
.swiper-button-next,
.swiper-button-prev {
    color: var(--primary-color);
}

.swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* Sections de catégories */
.category-section {
    padding: 4rem 0;
}

.category-section:nth-child(even) {
    background-color: var(--gray-color);
}

.category-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .category-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

.category-description h3,
.technical-details h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.category-description ul,
.technical-details ul {
    list-style: none;
    padding: 0;
}

.category-description li,
.technical-details li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.category-description li:before,
.technical-details li:before {
    content: "→";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Galerie de projets */
.project-gallery {
    grid-column: 1 / -1;
    margin-top: 2rem;
}

.case-study {
    background: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.case-study img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.case-content {
    padding: 1.5rem;
}

.case-content h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.case-content p {
    margin-bottom: 0.5rem;
}

.case-content strong {
    color: var(--dark-color);
}

/* Carrousel des catégories */
.category-swiper {
    width: 100%;
    padding: 2rem 0;
}

.category-swiper .swiper-slide {
    height: auto;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .page-hero {
        padding: 3rem 0;
    }

    .page-hero h1 {
        font-size: 2rem;
    }

    .main-swiper {
        height: 400px;
    }

    .category-content {
        grid-template-columns: 1fr;
    }
}