/* 1. Reset ve Global Standartlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

html, body {
    width: 100%;
    height: 100%;
    overflow-x: hidden; /* Yatay kaymayı kesin olarak engeller */
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* 2. Header & Navigasyon (Sticky & Kompakt) */
header {
    background: #0071bd;
    width: 100%;
    z-index: 1000;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img { height: 32px; width: auto; }
.logo span { color: #fff; font-weight: 800; font-size: 1rem; white-space: nowrap; }

nav ul { display: flex; list-style: none; gap: 20px; }
nav ul li a { color: #fff; text-decoration: none; font-size: 13px; font-weight: 600; transition: 0.3s; }
nav ul li a:hover { color: #34c759; }

/* 3. Yaratıcı Banner (Fade & Zoom Efekti) */
.banner {
    position: relative;
    width: 100%;
    padding: 60px 20px;
    text-align: center;
    background: #fff;
    overflow: hidden;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('banner1.jpg') no-repeat center center;
    background-size: cover;
    opacity: 0.1;
    filter: blur(40px);
    z-index: 1;
    animation: fadeZoom 15s infinite alternate ease-in-out;
}

.slider img {
    max-width: 900px;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    position: relative;
    z-index: 5;
    animation: slowZoom 12s infinite alternate ease-in-out;
}

@keyframes fadeZoom { from { opacity: 0.05; transform: scale(1); } to { opacity: 0.15; transform: scale(1.1); } }
@keyframes slowZoom { from { transform: scale(1); } to { transform: scale(1.04); } }

/* 4. Ana Sayfa İçerik & Container Yapısı */
main { flex: 1; width: 100%; }
.container { max-width: 1100px; margin: 0 auto; padding: 60px 20px; width: 100%; }

.intro-section { display: flex; align-items: center; gap: 40px; margin-bottom: 60px; }
.intro-text { flex: 1; }
.intro-text h1 { font-size: 2.8rem; color: #000; letter-spacing: -1.5px; margin-bottom: 20px; line-height: 1.1; }
.intro-text p { font-size: 1.1rem; color: #555; line-height: 1.6; }
.intro-visual { flex: 1; display: flex; justify-content: center; }
.intro-visual svg { width: 100%; max-width: 320px; color: #000; }

.status-badge {
    margin-top: 30px; padding: 20px; border-left: 5px solid #000;
    background: #f9f9f9; font-size: 0.95rem; border-radius: 0 12px 12px 0;
}

.separator { border: 0; border-top: 1px solid #eee; margin-bottom: 60px; }
.section-title { text-align: center; margin-bottom: 40px; font-size: 2rem; letter-spacing: -1px; }

/* Hizmet Kartları Grid Sistemi */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 40px; background: #fff; border: 1px solid #f0f0f0; border-radius: 20px;
    text-align: center; transition: 0.3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.service-icon { color: #000; margin-bottom: 20px; display: flex; justify-content: center; }
.service-icon svg { width: 45px; height: 45px; }

/* 5. Gelişmiş Popup (Kırmızı Şeritli & Dış Kapatmalı) */
.popup-box { 
    background: #fff; width: 90%; max-width: 600px; margin: 15vh auto; 
    border-radius: 20px; overflow: hidden; position: relative; 
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
}

.popup-header-strip { background: #ff0000; padding: 15px; text-align: center; }
.popup-title { color: #fff; font-size: 20px; font-weight: 800; letter-spacing: 1px; }
.popup-inner-content { padding: 40px 30px; text-align: center; }
.btk-text { font-size: 34px; font-weight: 900; color: #000; line-height: 1.1; }

.popup-external-close {
    position: absolute; top: 30px; right: 30px; width: 45px; height: 45px;
    background: #fff; color: #000; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; font-size: 32px; cursor: pointer; z-index: 10000;
}

/* iOS Toggle */
.ios-switch { width: 70px; height: 38px; background: #e5e5ea; border-radius: 40px; position: relative; cursor: pointer; transition: 0.4s; margin: 20px auto 0; }
.handle { width: 30px; height: 30px; background: #fff; border-radius: 50%; position: absolute; top: 4px; left: 4px; transition: 0.3s cubic-bezier(0.3, 1.5, 0.7, 1); box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.ios-switch.active { background: #34c759; }
.ios-switch.active .handle { transform: translateX(32px); }

/* 6. Footer & Yasal Bant */
.legal-footer-notice { background: #f4f4f4; padding: 25px 20px; text-align: center; border-top: 1px solid #eee; }
.legal-footer-notice p { font-size: 1.1rem; font-weight: 700; color: #333; max-width: 1000px; margin: 0 auto; }

footer { background: #0071bd; color: #fff; padding-top: 50px; }
.footer-content { max-width: 1100px; margin: 0 auto; display: flex; justify-content: space-between; gap: 50px; padding: 0 20px 40px; }
.footer-info h3 { font-size: 22px; margin-bottom: 10px; }
.footer-map { flex: 1; min-width: 300px; }
.footer-bottom { background: #0071bd; padding: 20px; text-align: center; font-size: 12px; color: #555; }

/* 7. MOBİL DÜZENLEMELER */
@media (max-width: 768px) {
    .nav-container { flex-direction: column; gap: 10px; }
    .logo img { height: 26px; }
    nav ul { gap: 12px; }
    
    .intro-section { flex-direction: column !important; text-align: center; }
    .intro-text h1 { font-size: 1.8rem; }
    .intro-visual svg { max-width: 200px; }

    .btk-text { font-size: 20px; }
    .popup-external-close { top: 15px; right: 15px; width: 40px; height: 40px; font-size: 28px; }
    
    .legal-footer-notice p { font-size: 0.85rem; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-map { min-width: 100%; height: 200px; }
}

/* İletişim Sayfası Özel Tasarımı */
.contact-wrapper {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.contact-form-container {
    flex: 1.5;
    background: #fff;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid #eee;
}

.contact-details-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Form Elemanları */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 8px; color: #333; }
.form-group input, .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    transition: 0.3s;
    background: #fdfdfd;
}
.form-group input:focus, .form-group textarea:focus {
    border-color: #000;
    outline: none;
    background: #fff;
}

.send-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}
.send-btn:hover { background: #333; transform: translateY(-2px); }

/* Yasal Bilgi Kartları */
.legal-card, .info-card {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 20px;
    border: 1px solid #eee;
}

.legal-card h3, .info-card h3 {
    font-size: 18px;
    margin-bottom: 20px;
    border-bottom: 2px solid #000;
    display: inline-block;
    padding-bottom: 5px;
}

.legal-item, .info-item {
    font-size: 14px;
    margin-bottom: 12px;
    display: flex;
    flex-direction: column;
}

.legal-item strong { color: #555; font-size: 12px; text-transform: uppercase; }
.legal-item span { color: #000; font-weight: 600; margin-top: 2px; }

.info-item span { color: #333; font-weight: 500; }

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
    }
    .contact-form-container, .contact-details-container {
        width: 100%;
    }
}