/* Kategori Kartları Stilleri */
.service__box-link {
    display: block;
    text-decoration: none;
    height: 100%;
}

.service__box {
    position: relative;
    height: 400px;
    background: #ffffff;
    border: 2px solid #144689;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.service__box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(20, 70, 137, 0.2);
    border-color: #fece15;
}

.service__front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px 30px;
    text-align: center;
}

.service__icon {
    width: 100px;
    height: 100px;
    background: #144689;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.service__icon i {
    font-size: 48px;
    color: #fece15;
}

.service__box:hover .service__icon {
    background: #fece15;
}

.service__box:hover .service__icon i {
    color: #144689;
}

.service__box .service__title {
    font-size: 24px;
    color: #144689;
    margin-bottom: 15px;
    font-weight: bold;
}

.service__desc {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

.service__hover {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #144689;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    text-align: center;
}

.service__box:hover .service__hover {
    transform: translateY(0);
}

.service__link-text {
    color: #fece15;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.service__link-text i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.service__box:hover .service__link-text i {
    transform: translateX(5px);
}

/* Responsive ayarlar */

/* Büyük tablet - küçük laptop */
@media (max-width: 1199px) {
    .service__box {
        height: 380px;
    }
    
    .service__box .service__title {
        font-size: 22px;
    }
    
    .service__desc {
        font-size: 15px;
    }
}

/* Tablet */
@media (max-width: 991px) {
    .service__box {
        height: 360px;
    }
    
    .service__icon {
        width: 90px;
        height: 90px;
    }
    
    .service__icon i {
        font-size: 42px;
    }
    
    .service__box .service__title {
        font-size: 21px;
    }
    
    .service__desc {
        font-size: 14px;
    }
}

/* Küçük tablet */
@media (max-width: 768px) {
    .service__box {
        height: 340px;
    }
    
    .service__icon {
        width: 85px;
        height: 85px;
        margin-bottom: 25px;
    }
    
    .service__icon i {
        font-size: 38px;
    }
    
    .service__box .service__title {
        font-size: 20px;
    }
    
    .service__front {
        padding: 35px 25px;
    }
    
    .service__link-text {
        font-size: 16px;
    }
    
    /* Mobilde hover efektini disable et */
    .service__box:hover {
        transform: translateY(-5px);
    }
}

/* Büyük telefon */
@media (max-width: 576px) {
    .service__box {
        height: 320px;
    }
    
    .service__icon {
        width: 80px;
        height: 80px;
        margin-bottom: 20px;
    }
    
    .service__icon i {
        font-size: 36px;
    }
    
    .service__box .service__title {
        font-size: 19px;
        margin-bottom: 12px;
    }
    
    .service__desc {
        font-size: 13px;
    }
}

/* Küçük telefon */
@media (max-width: 480px) {
    .service__box {
        height: 300px;
    }
    
    .service__front {
        padding: 30px 20px;
    }
    
    .service__icon {
        width: 75px;
        height: 75px;
    }
    
    .service__icon i {
        font-size: 34px;
    }
    
    .service__box .service__title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .service__hover {
        padding: 15px;
    }
    
    .service__link-text {
        font-size: 15px;
    }
}

/* Çok küçük telefon */
@media (max-width: 360px) {
    .service__box {
        height: 280px;
    }
    
    .service__icon {
        width: 70px;
        height: 70px;
        margin-bottom: 15px;
    }
    
    .service__icon i {
        font-size: 30px;
    }
    
    .service__box .service__title {
        font-size: 17px;
    }
    
    .service__desc {
        font-size: 12px;
    }
    
    .service__link-text {
        font-size: 14px;
    }
}

/* Swiper container için responsive ayarlar */
@media (max-width: 768px) {
    .services-wrapper .swiper-container {
        padding: 0 15px;
    }
}

/* Touch cihazlar için özel ayarlar */
@media (hover: none) and (pointer: coarse) {
    .service__hover {
        transform: translateY(0);
        background: rgba(20, 70, 137, 0.95);
        padding: 15px;
    }
    
    .service__box:active .service__icon {
        background: #fece15;
    }
    
    .service__box:active .service__icon i {
        color: #144689;
    }
}

/* Swiper Pagination Stilleri */
.service-slider {
    padding-bottom: 50px !important;
    position: relative;
}

.service-slider .swiper-pagination {
    bottom: 0 !important;
    position: relative;
    margin-top: 30px;
}

.service-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #144689;
    opacity: 0.3;
    transition: all 0.3s ease;
}

.service-slider .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fece15;
    transform: scale(1.2);
}

/* Mobil için pagination ayarları */
@media (max-width: 768px) {
    .service-slider {
        padding-bottom: 40px !important;
    }
    
    .service-slider .swiper-pagination {
        margin-top: 20px;
    }
    
    .service-slider .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 4px !important;
    }
}

/* Container için overflow ayarı */
.services-wrapper {
    overflow: hidden;
}

/* Mobilde kart kenarlarının görünmesi için */
@media (max-width: 576px) {
    .service-slider {
        overflow: visible !important;
    }
    
    .service-slider .swiper-slide {
        opacity: 0.5;
        transform: scale(0.9);
        transition: all 0.3s ease;
    }
    
    .service-slider .swiper-slide-active {
        opacity: 1;
        transform: scale(1);
    }
}