/* --- HİZMETLER SAYFASI STİLLERİ --- */

/* Hero Alanı (Başlık) */
.services-hero {
    width: 100%;
    padding: 180px 20px 100px 20px; /* Navbar payı + boşluk */
    background-color: #ffffff;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'SF Pro Display', sans-serif;
    font-size: 64px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 24px;
    color: #86868b;
    line-height: 1.4;
    font-weight: 400;
}

/* Animasyonlar (Fade In) */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.delay-1 { animation-delay: 0.2s; }

@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0); }
}

/* --- HİZMET SATIRLARI (Zig-Zag) --- */
.services-container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.service-row {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0;
    gap: 80px;
    width: 100%;
    overflow: hidden; /* Taşmaları engelle */
}

/* Gri Arka Planlı Satırlar */
.bg-gray {
    background-color: #f5f5f7;
}

/* İçerik Düzeni */
.service-text {
    flex: 0 0 450px; /* Metin genişliği sabit, daralmıyor */
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease-out;
}

.service-image {
    flex: 0 0 600px; /* Görsel genişliği */
    height: 400px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    background-color: #fff; /* Resim yüklenmezse beyaz kalsın */
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmi kutuya sığdır */
    transition: transform 0.5s ease;
}

.service-image:hover img {
    transform: scale(1.03); /* Hoverda hafif zoom */
}

/* Tag (Kategori Etiketi) */
.service-tag {
    display: block;
    font-family: 'SF Pro Text', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #f56300; /* Turuncu veya marka rengi (#075bb0) yapılabilir */
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Başlık */
.service-text h2 {
    font-family: 'SF Pro Display', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 24px;
    line-height: 1.1;
}

/* Açıklama */
.service-text p {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 19px;
    color: #424245; /* Koyu gri, okunaklı */
    line-height: 1.6;
    margin-bottom: 30px;
}

/* Link */
.service-link {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 17px;
    color: #0071e3; /* Link mavisi */
    text-decoration: none;
    font-weight: 500;
}
.service-link:hover {
    text-decoration: underline;
}

/* Scroll İle Görünme Efekti */
.service-text.visible {
    opacity: 1;
    transform: translateY(0);
}
.service-image.visible {
    opacity: 1;
    transform: scale(1);
}

/* --- CTA (Call to Action) --- */
.services-cta {
    background-color: #1d1d1f; /* Koyu arka plan */
    color: #fff;
    padding: 100px 20px;
    text-align: center;
}

.cta-content h2 {
    font-family: 'SF Pro Display', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-content p {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 21px;
    color: #a1a1a6;
    margin-bottom: 40px;
}

.cta-btn {
    display: inline-block;
    background-color: #075bb0;
    color: #fff;
    padding: 14px 40px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
}
.cta-btn:hover {
    background-color: #0077ED;
    transform: scale(1.05);
}

/* --- MOBİL UYUMLULUK (Responsive) --- */
@media (max-width: 1100px) {
    .service-row {
        gap: 40px;
        padding: 80px 40px;
    }
    .service-image { flex: 1; }
    .service-text { flex: 1; }
    .service-text h2 { font-size: 36px; }
}

@media (max-width: 900px) {
    .hero-title { font-size: 42px; }
    .hero-subtitle { font-size: 20px; }

    /* Mobilde her şey alt alta */
    .service-row {
        flex-direction: column !important; /* Zig-Zag'ı iptal et */
        padding: 60px 20px;
        text-align: left; /* MOBİLDE SOLA YASLI */
        gap: 40px;
    }

    .service-text, .service-image {
        flex: none;
        width: 100%;
        max-width: 500px;
    }

    .service-image { height: 300px; }
    
    /* MOBİLDE BAŞLIKLAR SOLA YASLI */
    .service-text h2 { 
        font-size: 32px; 
        text-align: left !important; 
    }
    
    .service-text p { 
        font-size: 17px; 
        text-align: left; 
    }
    
    .service-link { display: block; text-align: left; margin-top: 10px; }
    .service-tag { text-align: left; }
    
    .cta-content h2 { font-size: 32px; }
}

/* --- VİDEOLU CTA (ÇAĞRI) ALANI --- */
.services-cta.video-cta-section {
    position: relative;
    width: 100%;
    height: 600px; /* Yükseklik belirledik, videonun görüneceği alan */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #000; /* Video yüklenmezse siyah kalsın */
    margin-bottom: 0; /* Footer ile birleşmesin diye sıfırladık, aşağıda footer'a margin vereceğiz */
}

/* Arka Plan Videosu Ayarları */
.cta-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
    object-position: center center; 
    z-index: 0;
}
/* Karartma (Overlay) */
.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1); 
    backdrop-filter: none; 
    z-index: 1;
}
/* İçerik Kutusu */
.cta-content {
    position: relative;
    z-index: 2; /* Videonun ve karartmanın üstünde */
    text-align: center;
    max-width: 700px;
    padding: 0 20px;
    animation: fadeInUp 1s ease forwards;
}

.cta-content h2 {
    font-family: 'SF Pro Display', sans-serif;
    font-size: 52px; /* Başlık büyütüldü */
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.cta-content p {
    font-family: 'SF Pro Text', sans-serif;
    font-size: 22px;
    color: #f5f5f7; /* Tam beyaz değil, göz yormayan gri-beyaz */
    margin-bottom: 40px;
    font-weight: 400;
}

/* Buton Stili (Beyaz/Glass tarzı) */
.cta-btn {
    display: inline-block;
    background-color: #ffffff;
    color: #1d1d1f;
    padding: 16px 42px;
    border-radius: 980px;
    font-size: 17px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.cta-btn:hover {
    background-color: #f5f5f7;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* --- FOOTER DÜZENLEMESİ --- */
/* Footer'ı aşağıya itmek için margin ekliyoruz */
.global-footer {
    margin-top: 80px; /* Footer ile üstteki video bölümü arasına boşluk */
    background-color: #f5f5f7;
    border-top: 1px solid #d2d2d7;
}

/* Mobil Uyum */
@media (max-width: 768px) {
    .services-cta.video-cta-section {
        height: 400px; /* Mobilde biraz daha kısa */
    }
    .cta-content h2 {
        font-size: 36px;
    }
    .cta-content p {
        font-size: 18px;
    }
    .global-footer {
        margin-top: 60px;
    }
}

