/* ============================================
   GARDE-CORPS.CSS - Overrides spécifiques Garde-Corps
   ============================================ */

/* Hero Garde-corps avec image de fond spécifique */
.hero-section {
    background-image: url("../img/pack_garde_corps_rail_verre_trempe.jpg");
}

/* ============================================
   CAROUSEL SECTION - Garde-Corps
   ============================================ */

.carousel-section {
    padding: 60px 0;
    background-color: #fff;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

.carousel-section .swiper-container {
    width: 100%;
    padding-bottom: 50px;
}

.carousel-section .swiper-slide {
    background-position: center;
    background-size: cover;
    width: 750px;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.carousel-section .swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-section .swiper-slide:hover {
    transform: scale(1.02);
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color, #0056b3) !important;
}

.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color) !important;
    background-color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    transform: scale(1.05);
}

.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 18px;
    font-weight: bold;
}

.cta-center {
    text-align: center;
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-section .swiper-slide {
        width: 300px;
        height: 400px;
    }
}

/* Technical Sheet Section */
.technical-sheet-section {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.technical-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.6;
}

.detail-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .detail-row {
        grid-template-columns: 1fr 1fr;
    }
}

.detail-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.technical-text-wrapper {
    padding: 20px;
}

.technical-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.technical-list li {
    padding: 10px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.technical-list i {
    color: var(--primary-color);
    margin-right: 10px;
}

@media (max-width: 768px) {
    .technical-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .technical-list li {
        min-width: 0;
        font-size: 0.9rem;
    }
}

.technical-intro {
    text-align: center;
    font-weight: 500;
    margin-bottom: 30px;
}

/* Image expertise dimensions fix */
#expertise-quality .expertise-row-item.reverse-order .expertise-image img {
    width: 500px;
    height: 260px;
    object-fit: cover;
}
