/* ==========================================================================
   1. GLOBAL SIFIRLAMA VE DEĞİŞKENLER
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

:root {
    --bg-color: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent-color: #000000;
    --badge-bg: #f1f5f9;
    --border-color: #e2e8f0;
    --max-width: 1100px;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden; /* Mobilde yatay kaymayı (scrolling) engelleyen bariyer */
}

/* ==========================================================================
   2. MASAÜSTÜ (DESKTOP) TASARIM KURALLARI
   ========================================================================== */

/* Üst Navigasyon Barı (Floating Header) */
.main-header {
    margin-top: 24px;
    width: 100%;
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    z-index: 1000;
    padding: 0 16px;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    max-width: 100%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    white-space: nowrap;
}

.nav-item a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.nav-item a:hover {
    color: var(--text-primary);
    background-color: var(--badge-bg);
}

.nav-item.active a {
    background-color: var(--accent-color);
    color: #ffffff;
}

/* Ana İçerik Alanı ve Düzen */
.content-wrapper {
    margin-top: 100px;
    width: 100%;
    max-width: var(--max-width);
    padding: 40px 24px;
    flex: 1;
    display: flex;
    align-items: center;
}

.hero-container {
    display: flex;
    width: 100%;
    gap: 48px;
    align-items: center;
    justify-content: space-between;
}

/* Sol Blok: Metin İçerikleri */
.hero-text-content {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.badge {
    background-color: var(--badge-bg);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: #22c55e;
    border-radius: 50%;
    display: inline-block;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 24px;
    text-align: justify;
}

.meta-info {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.meta-info i {
    margin-right: 6px;
}

/* Butonlar */
.cta-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 32px;
    width: 100%;
}

.btn {
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--accent-color);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background-color: var(--badge-bg);
}

.divider {
    width: 100%;
    border-top: 1px solid var(--border-color);
    margin-bottom: 24px;
}

/* Sosyal Medya */
.social-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.social-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    color: var(--text-secondary);
    font-size: 18px;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.social-icons a:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

/* Sağ Blok: Profil Görseli */
.hero-image-content {
    flex: 0.8;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.image-wrapper {
    width: 100%;
    max-width: 380px;
    aspect-ratio: 1 / 1;
    border-radius: 24px;
    overflow: hidden;
    background-color: #f8fafc;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Sayfa Sonu (Footer) */
footer {
    width: 100%;
    max-width: var(--max-width);
    padding: 24px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 13px;
}

/* ==========================================================================
   3. RESPONSIVE ORKESTRASYONU (Media Queries)
   ========================================================================== */

/* Tablet ve Küçük Laptop Ekranları */
@media (max-width: 992px) {
    .hero-container {
        gap: 32px;
    }
    .hero-title {
        font-size: 38px;
    }
    .image-wrapper {
        max-width: 300px;
    }
}

/* Akıllı Telefonlar ve Mobil Cihazlar */
@media (max-width: 768px) {
    .main-header {
        margin-top: 12px;
    }
    
    /* YENİ: Üst menüyü mobilde 2 satır yapan alan */
    .navbar {
        padding: 8px 12px;
        border-radius: 16px; 
        overflow-x: visible; 
        max-width: 92%; 
    }
    
    /* YENİ: Menü elemanlarının alt satıra esnemesini sağlayan kural */
    .nav-links {
        display: flex;
        flex-wrap: wrap; 
        justify-content: center; 
        gap: 6px 4px; 
        white-space: normal; 
    }

    /* YENİ: 5 elemanın 3 ve 2 olarak simetrik bölünmesi için genişlik hesabı */
    .nav-item {
        flex: calc(33.33% - 8px); 
        min-width: 85px; 
        display: flex;
        justify-content: center;
    }
    
    .nav-item a {
        padding: 6px 10px;
        font-size: 12px;
        width: 100%;
        justify-content: center; 
    }

    .content-wrapper {
        margin-top: 110px; /* 2 satırlı menünün alt metinleri ezmemesi için pay artırıldı */
        padding: 20px 16px;
    }

    /* Mobilde görsel en üste, metinler alta gelecek */
    .hero-container {
        flex-direction: column-reverse; 
        gap: 32px;
        text-align: center;
    }

    .hero-text-content {
        align-items: center; 
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-description {
        text-align: center; 
        font-size: 14px;
    }

    .meta-info, .cta-buttons, .social-footer {
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: row;
        width: 100%;
    }
    
    .btn {
        flex: 1;
        padding: 10px 16px;
        font-size: 13px;
    }

    .hero-image-content {
        justify-content: center;
        width: 100%;
    }

    .image-wrapper {
        max-width: 260px; 
    }
}

/* Ultra Küçük Ekranlar (Eski Telefonlar) */
@media (max-width: 400px) {
    .cta-buttons {
        flex-direction: column; 
    }
    .hero-title {
        font-size: 28px;
    }
}