:root {
    --primary: #1a2a3a;
    --accent: #0F5789;
    --light: #f8f9fa;
    --text: #333;
    --white: #fff;
}

/* Temel Reset ve Taşma Önleme */
* {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
	/* Genel Taşma ve Kayma Önleyici */
    -webkit-box-sizing: border-box;/* Eski tarayıcı desteği */
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    scroll-behavior: smooth;
    position: relative;
    background-color: var(--white);
    color: var(--text);
}

.page-section {
    min-height: 100vh;
    padding-top: 80px; /* Navbar height */
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    flex: 1;
}

/* ################## */
/* --- NAVBAR (GLASSMORPHISM) --- */
/* ################## */
header {
    position: fixed;
    width: 100%;
    top: 0; left: 0;
    z-index: 2000;
    background: rgba(255, 255, 255, 0.85); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    height: 75px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
    height: 90px;
    transition: all 0.4s ease;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-links li a {
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    padding: 10px 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0; 
	left: 0;
    width: 0; 
	height: 2px;
    background-color: var(--accent);
    transition: width 0.3s ease;
}

.nav-links li a:hover::after,
.nav-links li a.active::after { width: 100%; }

.nav-links li a:hover { color: var(--accent); }

/* ################## */
/* --- SLIDER (HOME) --- */
/* ################## */
.full-page { 
	height: 100vh; 
	width: 100%; 
}
.slide-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    max-width: 500px;
    border-left: 8px solid var(--accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    margin-bottom: 20px;
	z-index: 10;
    /* Üstte kalmasına sebep olan olası margin'leri sıfırla */
    margin-top: auto; 
    margin-left: 0;
    position: relative;
}
.slide-content h2 { 
	font-family: 'Oswald', sans-serif; 
	font-size: 3rem; 
	color: var(--primary); 
}
/* Swiper Slider */
.swiper { width: 100%; height: 100%; }
.swiper-slide {
    display: flex !important;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding-left: 5%;
    padding-bottom: 120px;
    background-size: cover;
    background-position: center;
	height: 100vh;
}
/* Noktaların (Pagination) Yerleşimi */
.swiper-pagination {
	width: 100% !important;
    left: 0 !important;
    text-align: center !important;
    bottom: 30px !important;
}
/* Standart (Pasif) Noktalar */
.swiper-pagination-bullet {
    width: 12px !important;
    height: 12px !important;
    background: #fff !important; /* Arka planda görünsün diye beyaz yapıyoruz */
    opacity: 0.6 !important;
    margin: 0 8px !important;
    border: 1px solid rgba(0,0,0,0.2); /* Hafif çerçeve belirginliği artırır */
    transition: all 0.3s ease !important;
}
/* Aktif (Seçili) Nokta */
.swiper-pagination-bullet-active {
    width: 35px !important; /* Aktif nokta daha geniş durur (Modern stil) */
    border-radius: 10px !important;
    background: var(--accent) !important; /* Altın/Bronz rengin */
    opacity: 1 !important;
    box-shadow: 0 0 10px rgba(197, 160, 89, 0.5); /* Hafif parlama efekti */
}
.swiper-button-next,
.swiper-button-prev {
    background-color: rgba(255, 255, 255, 0.1); /* Çok hafif şeffaf arka plan */
    width: 50px !important;
    height: 50px !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%; /* Yuvarlak butonlar */
    color: var(--white) !important; /* Ok rengi beyaz */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    backdrop-filter: blur(5px); /* Arka planı hafif bulanıklaştırır (Cam efekti) */
}
/* Butonların Kenarlara Mesafesi */
.swiper-button-prev { left: 30px !important; }
.swiper-button-next { right: 30px !important; }
/* Okların Boyutu (İçerideki sembol) */
.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 18px !important;
    font-weight: bold;
}
/* Üzerine Gelindiğinde (Hover) Efekti */
.swiper-button-next:hover,
.swiper-button-prev:hover {
    background-color: var(--accent) !important; /* Senin altın/bronz rengin */
    border-color: var(--accent) !important;
    color: var(--primary) !important; /* Ok rengi lacivert olur */
    transform: scale(1.1); /* Hafif büyüme */
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
}


/* ################## */
/* --- BANNERLAR (ABOUT/DEFENSE/REF) --- */
/* ################## */
.inner-banner {
    height: 350px !important; /* PC'de resim ferahlığı */
    width: 100%;
	background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.6);
    padding-bottom: 100px;
    position: relative;
    overflow: hidden;
    padding-bottom: 100px; /* Kutunun gelmesi için aşağıda rezerv alan */

}

.inner-banner h1 {
    font-size: 4.5rem;
    font-family: 'Oswald', sans-serif;
    letter-spacing: 5px;
    text-transform: uppercase;
	transform: translateY(10px);
    z-index: 1;
}


/* ################## */
/* - IÇERIK KUTULARI -*/
/* ################## */
.wide-info-card {
    background: #fff;
    padding: 45px 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-top: 6px solid var(--accent);
    margin: -125px auto 0; /* PC Bindirme Oranı */
    max-width: 1300px !important; /* İSTEDİĞİNİZ PC GENİŞLİĞİ */
    /* width: 90%; */
    text-align: center;
    border-radius: 4px;
    position: relative;
    z-index: 10;
}

.wide-info-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
    max-width: 1200px; /* Metnin çok dar kalmaması için artırıldı */
    margin: 0 auto;
    padding-bottom: 15px;
}

.wide-info-card h3 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 25px;
    font-family: 'Oswald', sans-serif;
}

/* ################## */
/* --- REFERENCES --- */
/* ################## */
.reference-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
	margin: 0 auto;
    text-align: center;
}
.ref-card {
    width: 100%; /* Sabit genişliği kaldır, grid hücresine uy */
    text-align: center;
}
.ref-card .img-box {
    width: 100%;
    aspect-ratio: 200 / 225; /* Oranı koru */
	max-width: 200px; /* Çok büyümesini engelle */
	margin: 0 auto 15px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    padding: 15px;
}
.ref-card img { 
	max-width: 100%;
    max-height: 100%;
	object-fit: contain; 
}
.ref-card h4 {
    font-size: 14px;
    color: var(--primary);
    margin-top: 10px;
    word-wrap: break-word; /* Uzun kelimelerin taşmasını engeller */
}
.ref-card:hover img { filter: grayscale(0); transform: scale(1.1); }


/* ################## */
/* --- CONTACT --- */
/* ################## */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 50px;
}
.contact-info-panel { 
	background: var(--light); 
	padding: 40px; 
	border-radius: 4px; 
}
.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}
.info-icon {
    font-size: 1.5rem;
    margin-right: 20px;
    background: var(--accent);
    color: white;
    padding: 10px;
    border-radius: 50%;
}
.info-item h4 { 
	color: var(--primary); 
	margin-bottom: 5px; 
}
.map-box-small {
    margin-top: 30px;
    border: 1px solid #ddd;
}
.contact-form-panel {
    background: #fff;
    padding: 20px 0;
}
.form-group { margin-bottom: 15px; }
input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
}
button { 
	background: var(--primary); 
	color: #fff; 
	padding: 15px 30px; 
	border: none; 
	cursor: pointer; 
	font-weight: bold; 
	transition: 0.3s; 
    width: 100%;
}
button:hover { 
	background: var(--accent); 
}
input, textarea { 
	width: 100%; 
	padding: 15px; 
	border: 1px solid #ddd; 
	margin-bottom: 15px; 
	border-radius: 4px; 
}








/* Business Grid Tasarımı */
.business-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: -50px; /* Banner içine hafif geçiş */
}

.biz-card {
    background: #fff;
    padding: 40px;
    border: 1px solid #eee;
    transition: 0.4s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.biz-card:hover { border-top: 5px solid var(--accent); transform: translateY(-10px); }

.biz-icon { font-size: 3rem; margin-bottom: 20px; }

/* --- References 4 Column Grid --- */
.four-cols {
    grid-template-columns: repeat(4, 1fr) !important;
}

/* ################## */
/* Footer */
/* ################## */
footer {
    background: var(--light);
    padding: 40px 5%;
    border-top: 1px solid #eee;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.footer-credit {
    position: absolute;
    right: 0;
    bottom: -10px;
    font-size: 12px;
}

/* Mobile Navigation */
.hamburger { display: none; cursor: pointer; }
.hamburger span {
    display: block; width: 25px; height: 3px;
    background: var(--primary); margin: 5px; transition: 0.3s;
}

/* --- Back to Top Button --- */
#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none; /* Başlangıçta gizli */
    z-index: 3000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-size: 24px;
    font-weight: bold;
    align-items: center;
    justify-content: center;
}

#backToTop:hover {
    background-color: var(--primary);
    color: var(--accent);
    transform: translateY(-5px);
}

/* --- Defense Expertise Kart Tasarımı --- */
.defense-expertise {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Esnek yerleşim */
    gap: 20px;
    margin-top: 40px;
}

.expertise-card {
    background: #fdfdfd;
    border: 1px solid #eee;
    padding: 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s ease;
    border-left: 4px solid var(--accent); /* Sol kenara vurgu çizgisi */
}

.expertise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    background: #fff;
    border-color: var(--accent);
}

.exp-icon {
    font-size: 1.8rem;
    filter: grayscale(1); /* İkonları başlangıçta sade tutar */
    transition: 0.3s;
}

.expertise-card:hover .exp-icon {
    filter: grayscale(0); /* Üzerine gelince renklenir */
}

.expertise-card p {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--primary);
    margin: 0 !important; /* Mevcut p marjinlerini sıfırlar */
    text-align: left !important;
	padding-bottom: 0 !important;
}

@media (max-width: 1024px) {
    .inner-banner { height: 350px !important; }
    .inner-banner h1 { font-size: 3rem !important; transform: translateY(-30px) !important; }
    .wide-info-card { margin-top: -50px !important; }
}

@media (max-width: 768px) {
	
	/* .contact-wrapper { grid-template-columns: 1fr; } */
	/* 1. Kapsayıcının dışarı taşmasını engelle */
    .contact-wrapper {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 10px !important; /* Kenarlardan çok küçük boşluk */
        overflow: hidden !important;
    }

    /* 2. Siyah panelin (Adres/Email) genişliğini sabitle */
    .contact-info-panel {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 20px 0 !important;
        padding: 25px 15px !important; /* Padding'i biraz daraltarak içeriği sığdır */
        box-sizing: border-box !important;
    }

    /* 3. Form panelinin genişliğini sabitle */
    .contact-form-panel {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* 4. Form içindeki inputların taşmasını önle */
    .contact-form .form-group {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* 5. Haritanın panel dışına çıkmasını önle */
    .map-box-small {
        width: 100% !important;
        margin-top: 20px !important;
    }
	
	
	.navbar { height: 80px; }
    .nav-links {
        position: fixed;
        left: -100%; /* Kapalıyken solda gizli */
        top: 0;
        width: 100vw; /* Tam ekran genişliği */
        height: 100vh; /* Tam ekran yüksekliği */
        background: #1a1a1a !important; /* Arka planı koyu yaparak görünürlüğü garantiliyoruz */
        display: flex;
        flex-direction: column;
        justify-content: center; /* Linkleri dikeyde ortalar */
        align-items: center; /* Linkleri yatayda ortalar */
        gap: 30px; /* Linkler arası boşluk */
        transition: 0.5s ease;
        z-index: 9999; /* Her şeyin üstünde görünmesi için */
    }

    /* Menü aktif olduğunda ekrana gelmesi için */
    .nav-links.active {
        left: 0;
    }
    .nav-links li {
        margin: 0; /* Ekstra marjinleri temizle */
        list-style: none;
    }
    .nav-links li a {
        font-size: 24px !important;
        color: #ffffff !important;
        text-align: center;
        width: 100%;
        display: block;
    }
    
   /* Hamburger ikonunun her zaman üstte kalması için */
    .hamburger {
        display: block;
        z-index: 10000; 
        position: relative;
    }
	.hamburger span { display: block; width: 25px; height: 3px; background: var(--primary); margin: 5px; }

    
    
    .footer-content { text-align: center; }
    .footer-credit { position: static; margin-top: 20px; }
    
    .slide-content {
        margin: 0 5%;
        padding: 20px;
    }
	
	.swiper-pagination-bullet {
        width: 14px !important;
        height: 14px !important;
    }
    .swiper-pagination-bullet-active {
        width: 40px !important;
    }
	
	.swiper-button-next,
    .swiper-button-prev {
        display: none; /* Mobilde elle kaydırma (touch) olduğu için okları gizlemek daha moderndir */
    }
	
	#backToTop {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
	
	.reference-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* Net 2 sütun */
        gap: 10px !important;
        padding: 0 5px !important;
        width: 100% !important;
    }

    .ref-card .img-box {
       width: 100% !important;
        max-width: 100% !important; /* Sabit px yerine tam genişlik */
        height: auto !important;
        aspect-ratio: 1 / 1; /* Kare formuna zorla, kaymayı önler */
        padding: 10px !important;
    }
	
	.ref-card {
        width: 100% !important;
    }

    .ref-card img {
        max-width: 85% !important;
        object-fit: contain !important;
    }

    .ref-card h4 {
        font-size: 11px !important;
        white-space: normal; /* Uzun isimlerin taşmasını engeller */
		color: #1a2a3a !important;
    }
	
	.inner-banner {
        height: 150px !important;
        background-attachment: scroll !important; /* Kalite sorunu çözümü */
        padding-bottom: 80px !important;
    }
    .inner-banner h1 {
        font-size: 2.2rem !important;
        transform: translateY(20px) !important; /* Mobilde başlığı iyice yukarı ittik */
    }
    .wide-info-card {
        margin-top: -70px !important; /* Mobilde bindirmeyi dengeledik */
    }
	
	.wide-info-card p {
		max-width: 900px !important;
	}
}

/* Slider İçerik Mobilde Navbar Altına Kaçma Düzeltmesi */
@media (max-width: 480px) {
    .swiper-slide {
        padding-bottom: 120px !important; /* İçeriği iyice aşağı it */
    }
    .slide-content {
        margin: 0 15px !important;
        width: calc(100% - 30px) !important;
    }
	.wide-info-card p {
		max-width: 800px !important;
	}
	.defense-expertise {
        grid-template-columns: 1fr;
    }
}

/* Çok küçük ekranlar için (iPhone SE vb.) tek sütuna düşebilir */
@media (max-width: 380px) {
    .reference-grid {
        grid-template-columns: 1fr;
    }
	.wide-info-card p {
		max-width: 700px !important;
	}
}

