/*
Theme Name: Istanbul Bilgi Teknolojileri
Theme URI: https://ibt.com.tr
Author: Istanbul Bilgi Teknolojileri
Description: Istanbul Bilgi Teknolojileri Theme
Version: 1.0
*/

/* --- TEMEL DÜZEN YEDEKLERİ (Tailwind Yüklenmezse Diye) --- */

/* İçeriği Ortala */
.container {
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Header Düzeni */
#main-header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e2e8f0;
}

#main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Sayfa İçeriği */
.prose {
    max-width: 65ch;
    margin: 0 auto;
    line-height: 1.75;
    color: #334155;
}

.prose h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 2em;
    margin-bottom: 1em;
}

.prose p {
    margin-bottom: 1.25em;
}

.prose img {
    border-radius: 0.75rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Grid Düzeltmesi */
.grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/**
 * GÜNCEL VERSİYON: Başlık ve paragraf boşlukları azaltıldı,
 * H2 başlığına estetik ve orantılı bir vurgu çizgisi eklendi.
 */

/* ==========================================================
   1. GENEL İÇERİK STİLLERİ
   ========================================================== */

.main-content {
    /* Genel yazı tipi rengi ve fontu ayarlar */
    color: #1e293b; /* slate-800 */
    font-family: 'Inter', sans-serif;
    padding-bottom: 4rem; /* Sayfa sonuna biraz boşluk */
}

/* Paragraflar (p) */
.main-content p {
    font-size: 1.125rem; /* text-lg */
    color: #475569; /* slate-600 */
    margin-bottom: 1.5rem; /* Önceki 2rem'den daha az boşluk */
    line-height: 1.6;
}

/* ==========================================================
   2. BAŞLIK STİLLERİ (Boşluklar optimize edildi)
   ========================================================== */

/* H2 Başlıkları - ANA BÖLÜM BAŞLIĞI */
.main-content h2 {
    font-size: 2rem; /* Hafifçe küçüldü, text-3xl'e yakın */
    font-weight: 800;
    color: #0f172a;
    margin-top: 3.5rem; /* mt-14 (Boşluk azaldı) */
    margin-bottom: 1rem; /* Önceki 1.5rem'den azaldı */
    position: relative; /* Vurgu çizgisi için gereklidir */
    padding-bottom: 0.5rem; /* Çizgi ile yazı arasına boşluk */
    line-height: 1.2;
}

/* H2 Vurgu Çizgisi (Yeni ve Estetik Çözüm) */
.main-content h2::after {
    content: ''; /* Sözde element içeriği boş olmalı */
    display: block;
    width: 60px; /* KRİTİK: Çizgiyi kısa ve estetik tutmak için sabit genişlik */
    height: 4px; /* Çizgi kalınlığı */
    background-color: #3b82f6; /* Mavi renk (blue-600) */
    margin-top: 1rem; /* Çizgiyi başlığın altına taşır */
    border-radius: 2px; /* Hafif yuvarlatılmış köşeler */
}


/* H3 Başlıkları - ALT BAŞLIK */
.main-content h3 {
    font-size: 1.625rem; /* text-2xl ve 3xl arası */
    font-weight: 700;
    color: #1e293b;
    margin-top: 2.5rem; /* mt-10 (Boşluk azaldı) */
    margin-bottom: 0.75rem; /* mb-3 (Boşluk azaldı) */
}

/* H4 Başlıkları - MİNÖR BAŞLIK */
.main-content h4 {
    font-size: 1.25rem; /* text-xl */
    font-weight: 600;
    color: #334155;
    margin-top: 1.75rem; /* mt-7 (Boşluk azaldı) */
    margin-bottom: 0.5rem; /* mb-2 (Boşluk azaldı) */
}

/* ==========================================================
   3. LİSTE STİLLERİ (Liste boşlukları da azaltıldı)
   ========================================================== */

/* Sırasız (ul) ve Sıralı (ol) Listeler */
.main-content ul,
.main-content ol {
    font-size: 1.125rem;
    color: #475569;
    list-style-position: outside;
    padding: 0;
    margin-bottom: 1.5rem; /* Paragraflarla aynı boşluk */
}

/* Her bir liste maddesine girinti ve boşluk */
.main-content ul li,
.main-content ol li {
    margin-left: 2rem;
    margin-bottom: 0.5rem; /* Liste maddeleri arasına daha az boşluk */
    padding-left: 0;
}

/* Sırasız Listeler (ul) için disk işareti */
.main-content ul {
    list-style-type: disc;
}

/* Sıralı Listeler (ol) için sayı işareti */
.main-content ol {
    list-style-type: decimal;
}

/* Linkler */
.main-content a {
    color: #3b82f6;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.main-content a:hover {
    color: #1d4ed8;
}

#main-header .menu-item-has-children > .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 0.75rem;
    background: #fff;
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
    min-width: 220px;
    display: none;
    z-index: 40;
}

#main-header .menu-item-has-children:hover > .sub-menu {
    display: block;
}

#main-header .sub-menu li {
    list-style: none;
    margin: 0.25rem 0;
}

#main-header .sub-menu a {
    font-size: 0.875rem;
    color: #475569; /* slate-600 */
    text-decoration: none;
    white-space: nowrap;
}

#main-header .sub-menu a:hover {
    color: #2563eb; /* blue-600 */
}














/* --- GENEL AYARLAR --- */
.site-main {
    min-height: 100vh;
}

/* --- HERO BÖLÜMÜ --- */
.hero-section {
    background-color: #111827; /* bg-gray-900 */
    color: white;
    padding-top: 4rem;
    padding-bottom: 6rem;
}

/* Tablet ve Masaüstü için Hero Padding */
@media (min-width: 1024px) {
    .hero-section {
        padding-top: 6rem;
        padding-bottom: 8rem;
    }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr; /* Masaüstünde 2 sütun */
    }
}

/* Breadcrumb */
.breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    font-size: 0.875rem;
    color: #9ca3af; /* gray-400 */
}
.breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}
.breadcrumb a:hover {
    color: white;
}
.breadcrumb .separator {
    margin: 0 0.5rem;
    color: #4b5563;
}
.breadcrumb .current span {
    color: white;
    font-weight: 500;
}

/* Kategori Etiketi */
.hero-category-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(29, 78, 216, 0.5); /* blue-700/50 */
    color: #93c5fd; /* blue-300 */
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 9999px;
    border: 1px solid #1d4ed8;
    margin-top: 0.5rem;
}

/* Hero Başlık & Metin */
.hero-title {
    font-size: 2.25rem; /* text-4xl */
    line-height: 1.1;
    font-weight: 800;
    color: white;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

@media (min-width: 640px) { .hero-title { font-size: 3rem; } } /* sm:text-5xl */
@media (min-width: 1024px) { .hero-title { font-size: 3.25rem; } } /* lg:text-6xl */

.hero-excerpt {
    border-left: 4px solid #3b82f6; /* blue-500 */
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}
.hero-excerpt p {
    color: #d1d5db; /* gray-300 */
    font-size: 1rem; /* text-lg */
    margin: 0;
}

/* Hero Buton */
.hero-button {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 0.75rem;
    background-color: #2563eb; /* blue-600 */
    color: white;
    text-decoration: none;
    transition: background-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 10px 15px -3px rgba(59, 130, 246, 0.5);
    margin-top: 1rem;
}
.hero-button:hover {
    background-color: #1d4ed8;
}

/* Hero Görsel */
.hero-image-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
}
.hero-image-card {
    width: 100%;
    max-width: 32rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    border: 2px solid #334155;
    aspect-ratio: 4/3; /* Görsel oranını korumak için */
}
@media (min-width: 1024px) {
    .hero-image-card {
        max-width: none;
        height: 100%;
    }
}
.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s, opacity 0.3s;
    opacity: 0.9;
}
.hero-img:hover {
    transform: scale(1.03);
}









/* =========================================
   MİNİMAL HERO TASARIMI (BEYAZ)
   ========================================= */

/* Hero Alanı Genel Ayarı */
.hero-section.minimal-hero {
    background-color: rgb(248 250 252 / var(--tw-bg-opacity, 1)); /* Beyaz arka plan */
    color: #111827; /* Koyu metin */
    padding-top: 5rem; /* Üstten boşluk */
    padding-bottom: 2rem;
    text-align: center; /* Her şeyi ortala */
    border-bottom: 1px solid #f3f4f6; /* Altına çok ince bir çizgi (opsiyonel) */
}

.minimal-wrapper {
    max-width: 800px; /* İçeriği çok yayma, ortada topla */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 1. Üst Etiket (< LET'S CONNECT /> tarzı) */
.minimal-tag {
    color: #2563eb; /* Mavi renk */
    font-size: 0.875rem; /* 14px */
    font-weight: 700; /* Kalın */
    letter-spacing: 0.1em; /* Harf aralığı açık */
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-family: monospace, system-ui; /* Kod görünümü için monospace font */
}

/* 2. Ana Başlık (Bize Ulaşın) */
.minimal-title {
    font-size: 2.5rem; /* Mobilde büyük */
    font-weight: 800;
    color: #111827;
    margin: 0 0 1.5rem 0;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .minimal-title {
        font-size: 3.5rem; /* Masaüstünde daha büyük */
    }
}

/* 3. Minimal Breadcrumb */
.minimal-breadcrumb-wrapper {
    margin-top: 0.5rem;
}

/* Breadcrumb Stillerini Minimal İçin Özelleştirme */
/* Mevcut .breadcrumb sınıfını ezmeden minimal içindeki halini güncelliyoruz */
.minimal-hero .breadcrumb ol {
    justify-content: center; /* Ortaya hizala */
    color: #6b7280; /* Daha koyu gri */
}

.minimal-hero .breadcrumb a {
    color: #6b7280;
}
.minimal-hero .breadcrumb a:hover {
    color: #2563eb; /* Hover olunca mavi */
}
.minimal-hero .breadcrumb .current span {
    color: #111827; /* Aktif sayfa siyah */
    font-weight: 600;
}



















/* --- İÇERİK BÖLÜMÜ --- */
.content-section {
    padding: 3rem 0;
}
@media (min-width: 1024px) {
    .content-section {
        padding: 4rem 0;
    }
}
.main-content-body {
    line-height: 1.7;
    color: #374151; /* gray-700 */
}
/* İçerik Tipografisi (Opsiyonel) */
.main-content-body h2 { font-size: 1.875rem; font-weight: 700; margin-top: 2rem; margin-bottom: 1rem;     border-bottom: none;}
.main-content-body p { margin-bottom: 1.25rem; }

/* --- İLGİLİ HİZMETLER (CAROUSEL) --- */
.related-section {
    padding: 4rem 0;
    background-color: #f9fafb; /* gray-50 */
    border-top: 1px solid #e5e7eb;
}
@media (prefers-color-scheme: dark) {
    /* Dark Mode Desteği */
    .related-section { background-color: #111827; border-top-color: #1f2937; }
    .related-section .section-title { color: white !important; }
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    color: #111827;
    margin-bottom: 3rem;
    position: relative;
}
.title-underline {
    display: block;
    width: 6rem;
    height: 0.25rem;
    background-color: #4f46e5; /* indigo-600 */
    margin: 1rem auto 0;
    border-radius: 9999px;
}

/* Carousel Logic */
.carousel-wrapper {
    position: relative;
}
.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE */
}
.carousel-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.service-card-link {
    flex-shrink: 0;
    width: 100%;
    scroll-snap-align: start;
    text-decoration: none;
    display: block;
}

/* Responsive Kart Genişlikleri */
@media (min-width: 640px) { .service-card-link { width: calc(50% - 0.75rem); } }
@media (min-width: 1024px) { .service-card-link { width: calc(33.333% - 1rem); } }

.service-card {
    background-color: white;
    border-radius: 1rem; /* 16px köşe yumuşatma */
    border: 1px solid #f3f4f6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    
    /* KRİTİK KISIM: Sabit yükseklik ve Flex Yapısı */
    height: 450px; /* Tüm kartlar istisnasız bu boyda olacak */
    display: flex;
    flex-direction: column; /* İçerikleri alt alta diz */
    overflow: hidden; /* Dışarı taşanları gizle */
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px); /* Hafif yukarı kalkma efekti */
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.15);
}

/* Dark Mode Kartlar */
@media (prefers-color-scheme: dark) {
    .service-card { background-color: #1f2937; border-color: #374151; }
    .card-content h3 { color: white !important; }
    .card-content p { color: #9ca3af !important; }
}

/* 2. GÖRSEL ALANI (Sabit Boyut) */
.card-image {
    width: 100%;
    height: 220px; /* Görsel alanı her zaman 220px olacak */
    flex-shrink: 0; /* Asla küçülmeyecek */
    background-color: #e5e7eb; /* Resim yüklenmezse gri fon */
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ÖNEMLİ: Resmi kutuya doldurur, oran bozulmaz, taşan kısım kırpılır */
    object-position: center; /* Resmin ortasını gösterir */
    display: block;
}

/* 3. İÇERİK ALANI (Dengeleme) */
.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Kalan tüm boşluğu burası kaplasın */
}

/* Başlık */
.card-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
    
    /* Başlık çok uzunsa 2 satırda kes (Opsiyonel) */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Açıklama Metni */
.card-content p {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0 0 1rem 0;
    line-height: 1.5;
    
    /* Metin çok uzunsa 3 satırda kes ve üç nokta koy */
    display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* 4. "İNCELE" BUTONU (En Alta Sabitleme) */
.read-more {
    margin-top: auto; /* SİHİRLİ KOD: Butonu her zaman en alta iter */
    display: inline-flex;
    align-items: center;
    color: #4f46e5; /* İsteğe göre #2563eb yapabilirsiniz */
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.read-more svg {
    width: 1rem;
    height: 1rem;
    margin-left: 0.4rem;
    transition: transform 0.2s;
}

.service-card:hover .read-more svg {
    transform: translateX(4px);
}

/* Navigasyon Okları */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    color: #374151;
    transition: all 0.3s;
    z-index: 10;
}
@media (prefers-color-scheme: dark) {
    .nav-arrow { background-color: #374151; color: white; }
}
.nav-arrow:hover {
    background-color: #4f46e5;
    color: white;
}
.nav-arrow.prev { left: -1rem; }
.nav-arrow.next { right: -1rem; }
.nav-arrow:disabled { cursor: not-allowed; opacity: 0.4; }





/* Kapsayıcıya pozisyon belirleme */
.card-link-container {
    position: relative; /* Bu, içindeki absolute element için referans noktası olur */
}

/* Linkin tüm kartı kaplamasını sağlama */
.full-card-link {
    position: absolute; /* Mutlak konumlandırma */
    top: 0;
    left: 0;
    width: 100%; /* Kartın genişliğini kapla */
    height: 100%; /* Kartın yüksekliğini kapla */
    z-index: 10; /* Diğer içeriğin üzerine çıkarak tıklanabilirliği garanti et */
}


/* İki Sütunlu Satır Yapısı (md:grid-cols-2 gap-4) */

.form-row-2-cols {
    display: grid; /* Grid düzenini etkinleştir */
    grid-template-columns: 1fr 1fr; /* 1fr 1fr: İki eşit sütun oluştur */
    gap: 1rem; /* gap-4: Sütunlar arasında boşluk bırak */
}

/* Telefonlar İçin (Tek Sütun) */
@media (max-width: 768px) { /* md breakpoint'in altında */
    .form-row-2-cols {
        grid-template-columns: 1fr; /* Tek sütuna geri dön */
    }
}

/* CF7'nin <p> etiketlerinin içindeki boşluğu yönetme */
.form-row-2-cols p {
    margin-bottom: 0!important; /* Dış form-row-2-cols zaten boşluğu yönetiyor */
}
/* 1. Temel Form ve Alan Yapısı Stilleri */
.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1rem; /* space-y-4 */
}


/* 2. Etiket (Label) Stilleri */
.wpcf7-form p label {
    display: block;
    font-size: 0.875rem; /* text-sm */
	line-height: 1.25rem;
    font-weight: 500; /* font-medium */
    color: #334155; /* text-slate-700 */
    margin-bottom: 0.350rem; /* mb-1 */
}

/* 3. Girdi Alanları (Input ve Textarea) Stilleri */
.wpcf7-form-control:not(.wpcf7-submit) {
    /* Genel Görünüm */
    width: 100%; /* w-full */
    padding: 0.5rem 1rem; /* px-4 py-3 */
	padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    border-radius: 0.5rem; /* rounded-lg */
    border: 1px solid #e2e8f0; /* border-slate-200 */
    font-size: 1rem;
    line-height: 1.5;
    color: #1e293b;
    outline: none; /* outline-none */
    transition: all 0.2s ease-in-out; /* transition */
}

/* Odak (Focus) Stilleri */
.wpcf7-form-control:not(.wpcf7-submit):focus {
    border-color: #3b82f6; /* focus:border-blue-500 */
    /* focus:ring-1 focus:ring-blue-500 taklidi */
    box-shadow: 0 0 0 1px #3b82f6, 0 0 #0000; 
    background-color: #ffffff;
}

/* 4. Gönder Butonu Stili */
.wpcf7-submit {
    /* Butonun genel görünümü */
    width: 100%; /* w-full */
    padding: 0.75rem 1rem; /* py-3 */
    border-radius: 0.5rem; /* rounded-lg */
    font-weight: 500; /* font-medium */
    cursor: pointer;
    border: none;
    
    /* Renkler ve Gölgeler */
    background-color: #1d4ed8; /* bg-blue-700 */
    color: #ffffff; /* text-white */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
    transition: background-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out; /* transition-all */
}

/* Hover Stili */
.wpcf7-submit:hover {
    background-color: #1e40af; /* hover:bg-blue-800 */
}





/* =========================================
   İÇERİK ALANI TİPOGRAFİSİ (Compact / Sıkı)
   ========================================= */

/* 1. Genel Gövde Ayarları */
.main-content-body {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 1.06rem; /* Yazı boyutu ideal seviyede */
    line-height: 1.6;   /* Satır araları biraz daha toplu */
    color: #333333;     /* Okunabilir koyu gri */
}

/* 2. Link Ayarları (İstediğiniz Mavi) */
.main-content-body a {
    color: #2563eb; /* Canlı bir mavi */
    font-weight: 600;
    text-decoration: underline; /* Link olduğu belli olsun */
    text-underline-offset: 3px; /* Çizgi harfe yapışmasın */
    transition: color 0.2s ease;
}

.main-content-body a:hover {
    color: #1e40af; /* Üzerine gelince koyu mavi */
    text-decoration-thickness: 2px;
}

/* 3. Başlıklar (H1 - H6) - Boşluklar Azaltıldı */
.main-content-body h1,
.main-content-body h2,
.main-content-body h3,
.main-content-body h4 {
    color: #111827; /* Siyah */
    font-weight: 700;
    line-height: 1.3;
    margin-top: 1.2em;    /* Üst boşluk azaltıldı (Önceki 2.5em idi) */
    margin-bottom: 0.5em; /* Alt boşluk azaltıldı */
}

/* İlk elemanın tepesinde boşluk olmasın */
.main-content-body > *:first-child {
    margin-top: 0 !important;
}


.main-content-body h3 {
    font-size: 1.35rem;
}

/* 4. Paragraflar - Boşluklar Azaltıldı */
.main-content-body p {
    margin-bottom: 1em; /* Paragraf arası boşluk standart hale geldi */
}

/* 5. Listeler (UL / OL) - Daha Derli Toplu */
.main-content-body ul,
.main-content-body ol {
    margin-bottom: 1em;
    padding-left: 1.2rem; /* Girinti biraz azaltıldı */
}

.main-content-body ul {
    list-style-type: disc; /* Nokta */
}

.main-content-body ol {
    list-style-type: decimal; /* Sayı */
}

.main-content-body li {
    margin-bottom: 0.25em; /* Maddeler arası mesafe kısaltıldı */
    padding-left: 0.3em;
}

/* İç içe listelerin boşluklarını sıfırla */
.main-content-body li > ul,
.main-content-body li > ol {
    margin-top: 0.25em;
    margin-bottom: 0;
}

/* 6. Görseller */
.main-content-body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
    margin-top: 1.5em;
    margin-bottom: 1.5em;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 7. Kalın Yazılar */
.main-content-body strong,
.main-content-body b {
    font-weight: 700;
    color: #000; /* Kalın yerler tam siyah olsun */
}



   /* Telefon İkonu Düzenlemesi */
   .contact-box.icon-only {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.3s;
}
.contact-box.icon-only:hover {
    background-color: rgba(0,0,0,0.05);
}
.contact-box.icon-only .phone-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f3f4f6; /* slate-100 */
    color: #4b5563; /* slate-600 */
    border-radius: 50%;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}
.contact-box.icon-only:hover .phone-circle {
    background-color: #eff6ff; /* blue-50 */
    color: #2563eb; /* blue-600 */
}


.mobile-brand {
    flex-grow: 1; /* Logo alanının tüm boşluğu kaplamasını sağla */
}

.close-menu {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    margin-left: auto !important; /* Kesinlikle sağa yasla */
    color: #64748b; /* İkon rengi */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mega Menü Merkezleme Düzeltmesi */
@media (min-width: 992px) {
    .main-nav .menu-item-has-children {
        position: relative;
    }
    /* Menü öğesinin altındaki menüyü ortalar */
    .main-nav .sub-menu {
        left: 50%;
        transform: translateX(-50%);
        /* Taşmayı önlemek için max-width eklenebilir */
        width: max-content;
        max-width: 90vw; 
    }
}

/* Masaüstü/Mobil Görünürlük Ayarları (CSS eksikse diye) */
@media (max-width: 991px) {
    .desktop-only { display: none !important; }
}
@media (min-width: 992px) {
    .mobile-menu-btn { display: none !important; }
    .mobile-nav-header, .mobile-nav-footer { display: none !important; }
    .main-nav { display: block !important; position: static !important; height: auto !important; width: auto !important; background: none !important; transform: none !important; }
}




/* .logo-area Ayarları */
.logo-area img { max-height: 50px; width: auto; } /* Yüklenen logo boyutlandırması */
.site-name { font-size: 20px; font-weight: 700; color: #1e293b; text-decoration: none; }

.lumina-header { background: #fff; border-bottom: 1px solid #f1f5f9; position: relative; z-index: 999; }
.lumina-container { max-width: 1280px; margin: 0 auto; height: 80px; display: flex; align-items: center; justify-content: space-between; }

/* === MASAÜSTÜ MENÜ (992px ve üzeri) === */
@media (min-width: 992px) {
    .mobile-menu-btn, .mobile-nav-header, .mobile-nav-footer, .menu-overlay, .dropdown-trigger { display: none; }
    
    /* Menü Dizilimi */
    .nav-list { list-style: none; display: flex; gap: 30px; margin: 0; padding: 0; }
    .nav-list > li { padding: 28px 0; position: relative; }
    .link-wrapper a { text-decoration: none; color: #334155; font-weight: 600; font-size: 15px; transition: 0.3s; }
    .nav-list > li:hover > .link-wrapper a { color: #1d4ed8; }

    /* Mega Menü Kutusu */
    .mega-menu-wrapper {
        visibility: hidden; opacity: 0;
        position: absolute; top: 80%!important; left: 50%; transform: translateX(-50%) translateY(15px);
        width: 1050px; background: #fff; border: 1px solid #e2e8f0;
        border-radius: 12px; box-shadow: 0 20px 40px -5px rgba(0,0,0,0.1);
        padding: 0; transition: all 0.3s ease; z-index: 1000;
    }
    
    .nav-list > li:hover .mega-menu-wrapper { visibility: visible; opacity: 1; transform: translateX(-50%) translateY(0); }
    
    /* Grid Yapısı */
    .mega-menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding: 30px 30px 0px 30px; }
    
    /* Kolon Başlıkları */
    .col-header { display: flex; align-items: center; gap: 10px; margin-bottom: 5px; }
    .header-text h3 { margin: 0; font-size: 16px; font-weight: 700; color: #0f172a; }
    .desktop-desc { font-size: 10px; color: #94a3b8; text-transform: uppercase; font-weight: 600; letter-spacing: 0.5px; display: block; margin-top: 2px; }

    /* Footer */
    .mega-footer { background: #f8fafc; border-top: 1px solid #e2e8f0; padding: 15px 30px; display: flex; align-items: center; justify-content: space-between; border-radius: 0 0 12px 12px; }
	
/* 1, 2, 3. Öğeler (Teknik Destek, Kurumsal Altyapı, Kurulum) 1. Satırda Kalır */
    
    /* 4. Öğeyi (Cloud Hizmetleri) 1. Sütuna (Teknik Destek'in Altına) Taşıma */
    .mega-menu-grid .mega-col:nth-child(4) {
        grid-column: 1; 
        grid-row: 2; 
    }

    /* 5. Öğeyi (Danışmanlık Hizmeti) 2. Sütuna (Kurumsal Altyapı'nın Altına) Taşıma */
    .mega-menu-grid .mega-col:nth-child(5) {
        grid-column: 2; 
        grid-row: 2; 
    }

    /* 6. Öğeyi (Backup Hizmeti) 3. Sütuna (Kurulum Hizmeti/Danışmanlık'ın Altına) Taşıma */
    .mega-menu-grid .mega-col:nth-child(6) {
        grid-column: 3; 
        grid-row: 2; 
    }
    
    /* 7. Öğeyi (Lisanslama Hizmeti) 1. Sütuna Taşıma (Cloud Hizmetleri'nin Altına) */
    .mega-menu-grid .mega-col:nth-child(7) {
        grid-column: 1; 
        grid-row: 3; 
    }

    /* 8. Öğeyi (Veri Merkezi Hizmetleri) 2. Sütuna Taşıma (Danışmanlık/Backup'ın Altına) */
    .mega-menu-grid .mega-col:nth-child(8) {
        grid-column: 2; 
        grid-row: 3; 
    }
    
    /* NOT: Bu düzenleme ile "Teknik Destek" ve "Cloud Hizmetleri" 1. Sütunda;
    "Kurumsal Altyapı" ve "Danışmanlık" 2. Sütunda;
    "Kurulum Hizmeti" ve "Backup Hizmeti" 3. Sütunda birbirini takip edecek.
    "Lisanslama" ve "Veri Merkezi" ise alt sıraya yerleşecektir.
    */
}
	
}


/* === ALT MENÜ LİNKLERİ (BULLET VE HOVER EFEKTİ) === */
.sub-menu-list { list-style: none; padding: 0; margin: 0; }
.sub-menu-list li { margin-bottom: 3px; }

.sub-menu-list li a { 
    text-decoration: none; 
    color: #64748b; 
    font-size: 16px; 
    display: block;
    position: relative;
    padding-left: 15px; /* Bullet için soldan boşluk */
    transition: all 0.3s ease; /* Animasyon hızı */
    
    /* Tek Satır Kuralı */
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}

/* Bullet (Nokta) Yapımı */
.sub-menu-list li a::before {
    content: "•"; /* Nokta işareti */
    position: absolute;
    left: 0;
    top: 0px;
    color: #cbd5e1; /* Pasif renk */
    font-size: 15px;
    line-height: 1.2;
    transition: color 0.3s ease;
}

/* Hover Efektleri (Renk değişimi ve Sağa Kayma) */
.sub-menu-list li a:hover { 
    color: #1d4ed8; /* Mavi renk */
    transform: translateX(5px); /* 5px sağa kaydır */
}
.sub-menu-list li a:hover::before {
    color: #1d4ed8; /* Nokta da mavi olsun */
}

/* === KOLON BAŞLIKLARI İÇİN LİNK STİLİ (YENİ) === */
.col-title-link {
    text-decoration: none;
    color: inherit; /* H3 rengini alır */
    transition: 0.3s;
}
.col-title-link:hover {
    color: #1d4ed8;
}


/* === MOBİL MENÜ (SAĞDAN AÇILAN VERSİYON) === */
@media (max-width: 991px) {
    
    /* Yan Panel (Sağ Tarafta) */
    .main-nav {
        position: fixed; 
        top: 0; 
        right: -100%; /* Soldan değil SAĞDAN gizli başla */
        left: auto;   /* Solu sıfırla */
        width: 85%; 
        max-width: 350px; 
        height: 100vh;
        background: #fff; 
        z-index: 2000; 
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1); /* Right transition */
        display: flex; 
        flex-direction: column; 
        box-shadow: -4px 0 20px rgba(0,0,0,0.1); /* Gölge yönü değişti */
    }
    
    /* Açılma Class'ı */
    .main-nav.active { 
        right: 0; /* Sağa yapış */
    }
    
    /* Mobil Header Düzeni */
    .mobile-nav-header { 
        padding: 20px; 
        display: flex; 
        /*flex-direction: row-reverse; /* Kapat butonunu ve logoyu yer değiştir */
        justify-content: space-between; 
        align-items: center; 
        border-bottom: 1px solid #eee; 
    }

    /* Diğer mobil stiller aynı kalabilir */
    .desktop-only { display: none; }
    .mobile-menu-btn { font-size: 24px; color: #1e293b; cursor: pointer; }
    .menu-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 1999; display: none; opacity: 0; transition: opacity 0.3s; }
    .menu-overlay.active { display: block; opacity: 1; }
    .mobile-brand { font-weight: 700; font-size: 18px; color: #1d4ed8; }
    .mobile-brand img {width: 170px;}
    .nav-list { padding: 10px 0; overflow-y: auto; flex: 1; display: block; }
    .nav-list > li { padding: 0; border-bottom: 1px solid #f8fafc; }
    .link-wrapper { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; cursor: pointer; }
    .link-wrapper a { color: #0f172a; font-weight: 600; font-size: 16px; text-decoration: none; }
    .dropdown-trigger { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: #64748b; transition: 0.3s; background: #f1f5f9; border-radius: 5px; } /* Tetikleyici alanı belirginleştirdim */
    
    .nav-list > li.open .dropdown-trigger { transform: rotate(180deg); background: #dbeafe; color: #1d4ed8; }
    .nav-list > li.open .mega-menu-wrapper { max-height: 1500px; }
    .mega-menu-wrapper { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; background: #f8faff; }
    .mega-menu-grid { display: block; padding: 0; }
    .mega-col { padding: 0 20px; margin-bottom: 5px; }
    .col-header { padding: 15px 0 5px 0; }
    .header-text h3 { font-size: 15px; color: #1d4ed8; font-weight: 600; margin: 0; }
    .sub-menu-list { padding-bottom: 15px; padding-left: 10px; border-left: 2px solid #e2e8f0; margin-left: 5px; margin-bottom: 10px; }
    .mega-footer { display: none; }
    .mobile-nav-footer { padding: 20px; border-top: 1px solid #eee; }
    .mobile-only-btn { display: block; text-align: center; background: #1d4ed8; color: white; padding: 12px; border-radius: 8px; text-decoration: none; font-weight: 600; }
}

.wp-block-separator {
    border-top: 2px #f1f1f1 solid;
}



/* === MASAÜSTÜ MENÜ DÜZENLEMELERİ (992px ve üzeri) === */
@media (min-width: 992px) {
    
    /* 1. LİNK TASARIMI (Tailwind Karşılığı) */
    /* Yapı: li -> .link-wrapper -> a */
    .nav-list > li > .link-wrapper > a {
        font-size: 16px;           /* text-sm */
        font-weight: 500;          /* font-medium */
        color: #475569;            /* text-slate-600 */
        padding: 28px 4px;         /* py-2 px-1 (Padding artırıldı ki header ortalansın) */
        display: flex;             /* flex */
        align-items: center;       /* items-center */
        gap: 6px;                  /* gap-1.5 */
        position: relative;        /* relative */
        text-decoration: none;
        transition: all 0.3s ease; /* transition-all */
    }

    /* Hover Durumu: Yazı Rengi */
    .nav-list > li:hover > .link-wrapper > a {
        color: #0f172a; /* hover:text-slate-900 */
    }

    /* 2. ALT ÇİZGİ ANİMASYONU */
    .nav-list > li > .link-wrapper > a::before {
        content: "";
        position: absolute;
        bottom: 20px; /* Yazının biraz altına */
        left: 0;
        width: 0%; /* Başlangıçta görünmez */
        height: 2px;
        background-color: #1d4ed8; /* Mavi çizgi */
        transition: width 0.3s ease-in-out;
    }

    /* Hover olunca çizgi %100 açılır */
    .nav-list > li:hover > .link-wrapper > a::before {
        width: 100%;
    }

    /* 3. AŞAĞI OK İKONU (Link Wrapper içindeki A'ya ekliyoruz) */
    /* Sadece alt menüsü olanlara ekle */
    .nav-list > li.menu-item-has-children > .link-wrapper > a::after {
        content: "\f078"; /* FontAwesome Chevron Down */
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 11px;
        margin-top: 1px;
        transition: transform 0.3s ease;
        color: #94a3b8; /* Ok rengi hafif gri */
    }

    /* Hover olunca ok dönsün ve mavi olsun */
    .nav-list > li.menu-item-has-children:hover > .link-wrapper > a::after {
        transform: rotate(180deg);
        color: #1d4ed8;
    }

    /* Mobildeki tetikleyici butonu masaüstünde gizle */
    .dropdown-trigger {
        display: none !important;
    }
    
    /* Mega Menü Konumu Ayarı (Wrapper yüzünden kayabilir, düzeltelim) */
    .mega-menu-wrapper {
        top: 100%; /* Header'ın tam altı */
        transform: translateX(-50%) translateY(10px); /* Hafif aşağıdan gelsin */
    }
    .nav-list > li:hover .mega-menu-wrapper {
        transform: translateX(-50%) translateY(0);
    }
}





/* === HEADER SAĞ TARAF (GÖRSEL 1) === */
.header-right {
    display: flex;
    align-items: center;
    height: 100%; /* Dikey ortalama için */
}

.contact-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Telefon İkon Yuvarlağı */
.phone-circle {
    width: 48px;
    height: 48px;
    background-color: #f1f5f9; /* Çok açık gri/mavi */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #334155; /* İkon rengi koyu gri */
    font-size: 18px;
}

/* Telefon Yazısı */
.phone-text {
    font-family: 'Inter', monospace; /* Sayılar için monospace veya Inter */
    font-size: 16px;
    font-weight: 500;
    color: #334155;
    letter-spacing: 0.5px;
}

/* Dikey Ayırıcı Çizgi */
.vertical-sep {
    width: 1px;
    height: 40px;
    background-color: #e2e8f0; /* İnce gri çizgi */
    margin: 0 30px; /* Sağdan soldan boşluk */
}

/* Header Mavi Buton */
.header-demo-btn {
    background-color: #2563eb; /* Görseldeki canlı mavi */
    color: #fff;
    padding: 12px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: background-color 0.3s;
}
.header-demo-btn:hover {
    background-color: #1d4ed8;
}

/* === MEGA MENÜ FOOTER (GÖRSEL 2) === */
.mega-footer {
    background: #f8fafc; /* Çok açık zemin */
    padding: 20px 30px;
    border-radius: 0 0 12px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Şimşek İkonu */
.footer-icon {
    width: 50px;
    height: 50px;
    background: #e0e7ff; /* Açık mavi zemin */
    color: #4f46e5; /* İndigo mavi ikon */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.footer-text strong {
    display: block;
    font-size: 15px;
    color: #0f172a; /* Koyu başlık */
    margin-bottom: 4px;
    font-weight: 700;
}

.footer-text p {
    margin: 0;
    font-size: 14px;
    color: #64748b; /* Gri açıklama */
}

/* Outline (Çerçeveli) Buton */
.outline-btn {
    border: 1px solid #bfdbfe; /* Mavi çerçeve */
    color: #1d4ed8; /* Mavi yazı */
    background: #fff;
    padding: 10px 25px;
    border-radius: 8px; /* Görseldeki yuvarlaklık */
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s;
    white-space: nowrap;
}

.outline-btn:hover {
    border-color: #2563eb;
    background-color: #eff6ff;
}

/* =========================================
   MOBİL DÜZELTMELERİ (EN ALTA EKLE)
   ========================================= */

@media (max-width: 991px) {

    /* 1. Header Sağ Tarafındaki Masaüstü Elemanlarını Zorla Gizle */
    .header-right.desktop-only,
    .contact-box,
    .vertical-sep,
    .header-demo-btn {
        display: none !important;
    }

    /* 2. Mega Menü İçindeki Footer'ı (Akordeon İçi) Gizle */
    /* Mobilde her menünün altında bu koca kutu çıkmasın */
    .mega-footer {
        display: none !important;
    }

    /* 3. Hamburger Menüyü ve Logoyu Hizala */
    .lumina-container {
        /* Genişlik artık panelden geliyor (PHP ile basılıyor) */
        padding-left: 20px;
        padding-right: 20px;
        width: 100%; 
        box-sizing: border-box;
    }
        
    .mobile-menu-btn {
        display: block !important; /* Hamburger geri gelsin */
    }

    /* 4. Mobil Menü Alt Alanı (Yeni Tasarım) */
    .mobile-nav-footer {
        padding: 20px;
        background: #f8fafc;
        border-top: 1px solid #e2e8f0;
        margin-top: auto; /* En alta yasla */
    }

    .mobile-consult-box {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 15px;
        background: #fff;
        padding: 12px;
        border-radius: 8px;
        border: 1px solid #f1f5f9;
    }

    .mc-icon {
        width: 36px;
        height: 36px;
        background: #e0e7ff;
        color: #4f46e5;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        flex-shrink: 0;
    }

    .mc-text strong {
        display: block;
        font-size: 13px;
        color: #0f172a;
    }
    
    .mc-text p {
        margin: 0;
        font-size: 12px;
        color: #64748b;
    }

    .mobile-btn-group {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .outline-btn.full-width {
        width: 100%;
        text-align: center;
        display: block;
        box-sizing: border-box;
    }
    
    .mobile-main-btn {
        text-align: center;
        display: block;
        padding: 12px;
        background: #1d4ed8;
        color: white;
        border-radius: 8px;
        text-decoration: none;
        font-weight: 600;
    }
}

/* =========================================
   MASAÜSTÜ KORUMASI
   ========================================= */
@media (min-width: 992px) {
    /* Mobilde eklediğimiz footer'ı masaüstünde gizle */
    .mobile-nav-footer {
        display: none !important;
    }
    
    /* Header sağ taraf görünür olsun */
    .header-right.desktop-only {
        display: flex !important;
    }
}

/* Ana Kapsayıcı */
.altili-degerler-kutusu {
    margin: 0 auto;
}

/* Her Bir Satırın Ayarlanması (İki Satır, Üçer Kutu) */
.degerler-satiri {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px; /* Satırlar arası boşluk */
    gap: 20px; /* Kutular arası boşluk */
}

/* Her Bir Değer Kutusu */
.deger-kutusu {
    flex: 1 1 31.33%; /* Her satırda 3 eşit genişlikte kutu */
    background-color: #17376c; /* Koyu Mavi Arkaplan Rengi */
    color: white; /* Beyaz Yazı Rengi */
    text-align: center;
    padding: 30px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px; /* Yüksekliği ayarlayın */
	border-radius: 10px;
    box-sizing: border-box; /* Padding'i genişliğe dahil et */
}

/* İkon Stilleri */
.deger-kutusu {
    /* Arkaplanı biraz daha modern bir renge çekebiliriz */
    background-color: #1a4270; 
    /* Hafif, yumuşak bir gölge ekle */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); 
    /* Diğer stiller... */
}
/* İkon Boyutunun SVG ile ayarlanması */
.deger-kutusu svg {
    width: 48px; /* İkon genişliği */
    height: 48px; /* İkon yüksekliği */
}

/* Yazı Stilleri */
.deger-kutusu p {
    margin: 0;
    font-size: 18px; /* Yazı boyutu */
    font-weight: 600; /* Kalınlık */
    text-transform: uppercase;
}

/* Mobil Cihazlar İçin Duyarlı Ayarlama (Tek Sütuna Düşürme) */
@media (max-width: 768px) {
    .degerler-satiri {
        flex-direction: column; /* Mobil'de sütunları alt alta sırala */
        gap: 10px; /* Kutular arası boşluğu azalt */
    }
    
    .deger-kutusu {
        width: 100%;
        min-height: 120px; /* Mobil'de yüksekliği azalt */
        padding: 20px 15px;
    }
}

