/* ============================================
   SERVICE DETAIL PAGE STYLES
   ============================================ */

/* ============================================
   SERVICE HERO SECTION
   ============================================ */

.service-hero {
    position: relative;
    width: 100%;
    min-height: 659px;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 60px 0;
}

.service-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.service-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1312px;
    width: 100%;
}

.service-hero__title span {
    display: block;
}

.service-hero__description {
    max-width: 688px;
}

.service-hero__btn {
    align-self: flex-start;
}

/* ============================================
   SERVICE DESCRIPTION SECTION
   ============================================ */

.service-description {
    padding-top: 120px;
    background-color: #fff;
}

.service-description__inner {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.service-description__header {
    display: flex;
    gap: 24px;
    max-width: 100%;
    justify-content: space-between;
}

.service-description__content {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 1145px;
    width: 100%;
}

.service-description__title {
    max-width: 100%;
}

.service-description__text {
    max-width: 688px;
}

.service-description__btn {
    margin-top: 16px;
    width: 257px;
}

.service-description__features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Service Feature Cards */
.service-feature {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 24px;
    background: #F7F7F8;
    width: calc(33.333% - 14px);
}

.service-feature:nth-child(4),
.service-feature:nth-child(5) {
    width: calc(50% - 10px);
}

.service-feature__title {
    font-family: 'Actay Wide', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 120%;
    background: linear-gradient(180deg, #4778f5 0%, #192d60 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 390px;
}

.service-feature__title--big {
    max-width: 510px;
}

.service-feature__text {
    color: #0B0C0E;
}

/* ============================================
   SERVICE GALLERY SLIDER SECTION
   ============================================ */

.service-gallery {
    padding-top: 120px;
    background-color: #fff;
}

.service-gallery__slider {
    position: relative;
    overflow: hidden;
}

.service-gallery__track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.service-gallery__track::-webkit-scrollbar {
    display: none;
}

.service-gallery__slide {
    flex: 0 0 calc(33.333% - 11px);
    min-width: calc(33.333% - 11px);
}

.service-gallery__image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

/* Slider Dots */
.service-gallery__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.service-gallery__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(11, 12, 14, 0.2);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.service-gallery__dot--active {
    background-color: #0B0C0E;
}

.service-gallery__dot:hover {
    background-color: rgba(11, 12, 14, 0.5);
}

/* ============================================
   SERVICE DETAIL PRODUCTS SECTION
   ============================================ */

.service-detail__products-header-left {
    max-width: 1032px;
}

/* ============================================
   SERVICE DETAIL DIRECTIONS SECTION
   ============================================ */

.service-detail__directions {
    margin-top: 88px;
}

.service-detail__directions-title {
    max-width: 1130px;
}

/* ============================================
   NEWS SECTION
   ============================================ */
.news__header--detail-service {
    align-items: flex-start;
}

.news__header-content {
    max-width: 1027px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-detail__news-btn {
    margin-top: 16px;
}


/* ============================================
   MEDIA QUERIES
   ============================================ */

/* Tablet - Large (1310px - 1200px) */
@media (max-width: 1310px) {
    .service-hero {
        min-height: 600px;
    }
}

/* Tablet - Medium (1200px - 1100px) */
@media (max-width: 1200px) {
    .service-hero {
        min-height: 550px;
        padding: 50px 0;
    }
}

/* Tablet - Small (1100px - 900px) */
@media (max-width: 1100px) {
    .service-hero {
        min-height: 500px;
        padding: 40px 0;
    }

    .service-hero__content {
        gap: 20px;
    }
}

/* Mobile (≤900px) */
@media (max-width: 900px) {
    .service-hero {
        min-height: 450px;
        padding: 32px 0;
    }

    .service-hero__content {
        gap: 16px;
    }

    .service-feature__title {
        font-size: 20px;
    }

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

    .service-gallery__image {
        height: 290px;
    }
}

/* Mobile - Small (≤600px) */
@media (max-width: 600px) {
    .service-hero {
        min-height: 400px;
    }

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

    .service-feature,
    .service-feature__title {
        max-width: 100%;
        width: 100%;
    }

    .service-feature:nth-child(4),
    .service-feature:nth-child(5) {
        width: 100%;
    }

    .service-gallery__image {
        height: 200px;
    }

    .service-gallery {
        padding-top: 80px;
    }
}

@media (max-width: 400px) {
    .service-gallery__image {
        height: 150px;
    }
}