/* services.css - Hizmetler Bölümü Stilleri - BAĞIMSIZ TASARIM */

.services {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 50%, #000000 100%);
    overflow: hidden;
    padding: 100px 20px;
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

/* KOD AKIŞI ARKAPLANI - HAKKIMIZDA'dan bağımsız */
.services .code-flow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.15;
}

.services .code-flow-line {
    position: absolute;
    color: #FFD700;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    white-space: nowrap;
    animation: servicesCodeFlow 20s linear infinite;
}

@keyframes servicesCodeFlow {
    0% {
        transform: translateY(-100%) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(1000%) translateX(100px);
        opacity: 0;
    }
}

.services .code-flow-line:nth-child(1) { left: 5%; animation-duration: 15s; animation-delay: 0s; content: 'function web() { }'; }
.services .code-flow-line:nth-child(2) { left: 15%; animation-duration: 18s; animation-delay: 2s; content: 'const seo = "optimize";'; }
.services .code-flow-line:nth-child(3) { left: 25%; animation-duration: 20s; animation-delay: 5s; content: 'class Design { }'; }
.services .code-flow-line:nth-child(4) { left: 35%; animation-duration: 16s; animation-delay: 1s; content: 'import React from "react";'; }
.services .code-flow-line:nth-child(5) { left: 45%; animation-duration: 22s; animation-delay: 7s; content: 'export default function();'; }
.services .code-flow-line:nth-child(6) { left: 55%; animation-duration: 14s; animation-delay: 4s; content: '<div className="app">'; }
.services .code-flow-line:nth-child(7) { left: 65%; animation-duration: 19s; animation-delay: 3s; content: 'npm install technova'; }
.services .code-flow-line:nth-child(8) { left: 75%; animation-duration: 21s; animation-delay: 6s; content: 'git commit -m "init"'; }
.services .code-flow-line:nth-child(9) { left: 85%; animation-duration: 17s; animation-delay: 8s; content: 'console.log("hello");'; }
.services .code-flow-line:nth-child(10) { left: 95%; animation-duration: 23s; animation-delay: 9s; content: 'return <Technova />'; }

/* KOD PARÇACIKLARI (SÜZÜLEN KODLAR) */
.services .code-snippet {
    position: absolute;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #FFD700;
    border-radius: 8px;
    padding: 10px 15px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(5px);
    pointer-events: none;
    z-index: 2;
    animation: servicesFloatSnippet 15s ease-in-out infinite;
    white-space: nowrap;
}

.services .code-snippet i {
    margin-right: 8px;
    color: #FFFFFF;
}

@keyframes servicesFloatSnippet {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(50px, -30px) rotate(5deg);
    }
    50% {
        transform: translate(20px, -80px) rotate(-3deg);
    }
    75% {
        transform: translate(-30px, -50px) rotate(8deg);
    }
}

.services .code-snippet-1 { top: 15%; left: 5%; animation-delay: 0s; }
.services .code-snippet-2 { top: 25%; right: 8%; animation-delay: 3s; }
.services .code-snippet-3 { bottom: 20%; left: 10%; animation-delay: 6s; }
.services .code-snippet-4 { bottom: 30%; right: 15%; animation-delay: 9s; }
.services .code-snippet-5 { top: 40%; left: 20%; animation-delay: 2s; }
.services .code-snippet-6 { top: 60%; right: 20%; animation-delay: 5s; }

.services-container {
    position: relative;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    z-index: 20;
}

/* Bölüm Başlığı - HAKKIMIZDA'dan bağımsız */
.services .section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
}

.services .section-subtitle {
    display: inline-block;
    font-size: 1rem;
    font-weight: 600;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 30px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.services .section-subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.2), transparent);
    animation: servicesShimmer 3s infinite;
}

@keyframes servicesShimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.services .section-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.services .section-title span {
    color: #FFD700;
    position: relative;
    display: inline-block;
    animation: servicesGlow 2s ease-in-out infinite;
}

@keyframes servicesGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    }
    50% {
        text-shadow: 0 0 40px rgba(255, 215, 0, 0.8), 0 0 60px rgba(255, 215, 0, 0.5);
    }
}

.services .section-description {
    font-size: 1.2rem;
    color: #CCCCCC;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
    position: relative;
    padding: 0 20px;
}

.services .section-description::before,
.services .section-description::after {
    content: '〈';
    position: absolute;
    color: #FFD700;
    font-size: 2rem;
    opacity: 0.3;
    top: 50%;
    transform: translateY(-50%);
}

.services .section-description::before {
    left: -30px;
}

.services .section-description::after {
    right: -30px;
    content: '〉';
}

/* HİZMET GRİD - AKIŞAN KUTULAR */
.services-grid-flow {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    position: relative;
}

/* Hizmet Kutusu - KART YOK, AKIŞAN KUTULAR */
.service-flow-box {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: all 0.4s ease;
    animation: servicesBoxFloat 6s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-flow-box:nth-child(1) { animation-delay: 0s; }
.service-flow-box:nth-child(2) { animation-delay: 1s; }
.service-flow-box:nth-child(3) { animation-delay: 2s; }
.service-flow-box:nth-child(4) { animation-delay: 3s; }
.service-flow-box:nth-child(5) { animation-delay: 4s; }

@keyframes servicesBoxFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

.service-flow-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.8s ease;
    z-index: -1;
}

.service-flow-box:hover {
    border-color: #FFD700;
    transform: scale(1.02) translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 215, 0, 0.2);
}

.service-flow-box:hover::before {
    left: 100%;
}

/* Kod İkonu */
.service-flow-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px dashed #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    position: relative;
    animation: servicesRotateIcon 10s linear infinite;
}

@keyframes servicesRotateIcon {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.service-flow-icon i {
    font-size: 2rem;
    color: #FFD700;
    animation: servicesCounterRotate 10s linear infinite;
}

@keyframes servicesCounterRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(-360deg);
    }
}

.service-flow-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1px solid #FFD700;
    border-radius: 50%;
    opacity: 0.3;
    animation: servicesPulse 2s ease-in-out infinite;
}

@keyframes servicesPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.1;
    }
}

/* Hizmet Başlık */
.service-flow-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.service-flow-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #FFD700;
    transition: width 0.3s ease;
}

.service-flow-box:hover .service-flow-title::after {
    width: 80px;
}

/* Hizmet Açıklama */
.service-flow-desc {
    font-size: 1rem;
    color: #CCCCCC;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Kod Parçacıkları (Hizmet içinde) */
.service-mini-code {
    background: rgba(0, 0, 0, 0.5);
    border-left: 3px solid #FFD700;
    padding: 1rem;
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: #FFD700;
    margin-bottom: 1.5rem;
    overflow: hidden;
    white-space: nowrap;
    animation: servicesTyping 3s steps(30, end) infinite;
    width: 100%;
}

@keyframes servicesTyping {
    0% { width: 0; }
    50% { width: 100%; }
    100% { width: 100%; }
}

.service-mini-code span {
    color: #FFFFFF;
    opacity: 0.7;
}

/* Özellik Etiketleri */
.service-flow-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.service-flow-tag {
    padding: 0.4rem 1rem;
    background: rgba(255, 215, 0, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 20px;
    color: #FFD700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.service-flow-tag:hover {
    background: #FFD700;
    color: #000000;
    transform: translateY(-2px);
}

.service-flow-tag i {
    margin-right: 5px;
    font-size: 0.8rem;
}

/* TEKNOLOJİ BULUTU */
.tech-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 4rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 50px;
    border: 1px solid rgba(255, 215, 0, 0.1);
    position: relative;
}

.tech-cloud-item {
    padding: 0.8rem 1.8rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #FFD700;
    border-radius: 30px;
    color: #FFD700;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    animation: servicesCloudFloat 4s ease-in-out infinite;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.1);
}

.tech-cloud-item:nth-child(1) { animation-delay: 0s; }
.tech-cloud-item:nth-child(2) { animation-delay: 0.5s; }
.tech-cloud-item:nth-child(3) { animation-delay: 1s; }
.tech-cloud-item:nth-child(4) { animation-delay: 1.5s; }
.tech-cloud-item:nth-child(5) { animation-delay: 2s; }
.tech-cloud-item:nth-child(6) { animation-delay: 2.5s; }
.tech-cloud-item:nth-child(7) { animation-delay: 3s; }
.tech-cloud-item:nth-child(8) { animation-delay: 3.5s; }

@keyframes servicesCloudFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.tech-cloud-item:hover {
    background: #FFD700;
    color: #000000;
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
}

.tech-cloud-item i {
    margin-right: 8px;
}

/* ========== RESPONSIVE TASARIM ========== */

/* Büyük Tablet (1024px ve altı) */
@media (max-width: 1024px) {
    .services .section-title {
        font-size: 3rem;
    }
    
    .services-grid-flow {
        gap: 1.5rem;
    }
    
    .service-flow-title {
        font-size: 1.5rem;
    }
}

/* Tablet (768px ve altı) */
@media (max-width: 768px) {
    .services {
        padding: 80px 20px;
    }
    
    .services .section-title {
        font-size: 2.5rem;
    }
    
    .services .section-description {
        font-size: 1rem;
    }
    
    .services .section-description::before,
    .services .section-description::after {
        display: none;
    }
    
    .services-grid-flow {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-flow-box {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .tech-cloud {
        gap: 0.8rem;
        padding: 1.5rem;
    }
    
    .tech-cloud-item {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .services .code-snippet {
        display: none; /* Mobilde kod parçacıklarını gizle */
    }
}

/* Büyük Telefon (480px ve altı) */
@media (max-width: 480px) {
    .services .section-title {
        font-size: 2rem;
    }
    
    .service-flow-box {
        padding: 1.5rem;
    }
    
    .service-flow-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-flow-icon i {
        font-size: 1.8rem;
    }
    
    .service-flow-title {
        font-size: 1.3rem;
    }
    
    .service-flow-desc {
        font-size: 0.95rem;
    }
    
    .service-mini-code {
        font-size: 0.75rem;
        padding: 0.8rem;
    }
    
    .service-flow-tag {
        padding: 0.3rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .tech-cloud {
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .tech-cloud-item {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Küçük Telefon (360px ve altı) */
@media (max-width: 360px) {
    .services .section-title {
        font-size: 1.8rem;
    }
    
    .service-flow-box {
        padding: 1.2rem;
    }
    
    .service-flow-icon {
        width: 50px;
        height: 50px;
    }
    
    .service-flow-icon i {
        font-size: 1.5rem;
    }
    
    .service-flow-title {
        font-size: 1.2rem;
    }
    
    .service-mini-code {
        font-size: 0.7rem;
    }
}