@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&family=Oswald:wght@700&display=swap');

/* Genel Ayarlar ve Renkler */
:root {
    --bordo: #8D1B3D;
    --mavi: #005A9C;
    --beyaz: #fcfcfc;
    --koyu-gri: #2c3e50;
    --acik-gri: #f4f4f4;
}

body {
    font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--acik-gri);
    color: var(--koyu-gri);
}

/* ---------------- HEADER BÖLÜMÜ ---------------- */

.header-container {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

/* 1. ÜST İLETİŞİM BARI */
.top-bar {
    background-color: var(--mavi);
    color: var(--beyaz);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 27px 27px; /* 40px -> 27px */
    font-size: 13px; /* 20px -> 13px */
}

.top-bar .contact-info span {
    margin-right: 13px; /* 20px -> 13px */
}

.top-bar .social-media a {
    color: var(--beyaz);
    margin-left: 10px; /* 15px -> 10px */
    text-decoration: none;
    transition: color 0.3s ease;
}

.top-bar .social-media a:hover {
    color: var(--bordo);
}

.top-bar i {
    margin-right: 3px; /* 5px -> 3px */
}

/* 2. ANA HEADER (LOGO VE MENÜ) */
.site-header {
    background-color: var(--beyaz);
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 27px 0 0; /* 40px -> 27px */
}

.logo img {
    max-height: 201px; /* 300px -> 201px */
    width: auto;
}

/* Ana Navigasyon Menüsü */
.main-nav {
    flex-grow: 1;
    padding-left: 27px; /* 40px -> 27px */
}

.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.main-nav li {
    margin-left: 0;
    margin-right: 184px; /* 275px -> 184px */
}

/* Standart Menü Linkleri */
.main-nav a {
    text-decoration: none;
    color: var(--bordo);
    font-weight: 1000; /* Orijinal değer korundu */
    font-size: 15px; /* 23px -> 15px */
    padding: 7px 0; /* 10px -> 7px */
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px; /* 3px -> 2px */
    background-color: var(--mavi);
    bottom: 0;
    left: 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease;
}

.main-nav a:hover {
    color: var(--mavi);
}

.main-nav a:hover::after {
    transform: scaleX(1);
}

/* ---------------- VİDEO HERO BÖLÜMÜ ---------------- */

.video-hero {
    position: relative;
    width: 100vw;
    height: 100vh; /* Göreceli birim, korundu */
    display: flex;
    align-items: center;
    justify-content: flex-start;
    overflow: hidden;
    text-align: left;
    left: 0;
    right: 0;

    
}

#hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: -1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, transparent 50%, transparent 70%, rgba(0,0,0,0.8) 100%);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    color: #FFFFFF;
    max-width: 800px; /* 800px -> 536px */
    padding: 13px 13px 13px 27px; /* 20px/40px -> 13px/27px */
    transform: translateY(-27px); /* -40px -> -27px */
}

.hero-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 67px;
    margin-bottom: 25px; /* DÜZELTME: Başlık ve paragraf arasına boşluk eklemek için bu değeri artırdık (10px -> 25px) */
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2; /* DÜZELTME: Başlığın kendi satırları arasındaki boşluğu biraz artırdık */
}


.hero-content p {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 300;
    max-width: 500px;
    margin-top: 0; /* DÜZELTME: Olası varsayılan boşlukları sıfırlıyoruz */
}

/* Hero Butonları */
.hero-buttons {
    margin-top: 20px; /* 30px -> 20px */
}

.hero-btn {
    display: inline-block;
    padding: 20px 27px; /* 30px/40px -> 20px/27px */
    margin-right: 10px; /* 15px -> 10px */
    border: 3px solid var(--beyaz); /* 4px -> 3px */
    border-radius: 5px; /* 5px -> 3px (yuvarlandı) */
    color: var(--beyaz);
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 12px; /* 18px -> 12px */
    letter-spacing: 1px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.hero-btn:hover {
    background-color: var(--bordo);
    color: var(--mavi);
}

/* ---------------- Sayfa İçeriği ---------------- */
main {
    padding: 0px;
}

main h1 {
    color: var(--koyu-gri);
}




/* ---------------- Yaptığımız İşler (Servis Kartları) Bölümü ---------------- */

.services-section {
    padding: 40px 20px; /* Bölümün dikey boşluğu azaltıldı */
    text-align: center;
    position: relative;
    background-image: linear-gradient(rgba(25, 35, 50, 0.8), rgba(25, 35, 50, 0.8)), url('images/arkaplan-resmi.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
     
}

.subtitle {
    display: block;
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8); /* DÜZELTME: Rengi açık ve görünür yaptık */
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.main-title {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    color: var(--beyaz); /* DÜZELTME: Rengi beyaza çevirdik */
    text-transform: uppercase;
    letter-spacing: 2px;
     margin: 0 auto 50px auto;
    position: relative;
    display: inline-block;
    padding-bottom: 15px; /* Çizgi için boşluk */
}

/* Alt çizgi stilinin de bu şekilde olduğundan emin olun */
.main-title::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 3px;
    background-color: var(--bordo);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
/* YENİ: Grid yapısı sabitlendi ve daraltıldı */
.services-grid {
    display: grid;
    /* Mobil için tek sütun (değişmedi) */
    grid-template-columns: 1fr;
    gap: 25px; /* Kartlar arası boşluk ayarlandı */
    max-width: 1000px; /* Bütün grid alanı daraltıldı */
    margin: 0 auto;
}

/* Tablet boyutu ve üzeri için 2 sütun */
@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Masaüstü boyutu ve üzeri için 3 sütun (sabitlendi) */
@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}


/* HER KARTA ÖZEL ARKA PLAN RESİMLERİ (Bu bölüm aynı kalıyor) */
#card-boru-sekillendirme { background-image: url('images/boru-sekillendirme-bg.jpg'); }
#card-makineler { background-image: url('images/makineler-bg.jpg'); }
#card-sivama { background-image: url('images/sivama-bg.jpg'); }
#card-kesme { background-image: url('images/kesme-bg.jpg'); }
#card-bukme { background-image: url('images/bukme-bg.jpg'); }
#card-pres { background-image: url('images/pres-bg.jpg'); }


/* ANA KART STİLİ (Küçültüldü) */
.service-card {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(99, 1, 1, 0.858);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    height: 280px; /* Kart yüksekliği azaltıldı (350px -> 280px) */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Overlay ve hover efektleri aynı kalıyor */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.184);
    transition: background-color 0.4s ease-in-out;
    z-index: 1;
}
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}
.service-card:hover::before {
    background-color: rgba(6, 44, 198, 0.3);
}
.service-card:hover .service-card-content {
    transform: scale(1.05);
}

/* KART İÇERİĞİ (Küçültüldü) */
.service-card-content {
    position: relative;
    z-index: 2;
    color: var(--beyaz);
    padding: 15px; /* İç boşluk azaltıldı */
    text-align: center;
    transition: transform 0.4s ease-in-out;
}

.service-card i {
    font-size: 36px; /* İkon boyutu küçültüldü (40px -> 36px) */
    margin-bottom: 12px; /* Boşluk azaltıldı */
    display: block;
}

.service-card h3 {
    font-size: 20px; /* Başlık boyutu küçültüldü (22px -> 20px) */
    color: var(--beyaz);
    margin: 0;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding-bottom: 8px; /* Boşluk azaltıldı */
}

.service-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--beyaz);
    transition: width 0.4s ease-in-out;
}
.service-card:hover h3::after {
    width: 70%;
}

.cta-link {
    color: var(--mavi);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.cta-link::after {
    content: ' \2192';
    margin-left: 3px; /* 5px -> 3px */
    transition: margin-left 0.3s ease;
}

.cta-link:hover {
    color: var(--bordo);
}

.cta-link:hover::after {
    margin-left: 7px; /* 10px -> 7px */
}

/* ---------------- Eyleme Çağrı (CTA) Bölümü ---------------- */

.cta-section {
    position: relative;
    padding: 10px 25px; /* Şeridin yüksekliğini belirleyen dikey boşluk */
    text-align: center;
    color: var(--beyaz);
    
    /* Arka plan resmi ayarları */
    background-image: url('images/cta-bg.jpg'); /* Resim yolunu doğru şekilde ekledik */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; 
}

/* Okunurluğu artırmak için resmin üzerine koyu bir katman ekliyoruz */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 20, 30, 0.7); /* Karartma miktarı */
    z-index: 1;
}

/* Metin ve butonun overlay'in üzerinde kalmasını sağlar */
.cta-section .cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.cta-section h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 35px;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 24px;
}

.cta-button {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--mavi); /* Ana buton rengi Bordo */
    color: var(--beyaz);
    text-decoration: none;
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    border: 2px solid var(--bordo);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--beyaz); /* Üzerine gelince arka plan beyaz */
    color: var(--bordo); /* Üzerine gelince yazı bordo */
    border-color: var(--beyaz);
}

/* ---------------- Footer (Alt Bilgi) Bölümü ---------------- */

footer {
    background-color: #1a1a1a; /* Koyu bir arkaplan */
    color: rgba(255, 255, 255, 0.7); /* Genel metin rengi (hafif kırık beyaz) */
    padding-top: 60px;
    font-size: 15px;
    line-height: 1.7;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    /* Masaüstü için 3 sütunlu yapı */
    grid-template-columns: repeat(3, 1fr);
    gap: 40px; /* Sütunlar arası boşluk */
}

.footer-column h4 {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    color: var(--beyaz);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

/* Başlıkların altındaki bordo çizgi */
.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--bordo);
}

.footer-column p {
    margin: 0 0 10px 0;
}

/* İletişim bölümündeki ikon stilleri */
.footer-column p i {
    color: var(--bordo);
    margin-right: 10px;
    width: 15px;
    text-align: center;
}

/* Footer içindeki tüm linkler için genel stil */
.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--beyaz); /* Üzerine gelince tam beyaz yap */
}

/* Link listeleri için stiller (Yasal ve Hızlı Erişim) */
.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

/* En alt copyright bölümü */
.footer-bottom {
    background-color: #000;
    text-align: center;
    padding: 20px;
    margin-top: 50px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
    margin: 0;
}


/* RESPONSIVE AYARLARI (Tablet ve Mobil için) */

/* Geniş Tabletler (2 sütun) */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Dikey Tabletler ve Telefonlar (1 sütun) */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    footer {
        padding-top: 40px;
    }
    .footer-column {
        margin-bottom: 30px;
    }
    .footer-bottom {
        margin-top: 20px;
    }
}

/* ======================================== */
/* SAYFA GİRİŞ ANİMASYONLARI         */
/* ======================================== */

/* 1. Üstten aşağı kayma animasyonu (Hero için) */
@keyframes slideDown {
    from {
        transform: translateY(-100%); /* Başlangıçta ekranın 100% yukarısında */
        opacity: 0; /* Başlangıçta görünmez */
    }
    to {
        transform: translateY(0); /* Sonunda normal pozisyonunda */
        opacity: 1; /* Sonunda tamamen görünür */
    }
}

/* 2. Alttan yukarı kayma animasyonu (Servis Kartları için) */
@keyframes slideUp {
    from {
        transform: translateY(50px); /* Başlangıçta 50px aşağıda */
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ======================================== */
/* KAYDIRMA İLE TETİKLENEN ANİMASYONLAR */
/* ======================================== */

/* Animasyon uygulanacak elementlerin başlangıç durumu */
.animate-on-scroll {
    opacity: 0; /* Başlangıçta tamamen görünmez */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out; /* Yumuşak geçiş efekti */
}

/* Farklı yönlerden gelme efektleri için yardımcı class'lar */
.slide-from-top {
    transform: translateY(-50px); /* Başlangıçta 50px yukarıda */
}

.slide-from-bottom {
    transform: translateY(50px); /* Başlangıçta 50px aşağıda */
}

/* JavaScript tarafından eklenecek olan ve animasyonu tetikleyecek class */
.animate-on-scroll.visible {
    opacity: 1; /* Tamamen görünür yap */
    transform: translateY(0); /* Olması gereken normal pozisyonuna getir */
}

/* ======================================== */
/* KADEMELİ KART ANİMASYONU GECİKMELERİ      */
/* ======================================== */

/* Kartların animasyonuna bir gecikme ekliyoruz.
   :nth-child(n) seçicisi ile her bir kartı sırayla hedefliyoruz. */

.service-card:nth-child(1),
.service-card:nth-child(2),
.service-card:nth-child(3) {
    transition-delay: 0.1s;
}
.service-card:nth-child(4),
.service-card:nth-child(5),
.service-card:nth-child(6) {
    transition-delay: 0.3s; /* İlk satırdan biraz daha geç başlar */
}

/* ---------------- Sayfa Banner Bölümü (Vizyon, Misyon, Kabiliyetler için Genel Banner) ---------------- */

.page-banner {
    position: relative;
    width: 100%;
    height: 350px; /* Banner yüksekliği */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--beyaz);
    overflow: hidden; /* Taşmaları engeller */
}

/* Arka plan resmini belirle (Örnek: vision-bg.jpg) */
#vision-banner {
    background-image: url('images/cta-bg.jpg'); /* Resim yolunu kendi resminizle güncelleyin */
    background-size: cover;
    background-position: top;
    background-attachment: fixed; /* Parallax efekti */
}

/* Resim üzerine koyu katman (metin okunurluğunu artırır) */
.page-banner .banner-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Siyah %50 şeffaflık */
    z-index: 1;
}

/* Başlık ve paragrafın katmanın üzerinde görünmesini sağlar */
.page-banner .banner-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 20px;
}

.page-banner h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--beyaz) ; 
}

.page-banner p {
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.6;
}

/* RESPONSIVE AYARLARI */
@media (max-width: 768px) {
    .page-banner {
        height: 250px; /* Mobil görünümde daha kısa banner */
    }
    .page-banner h1 {
        font-size: 40px;
    }
    .page-banner p {
        font-size: 16px;
    }
}

/* Misyon sayfası banner'ı için arka plan resmi */
#mission-banner {
    background-image: url('images/cta-bg.jpg');
    background-size: cover;
    background-position: top;
    background-attachment: fixed; /* Parallax efekti */
}

/* ---------------- Logolu Giriş Paragrafı Bölümü (Duvar Kağıdı Stili) ---------------- */

.intro-section {
    padding: 120px 40px; /* Bölümün yüksekliğini artırdık */
    text-align: center;
    position: relative; /* Arka plan katmanı için gerekli */
    color: var(--beyaz); /* Metin rengini beyaz yaptık */
    
    /* Arka plan resmi için genel ayarlar */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax efekti için */
}

/* Okunurluk için resmin üzerine koyu bir katman (overlay) ekliyoruz */
.intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 20, 30, 0.7); /* Karartma miktarı */
    z-index: 1;
}

/* Paragrafın katmanın üzerinde kalmasını sağlıyoruz */
.intro-section .container {
    position: relative;
    z-index: 2;
}

.intro-section p {
    font-size: 22px; /* Yazı boyutunu biraz büyüttük */
    line-height: 1.8;
    color: var(--beyaz); /* Metin rengini beyaz yaptık */
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
}

/* Her sayfaya özel arka plan resmini atıyoruz */
#mission-intro {
    background-image: url('images/arkaplan-resmi.jpg');
}

/* Misyon sayfası intro bölümü için özel arka plan ayarları */
#vision-intro {
    background-image: none; /* Arka plan resmini kaldırır */
    background-color: var(--beyaz); /* Arka planı beyaz yapar */
    background-attachment: initial; /* Parallax efektini kaldırır */
    padding: 80px 40px; /* Boşlukları yeniden ayarlayalım */
}

/* Misyon intro bölümündeki paragrafın rengini koyu yapıyoruz */
#vision-intro p {
    color: var(--koyu-gri); /* Beyaz metni koyu griye çevirir */
}

/* Misyon intro bölümündeki overlay'i (karartma katmanını) etkisiz hale getiriyoruz */
#vision-intro::before {
    background-color: transparent; /* Karartma katmanını şeffaf yapar */
}


/* RESPONSIVE AYARLARI */
@media (max-width: 768px) {
    .intro-section {
        padding: 80px 20px;
    }
    .intro-section p {
        font-size: 18px;
    }
}

/* ---------------- Sayfa İçerik Stilleri (Misyon/Vizyon vb.) ---------------- */

.page-content {
    padding-top: 60px;
    padding-bottom: 60px;
}

.mission-intro-text {
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.7;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.capabilities-title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--bordo);
    margin-bottom: 30px;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* İki sütunlu yapı */
    gap: 40px; /* Sütunlar arası boşluk */
    max-width: 1000px;
    margin: 0 auto;
    margin-bottom: 40px;
}

.capabilities-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.capabilities-list li {
    font-size: 17px;
    color: #000000;
    padding-left: 25px; /* İkon için boşluk bırak */
    position: relative;
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Her madde başına bordo renkte bir "dişli" ikonu ekliyoruz */
.capabilities-list li::before {
    content: '\f013'; /* Font Awesome Dişli (Gear) ikonu */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900; /* Solid ikonlar için bu gereklidir */
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--mavi);
    font-size: 24px;
}

.mission-outro-text {
    text-align: center;
    font-size: 18px;
    font-style: italic; /* Kapanış metnini italik yaparak ayırıyoruz */
    color: #f7f7f7;
    max-width: 900px;
    margin: 40px auto 0 auto;
    border-top: 1px solid #e0e0e0;
    padding-top: 30px;
}

/* RESPONSIVE AYARLARI: Mobil cihazlarda listeyi tek sütuna düşür */
@media (max-width: 768px) {
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* ======================================== */
/* MİSYON SAYFASI İÇERİK ANİMASYON GECİKMELERİ */
/* ======================================== */

.mission-intro-text.animate-on-scroll {
    transition-delay: 0.1s;
}

.capabilities-title.animate-on-scroll {
    transition-delay: 0.2s;
}

.capabilities-grid.animate-on-scroll {
    transition-delay: 0.3s;
}

.mission-outro-text.animate-on-scroll {
    transition-delay: 0.4s;
}

/* Kabiliyetler sayfası banner'ı için arka plan resmi */
#capabilities-banner {
    background-image: url('images/cta-bg.jpg'); /* Resim yolunu kendi resminizle güncelleyin */
    background-size: cover;
    background-position: top;
    background-attachment: fixed; /* Parallax efekti */
    height: 120px;
}

#capabilities-banner .banner-content.align-left {
    justify-content: flex-start; /* İçeriği sola yaslar */
    align-items: center; /* Dikeyde ortalar */
    text-align: left; /* Metni sola yaslar */
    width: 100%; /* İçeriğin tam genişliği kullanmasını sağlar */
    max-width: 1200px; /* Diğer konteynerler gibi */
    padding-left: 0px; /* Yan boşluk bırakır */
    box-sizing: border-box; /* Padding'in genişliği etkilememesi için */
}

/* YENİ EKLENEN KOD: Başlığı biraz sağa çekmek gerekebilir */
#capabilities-banner .banner-content.align-left h1 {
    margin-left: 0; /* Eğer genel bir h1 margin'i varsa sıfırlar */
    font-size: 48px; /* İnce banner için başlık boyutunu biraz küçülttük */
}

/* RESPONSIVE AYARLARI */
@media (max-width: 768px) {
    #capabilities-banner .banner-content.align-left {
        padding-left: 20px; /* Mobil için yan boşluğu azaltır */
    }
    #capabilities-banner .banner-content.align-left h1 {
        font-size: 36px; /* Mobil için başlık boyutunu küçültür */
    }
}

/* ---------------- Akordiyon Stilleri (Kabiliyetler Sayfası) ---------------- */

.accordion {
    max-width: 900px; /* Akordiyonun genişliği */
    margin: 40px auto; /* Sayfada ortalamak ve boşluk bırakmak için */
}

.accordion-item {
    background-color: var(--beyaz);
    border: 1px solid #e0e0e0;
    margin-bottom: 10px; /* Her bir başlık arasına boşluk */
    border-radius: 5px;
    overflow: hidden; /* Animasyonun düzgün çalışması için */
}

.accordion-header {
    background-color: transparent;
    border: none;
    width: 100%;
    padding: 20px;
    text-align: left;
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: var(--koyu-gri);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: #f7f7f7;
}

.accordion-header i {
    color: var(--bordo);
    margin-right: 15px;
    font-size: 18px;
    transition: transform 0.4s ease;
}

/* Aktif (açık) başlığın ikonunu döndürme */
.accordion-header.active i {
    transform: rotate(135deg);
}

.accordion-content {
    max-height: 0; /* Başlangıçta kapalı */
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out; /* Yumuşak açılma animasyonu */
    background-color: #fdfdfd;
}

.accordion-content ul {
    list-style: none;
    padding: 20px 20px 20px 55px; /* Madde başı ikonları için solda boşluk */
    margin: 0;
}

.accordion-content li {
    font-size: 16px;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.6;
}

/* =================================================================== */
/* KABİLİYETLER ve İLETİŞİM SAYFASI BANNER ÖZEL STİLLERİ       */
/* =================================================================== */


/* Her iki sayfanın banner'ını daha ince yapar */
#capabilities-banner,
#contact-banner {
    height: 120px; /* Banner yüksekliği azaltıldı */
    background-image: url('images/cta-bg.jpg');
    background-size: cover;
    background-position: top;
    background-attachment: fixed; /* Parallax efekti */
  
}

/* Her iki sayfanın banner içeriğini sola yaslar */
#capabilities-banner .banner-content.align-left,
#contact-banner .banner-content.align-left {
    justify-content: flex-start;
    align-items: center;
    text-align: left;
    width: 100%;
    max-width: 1200px;
    padding-left: 22px;
    box-sizing: border-box;
}

/* Her iki sayfanın banner başlık stilini ayarlar */
#capabilities-banner .banner-content.align-left h1,
#contact-banner .banner-content.align-left h1 {
    margin-left: 0;
    font-size: 38px;
}

/* RESPONSIVE AYARLARI (Her iki sayfa için geçerli) */
@media (max-width: 768px) {
    #capabilities-banner .banner-content.align-left,
    #contact-banner .banner-content.align-left {
        padding-left: 20px;
    }

    #capabilities-banner .banner-content.align-left h1,
    #contact-banner .banner-content.align-left h1 {
        font-size: 36px;
    }
}



/* ---------------- İletişim Sayfası Özel Stilleri ---------------- */

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Sol sütun biraz daha geniş */
    gap: 40px;
    padding: 30px 0;
}


/* Sol Sütun: Konum Sekmeleri ve Harita */
.location-tabs ul {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    gap: 30px;
    border-bottom: 1px solid #e0e0e0;
}
.location-tabs a {
    display: block;
    padding-bottom: 15px;
    text-decoration: none;
    color: #888;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}
.location-tabs a::after {
    content: '';
    position: absolute;
    bottom: -1px; /* Sınır çizgisinin üzerine gelsin */
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--bordo);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}
.location-tabs a.active,
.location-tabs a:hover {
    color: var(--bordo);
}
.location-tabs a.active::after {
    transform: scaleX(1);
}
.location-content {
    display: none; /* JavaScript ile kontrol edilecek */
}
.location-content.active {
    display: block; /* Sadece aktif olan görünecek */
}
.location-info p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}
.location-info p strong {
    color: var(--koyu-gri);
    min-width: 80px;
    display: inline-block;
}

/* Sağ Sütun: Bilgi Kutuları ve Form */
.info-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}
.info-box {
    background-color: var(--beyaz);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
    border: 1px solid #f0f0f0;
}
.info-box .icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px auto;
    background-color: #f0f8ff; /* Açık mavi */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mavi);
    font-size: 24px;
}
.info-box h4 {
    margin: 0 0 5px 0;
    font-family: 'Oswald', sans-serif;
    color: var(--koyu-gri);
}
.info-box p {
    margin: 0;
    color: #777;
    font-size: 14px;
}

/* Form Stilleri */
.contact-form {
    background-color: var(--beyaz);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
}
.form-group {
    margin-bottom: 20px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box; /* Padding'in genişliği etkilememesi için */
}
.submit-btn {
    width: 100%;
    padding: 15px;
    background-color: var(--bordo);
    color: var(--beyaz);
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.submit-btn:hover {
    background-color: #6d152f; /* Bordonun daha koyu tonu */
}

/* Responsive Ayarlar */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Sütunları alt alta diz */
    }
}