/* =========================================
   HİZMETLER SAYFASI CSS DOSYASI
   YAPIM TARİHİ: 2025
   TEMA: Modern, Temiz, İkna Odaklı
   ========================================= */

/* -----------------------------------------------------------
   1. HERO BÖLÜMÜ (GİRİŞ KISMI)
   Not: Kompakt tutuldu, müşteri hemen hizmetleri görsün diye.
----------------------------------------------------------- */
.services-hero {
    position: relative;
    /* Üstten 7rem, alttan 3rem boşluk */
    padding-top: 7rem;
    padding-bottom: 3rem;
    background-color: #0f172a; /* Koyu Lacivert Arka Plan */
    color: white; /* Yazı Rengi */
    overflow: hidden; /* Taşan desenleri gizle */
    text-align: center; /* İçeriği ortala */
}

/* Arkaplandaki flu ışık efektleri */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* İki tane dairesel renk geçişi (gradient) */
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    z-index: 0; /* İçeriğin arkasında kalsın */
}

/* İçerik kapsayıcısı */
.services-hero .container {
    position: relative;
    z-index: 1; /* Işık efektinin üstüne çıkar */
}

/* Küçük Üst Başlık (Subtitle) */
.hero-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px; /* Harf aralığı */
    color: #60a5fa; /* Açık Mavi */
    margin-bottom: 0.5rem;
}

/* Ana Başlık (H1) */
.hero-title {
    font-size: 2.5rem; /* Varsayılan font boyutu */
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: white;
}

/* Ekran büyüdükçe başlık da büyüsün */
@media (min-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

/* Açıklama Metni */
.hero-desc {
    font-size: 1.1rem;
    color: #94a3b8; /* Gri tonu */
    max-width: 700px; /* Çok geniş olmasın */
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5rem;
}

/* Aşağı Kaydır Butonu */
.btn-scroll {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.6rem 1.5rem;
    border-radius: 2rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-decoration: none;
}

.btn-scroll:hover {
    background-color: white;
    color: #0f172a;
}


/* -----------------------------------------------------------
   2. HİZMETLER LİSTESİ (ZIG ZAG TASARIM)
   Not: Bir sağda, bir solda görsel şeklinde ilerler.
----------------------------------------------------------- */
.detailed-services {
    padding-top: 2rem;
    padding-bottom: 6rem;
    background-color: #f8fafc; /* Çok açık gri arka plan */
}

/* Her bir hizmet satırı (Row) */
.service-row {
    display: grid;
    grid-template-columns: 1fr; /* Mobilde tek sütun */
    gap: 3rem;
    align-items: center;
    margin-bottom: 5rem; /* Satırlar arası boşluk */
    
    /* Animasyon için başlangıç durumu */
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

/* Animasyon tetiklenince çalışacak sınıf */
.service-row.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Son satırın alt boşluğunu kaldır */
.service-row:last-child {
    margin-bottom: 0;
}

/* Masaüstü görünümü (İki sütun) */
@media (min-width: 991px) {
    .service-row {
        grid-template-columns: 1fr 1fr; /* Yarı yarıya böl */
        gap: 4rem;
    }

    /* Ters yöndeki satırlar (Görsel sağda olsun) */
    .service-row.reverse {
        direction: rtl; /* İçeriği ters çevirir */
    }
    
    /* Ters satır içindeki metinlerin yönünü düzelt */
    .service-row.reverse .service-text,
    .service-row.reverse .service-visual {
        direction: ltr;
    }
}

/* --- Görsel Alanı (Visual) --- */
.service-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

/* Kartın kendisi */
.visual-card {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 4/3; /* En-Boy oranı */
    background-color: white;
    border-radius: 2rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1); /* Gölge */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Kartın içindeki büyük ikon */
.visual-icon {
    width: 4rem;
    height: 4rem;
    color: #1e293b; /* Koyu gri */
    opacity: 0.8;
}

/* Kart Renk Temaları (Gradient Arka Planlar) */
.web-card { background: linear-gradient(135deg, #ffffff, #f0f9ff); }
.seo-card { background: linear-gradient(135deg, #ffffff, #f0fdf4); }
.ads-card { background: linear-gradient(135deg, #ffffff, #fff7ed); }
.meta-card { background: linear-gradient(135deg, #ffffff, #f5f3ff); }
.soft-card { background: linear-gradient(135deg, #ffffff, #eff6ff); }

/* Kartın arkasındaki renkli bulanıklık (Blur) */
.bg-blur {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    z-index: 1;
    border-radius: 2.5rem;
    filter: blur(30px); /* Bulanıklık miktarı */
    opacity: 0.5;
}

.bg-blur.blue { background-color: #3b82f6; }
.bg-blur.green { background-color: #10b981; }
.bg-blur.orange { background-color: #f97316; }
.bg-blur.purple { background-color: #a855f7; }
.bg-blur.indigo { background-color: #6366f1; }

/* Yüzen istatistik kutucuğu */
.floating-stat {
    position: absolute;
    bottom: 1.5rem;
    left: -1.5rem;
    background-color: white;
    padding: 0.8rem 1.2rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-weight: 700;
    color: #1e293b;
    font-size: 0.9rem;
    /* Hafif sallanma animasyonu */
    animation: float 3s infinite ease-in-out;
}

/* Sağ tarafta duran versiyonu */
.floating-stat.right {
    left: auto;
    right: -1.5rem;
    animation-delay: 1.5s;
}

.floating-stat span {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-right: 0.3rem;
}

/* --- Metin Alanı (Text) --- */
.service-text {
    padding: 1rem;
}

.service-tag {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
    text-transform: uppercase;
}

.service-text h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: #1e293b;
}

.lead-text {
    font-size: 1.1rem;
    color: #1e293b;
    font-weight: 500; /* Biraz kalın */
    margin-bottom: 0.8rem;
}

.service-text p {
    color: #64748b;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Özellik Listesi (Tik işaretli) */
.feature-list {
    list-style: none; /* Noktaları kaldır */
    padding: 0;
    margin-bottom: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    color: #1e293b;
}

.feature-list li i {
    color: #10b981; /* Yeşil tik rengi */
    width: 18px;
    height: 18px;
}

/* Metin altındaki link butonu */
.btn-text-link {
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.btn-text-link:hover {
    gap: 0.8rem; /* Hover olunca ok biraz sağa kaysın */
    color: #2563eb;
}


/* -----------------------------------------------------------
   3. CTA BÖLÜMÜ (EYLEM ÇAĞRISI)
   ----------------------------------------------------------- */
.premium-cta {
    padding: 4rem 0 6rem;
    background-color: #f8fafc;
}

.cta-box-premium {
    background-color: #0f172a; /* Koyu Lacivert */
    border-radius: 2rem;
    padding: 3rem 2rem;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.3);
}

.cta-box-premium h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: white;
}

@media (min-width: 768px) {
    .cta-box-premium h2 {
        font-size: 2.5rem;
    }
}

.cta-box-premium p {
    font-size: 1.1rem;
    color: #cbd5e1; /* Açık gri */
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.cta-buttons-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap; /* Mobilde alt alta geçsin */
}

/* Parlayan Ana Buton */
.btn-primary-glow {
    background-color: var(--primary-color);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 2rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5); /* Glow efekti */
    transition: all 0.3s ease;
}

.btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(59, 130, 246, 0.7);
}

/* WhatsApp Butonu (Çerçeveli) */
.btn-whatsapp-outline {
    border: 2px solid #25D366;
    color: #25D366;
    padding: 0.8rem 2rem;
    border-radius: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-whatsapp-outline:hover {
    background-color: #25D366;
    color: white;
}

/* -----------------------------------------------------------
   ANIMASYONLAR
   ----------------------------------------------------------- */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}