/* ===== Services Section - 2025 Trend Design ===== */
.services-section {
    margin-top: 60px;
    padding: 80px 0 60px 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* Background Grid */
.services-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(3, 171, 197, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(3, 171, 197, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}



/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 80px;
    padding: 0;
    position: relative;
    z-index: 1;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(3, 171, 197, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(3, 171, 197, 0.2);
    border-radius: 50px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    animation: float 3s ease-in-out infinite;
}

.section-badge i {
    font-size: 18px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.section-title {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-primary);
    opacity: 1;
    transform: translateY(0);
}

.section-description {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 1;
    transform: translateY(0);
}

/* Services Grid - 2025 Bento Grid Style */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    position: relative;
    z-index: 1;
    margin-bottom: var(--spacing-xl);
}

/* Service Card - Image Based Design */
.service-card {
    position: relative;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    opacity: 1 !important;
    transform: translateY(0) !important;
    visibility: visible !important;
    will-change: transform;
}

/* Staggered Animation - Removed for stability */

/* Service Image */
.service-image {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
    z-index: 1;
    background: var(--bg-secondary);
}

.service-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    opacity: 1;
    visibility: visible;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

/* Service Overlay - Removed (no blue overlay on image) */
.service-overlay {
    display: none;
}

/* Service Content */
.service-content {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 2;
    background: var(--bg-secondary);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(3, 171, 197, 0.25);
}

/* Animated glowing border effect on hover */
.service-card::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: linear-gradient(90deg, #03ABC5, #0476F3, #03ABC5, #0476F3);
    background-size: 300% 300%;
    border-radius: var(--radius-md);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    pointer-events: none;
    animation: borderGlow 3s ease infinite;
}

.service-card:hover::before {
    opacity: 1;
}

@keyframes borderGlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Service Icon - Floating on Image */
.service-icon {
    position: absolute;
    top: -35px;
    left: 1.75rem;
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #03ABC5, #0476F3);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(3, 171, 197, 0.4);
    transition: all 0.4s ease;
    z-index: 3;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 40px rgba(3, 171, 197, 0.6);
}

.service-icon i {
    font-size: 2rem;
    color: #ffffff;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon i {
    transform: scale(1.1);
}

/* Service Text Content */
.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    margin-top: 0.5rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-title {
    color: var(--primary-color);
}

.service-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    flex: 1;
}

/* Service Features */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-md) 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.service-features li i {
    color: var(--primary-color);
    font-size: 0.75rem;
}

/* Service Link */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #03ABC5 !important;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.service-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.service-link:hover::after {
    width: 100%;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Services CTA */
.services-cta {
    text-align: center;
    position: relative;
    z-index: 1;
    opacity: 1;
    transform: translateY(0);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Special Highlight for "Yapıyoruz" - Creative & Unique Style (Static) */
.highlight-special {
    background: linear-gradient(90deg, #ff6347 0%, #ff7f50 20%, #da70d6 40%, #ba55d3 60%, #9370db 80%, #8a2be2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 968px) {
    .services-section {
        padding: 4rem 0;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .service-image {
        height: auto;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        top: -30px;
        left: 1.5rem;
    }
    
    .service-icon i {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .services-section {
        padding: 3rem 0;
    }
    
    .section-header {
        margin-bottom: 2rem;
    }
    
    .section-badge {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-image {
        height: auto;
    }
    
    .service-content {
        padding: 1.25rem;
    }
    
    .service-icon {
        width: 55px;
        height: 55px;
        top: -27px;
        left: 1.25rem;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .service-title {
        font-size: 1.1rem;
        margin-top: 0.25rem;
    }
    
    .service-description {
        font-size: 0.9rem;
    }
    
    .btn-large {
        width: 100%;
        padding: 0.95rem 2rem;
        font-size: 1rem;
    }
}

/* Service Card Link Wrapper */
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

.service-card-link:hover {
    text-decoration: none;
}

.service-card-link .service-link {
    cursor: pointer;
}
