/* Modern Hizmetler Düzeni */
.services-content {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

/* Hizmet Kartı (3D Efekti) */
.service-card {
    position: relative;
    background-color: var(--card-bg);
    border-radius: var(--border-radius-lg);
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    z-index: 1;
    transform-style: preserve-3d;
    perspective: 1000px;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-15px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
}

.service-card:hover::before {
    opacity: 1;
}

/* Hizmet İkonu */
.service-icon {
    width: 80px;
    height: 80px;
    background-color: var(--card-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.service-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: all 0.5s ease;
}

.service-card:hover .service-icon {
    background-color: #fff;
    /* Beyaz arka plan */
    transform: rotateY(360deg);
}

.service-card:hover .service-icon i {
    color: var(--primary-color);
    /* Hover durumunda ikon rengini koru */
}

/* Hizmet Başlığı */
.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 15px;
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    left: 50%;
    transform: translateX(-50%);
}

.service-card:hover h3 {
    color: #fff;
}

.service-card:hover h3::after {
    width: 100px;
    background-color: rgba(255, 255, 255, 0.5);
}

/* Hizmet Metni */
.service-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.service-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}

/* Hizmet Linki */
.service-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: var(--font-medium);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 5;
}

.service-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.service-card:hover .service-link {
    color: #fff;
}

.service-card:hover .service-link::before {
    width: 100%;
}

.service-link i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(8px);
}

/* Yüzen İkonlar */
.service-card .floating-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.05);
    transform: rotate(30deg);
    transition: all 0.5s ease;
    z-index: 1;
}

.service-card:hover .floating-icon {
    transform: rotate(0deg) scale(1.2);
    opacity: 0.1;
}

/* Hizmet Kartı Numarası */
.service-card .card-count {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 3rem;
    font-weight: var(--font-bold);
    color: rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover .card-count {
    color: rgba(255, 255, 255, 0.15);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .services-content {
        grid-template-columns: 1fr;
    }
}