/* Hizmetler Bölümü Stilleri */
.hizmet-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.hizmet-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.hizmet-img-container {
    position: relative;
    overflow: hidden;
    height: 180px;
    flex-shrink: 0;
}

.hizmet-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hizmet-card:hover .hizmet-img {
    transform: scale(1.05);
}

.hizmet-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.hizmet-card:hover .hizmet-overlay {
    opacity: 0.9;
}

.hizmet-content {
    padding: 20px;
    background-color: #fff;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.hizmet-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
    transition: color 0.3s ease;
    height: 60px;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    line-height: 1.3;
}

.hizmet-card:hover .hizmet-title {
    color: #007bff;
}

.hizmet-desc {
    font-size: 13px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
    height: 55px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.hizmet-btn-container {
    margin-top: auto;
}

.hizmet-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: #3a2b78;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    width: 100%;
    text-align: center;
}

.hizmet-btn:hover {
    background-color: #2a1b68;
    color: #fff;
    text-decoration: none;
}

.hizmet-icon {
    position: absolute;
    top: -25px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #3a2b78;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.hizmet-card:hover .hizmet-icon {
    transform: rotate(360deg);
    background-color: #007991;
}

/* Zarif Başlık Stilleri */
.hizmet-section-title, 
.section-main-title {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 15px;
    font-weight: 600;
    font-size: 30px;
    color: #333;
    display: inline-block;
}

.section-title {
    position: relative;
    margin-bottom: 40px;
    padding: 10px 0;
    text-align: center;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(to right, #3a2b78, #007991);
}

.section-title .section-main-title {
    position: relative;
    display: inline-block;
    margin: 0 auto;
    padding: 0 30px;
}

.section-title .section-main-title:before,
.section-title .section-main-title:after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 2px;
    background: #3a2b78;
    transform: translateY(-50%);
}

.section-title .section-main-title:before {
    left: 0;
}

.section-title .section-main-title:after {
    right: 0;
}

/* Özel başlık stili - Hizmetler ve Bölgeler için */
.section-title.elegant-title {
    background: linear-gradient(to right, rgba(58, 43, 120, 0.05), rgba(58, 43, 120, 0.1), rgba(58, 43, 120, 0.05));
    border-radius: 4px;
    padding: 20px 0;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.section-title.elegant-title .section-main-title {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #333;
}

.section-title.elegant-title:after {
    height: 3px;
    width: 80px;
    border-radius: 3px;
    bottom: 10px;
}

.tum-hizmetler-btn {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(to right, #3a2b78, #007991);
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    border: none;
    margin-top: 20px;
}

.tum-hizmetler-btn:hover {
    background: linear-gradient(to right, #007991, #3a2b78);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    color: #fff;
    text-decoration: none;
}

/* Hizmetler ve Hizmet Bölgeleri Arasındaki Bölücü */
.services-divider {
    position: relative;
    height: 80px;
    margin: 30px 0;
    text-align: center;
    overflow: hidden;
}

.services-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, rgba(58, 43, 120, 0.1), rgba(58, 43, 120, 0.8), rgba(0, 121, 145, 0.8), rgba(58, 43, 120, 0.1));
    z-index: 1;
}

.services-divider-icon {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    z-index: 2;
    cursor: pointer;
    animation: float-icon 3s ease-in-out infinite;
    transition: transform 0.3s ease;
}

.services-divider-icon:hover {
    animation-play-state: paused;
    transform: scale(1.1);
}

.services-divider-icon i {
    font-size: 28px;
    line-height: 60px;
    background: linear-gradient(to right, #3a2b78, #007991);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rotate-icon 8s linear infinite;
}

@keyframes float-icon {
    0% {
        transform: translateX(0) rotate(0deg);
    }
    25% {
        transform: translateX(-20px) rotate(-5deg);
    }
    50% {
        transform: translateX(0) rotate(0deg);
    }
    75% {
        transform: translateX(20px) rotate(5deg);
    }
    100% {
        transform: translateX(0) rotate(0deg);
    }
}

@keyframes rotate-icon {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.services-divider-icon::before,
.services-divider-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #3a2b78;
    transform: translateY(-50%);
}

.services-divider-icon::before {
    left: -30px;
}

.services-divider-icon::after {
    right: -30px;
}

/* Service Regions Styles */
.service-region-button-item {
    padding-left: 10px; /* Sütunlar arası boşluk için */
    padding-right: 10px; /* Sütunlar arası boşluk için */
    margin-bottom: 25px; /* Buton satırları arası dikey boşluk */
}

.service-region-button {
    display: flex;
    align-items: center;
    padding: 18px 22px; /* Buton iç dolgusu */
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 8px; /* Kenar yuvarlaklığı */
    font-size: 15px; /* Yazı tipi boyutu */
    font-weight: 600; /* Yazı tipi kalınlığı */
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%; 
    min-height: 60px; /* Buton minimum yüksekliği */
    box-shadow: 0 3px 6px rgba(0,0,0,0.12); /* Gölge */
    line-height: 1.4;
    cursor: pointer;
}

.service-region-button i.fa-truck {
    margin-right: 14px; /* İkon ve metin arası boşluk */
    font-size: 1.3em; /* İkon boyutu */
}

.service-region-button:hover {
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-3px); /* Hover efekti */
    box-shadow: 0 6px 12px rgba(0,0,0,0.18); /* Hover gölgesi */
}

.service-regions-container .row {
    /* margin-left: -10px; */ 
    /* margin-right: -10px; */ 
}

/* Responsive Ayarlamalar */
@media (max-width: 767px) {
    .hizmet-img-container {
        height: 160px;
    }
    
    .hizmet-title {
        font-size: 16px;
    }
    
    .hizmet-desc {
        font-size: 13px;
        height: 39px;
    }
    
    .hizmet-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
        top: -20px;
    }
    
    .service-regions-container .service-region-button-item {
        margin-bottom: 15px; /* Butonlar arası dikey boşluk */
    }
    
    .service-regions-container .service-region-button {
        padding: 10px 8px;    /* Mobil için daha küçük iç dolgu */
        font-size: 12px;     /* Mobil için daha küçük yazı tipi */
        min-height: 45px;    /* Mobil için daha düşük minimum yükseklik */
        font-weight: 500;    /* Mobil için normal kalınlık */
        line-height: 1.3;    /* Mobil için satır yüksekliği */
    }
    
    .service-regions-container .service-region-button i.fa-truck {
        margin-right: 6px;   /* Mobil için daha az ikon boşluğu */
        font-size: 1em;      /* Mobil için daha küçük ikon */
    }
    
    .service-regions-container .service-region-button span {
        white-space: normal; /* Uzun kelimelerin alt satıra geçmesini sağlar */
        word-break: break-word; /* Kelimeleri kırarak taşmayı engeller */
    }
}
