/* Innovus Solution Özel Stilleri */

/* Servis Kartları Stilleri */
.service-card-modern {
    transition: transform 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.service-card-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

.service-card-modern .service-image {
    position: relative;
    overflow: hidden;
}

.service-card-modern .service-icon {
    position: absolute;
    bottom: -25px;
    right: 20px;
    background: #196164;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.service-card-modern .service-content {
    padding: 1.5rem;
}

/* Buton Stilleri */
.btn-outline-primary {
    color: #196164;
    border-color: #196164;
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: #196164 !important;
    color: white !important;
    border-color: #196164 !important;
}

/* Genel Yardımcı Sınıflar */
.rounded-4 {
    border-radius: 10px;
}

.hover-shadow {
    transition: box-shadow 0.3s ease;
}

.hover-shadow:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Modern Servis Alanı Stili */
.service-area-modern {
    position: relative;
    padding: 80px 0 100px;
    background-color: #f9fafb;
    overflow: hidden;
}

.service-area-modern::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background-image: linear-gradient(to top, rgba(25, 97, 100, 0.03), rgba(25, 97, 100, 0));
    z-index: 1;
}

.service-area-modern .container {
    position: relative;
    z-index: 5;
}

.service-area-modern .title-area {
    margin-bottom: 70px;
}

/* Yeni Minimal Servis Kartları */
.service-area-modern .service-card {
    position: relative;
    background: none;
    border-radius: 0;
    overflow: visible;
    transition: all 0.4s ease;
    border: none;
    box-shadow: none;
    margin-bottom: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-area-modern .service-card:hover {
    transform: translateY(-10px);
}

.service-area-modern .service-card_img {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    height: 250px;
    transform: translateZ(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-area-modern .service-card:hover .service-card_img {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px) translateZ(0);
}

.service-area-modern .service-card_img img {
    transition: transform 1s ease;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-area-modern .service-card:hover .service-card_img img {
    transform: scale(1.05);
}

.service-area-modern .service-card_img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 50%);
    z-index: 1;
    transition: opacity 0.4s ease;
    opacity: 0.6;
}

.service-area-modern .service-card:hover .service-card_img::after {
    opacity: 0.4;
}

.service-area-modern .service-card_content {
    padding: 0;
    position: relative;
    background: none;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-area-modern .service-card_title {
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    font-size: 20px;
    line-height: 1.4;
}

.service-area-modern .service-card_title a {
    color: #1a1a1a;
    transition: color 0.3s ease;
    text-decoration: none;
    display: inline;
    background-image: linear-gradient(transparent calc(100% - 2px), #196164 2px);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    transition: background-size 0.4s ease;
}

.service-area-modern .service-card_title a:hover {
    color: #196164;
    background-size: 100% 100%;
}

.service-area-modern .service-card_text {
    margin-bottom: 20px;
    color: #555;
    line-height: 1.6;
    flex-grow: 1;
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.service-area-modern .link-btn {
    display: inline-flex;
    align-items: center;
    color: #196164;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-top: auto;
    position: relative;
    padding: 10px 0;
}

.service-area-modern .link-btn::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: #196164;
    transition: width 0.3s ease;
}

.service-area-modern .link-btn:hover {
    color: #0d4446;
}

.service-area-modern .link-btn:hover::before {
    width: 100%;
}

.service-area-modern .link-btn i {
    margin-left: 10px;
    transition: transform 0.3s ease;
}

.service-area-modern .link-btn:hover i {
    transform: translateX(6px);
}

/* Dikey ayırıcı çizgi */
.service-area-modern .col-md-6:nth-child(odd):after {
    content: '';
    position: absolute;
    top: 10%;
    right: 0;
    height: 80%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.05), transparent);
    display: none;
}

@media (min-width: 992px) {
    .service-area-modern .col-md-6:nth-child(odd):after {
        display: block;
    }
    
    .service-area-modern .col-md-6:nth-child(1):before,
    .service-area-modern .col-md-6:nth-child(2):before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 10%;
        width: 80%;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(0,0,0,0.05), transparent);
    }
}

/* Responsive Ayarlamalar */
@media (max-width: 768px) {
    .service-area-modern {
        padding: 60px 0 80px;
    }
    
    .service-area-modern .title-area {
        margin-bottom: 40px;
    }
    
    .service-area-modern .service-card_img {
        height: 200px;
        margin-bottom: 20px;
    }
    
    .service-area-modern .service-card_title {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .service-area-modern .service-card_text {
        font-size: 14px;
        -webkit-line-clamp: 2;
        margin-bottom: 15px;
    }
    
    .service-area-modern .link-btn {
        padding: 8px 0;
    }
}

/* Animasyon için ekstra stil */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-area-modern .service-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.service-area-modern .col-md-6:nth-child(1) .service-card {
    animation-delay: 0.1s;
}

.service-area-modern .col-md-6:nth-child(2) .service-card {
    animation-delay: 0.3s;
}

.service-area-modern .col-md-6:nth-child(3) .service-card {
    animation-delay: 0.5s;
}

.service-area-modern .col-md-6:nth-child(4) .service-card {
    animation-delay: 0.7s;
} 