/* Modern Reset ve Font */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0f172a; /* Koyu modern arka plan */
    color: #f8fafc;
    overflow-x: hidden;
}

/* Navbar Tasarımı */
header {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px); /* Cam efekti */
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    border-bottom: 1px solid #1e293b;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.logo-box {
    background: #001e36;
    color: #31a8ff;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: bold;
    border: 1px solid #31a8ff;
    box-shadow: 0 0 10px rgba(49, 168, 255, 0.3);
}

.logo-text {
    font-size: 20px;
    letter-spacing: 1px;
    font-weight: 600;
}

/* Masaüstü Menü Linkleri */
.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #94a3b8;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

/* Alt çizgi animasyonu */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #31a8ff;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Giriş Butonu */
.auth-btn {
    background: #31a8ff;
    color: white !important;
    padding: 8px 20px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(49, 168, 255, 0.4);
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(49, 168, 255, 0.6);
}

/* HAMBURGER İKONU (MASAÜSTÜNDE GİZLİ) */
.menu-toggle {
    display: none; /* Masaüstünde gizle */
    flex-direction: column;
    cursor: pointer;
    z-index: 1001; /* Menünün üstünde kalsın */
}

.bar {
    width: 25px;
    height: 3px;
    background-color: #31a8ff;
    margin: 3px 0; /* Çizgilerin arası */
    transition: all 0.3s ease-in-out;
}

/* Hamburger Butonu X Yapma Animasyonu (Tıklayınca) */
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }


/* Ana İçerik ve Animasyonlar */
main {
    margin-top: 150px;
    text-align: center;
    padding: 0 20px;
    animation: fadeIn 1.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, #31a8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-sub {
    color: #94a3b8;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Kartlar (Blog Kısmı) */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 50px auto;
}

.card {
    background: #1e293b;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #334155;
    transition: all 0.3s ease;
    cursor: pointer;
}

.card:hover {
    border-color: #31a8ff;
    background: #243146;
    transform: scale(1.03);
}

.card h3 {
    margin-bottom: 15px;
    color: #31a8ff;
}

/* MOBİL UYUMLULUK (RESPONSIVE) AYARLARI */
@media (max-width: 768px) {
    .navbar { padding: 0 20px; } /* Kenar boşluğunu azalt */

    .menu-toggle {
        display: flex; /* Telefondaysak üç çizgiyi göster */
    }

    .nav-links {
        position: fixed;
        right: -100%; /* Menüyü ekranın dışına gizle */
        top: 0;
        height: 100vh;
        width: 70%;
        background: rgba(15, 23, 42, 0.95); /* Menü arkası cam efekti */
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center; /* Linkleri ortala */
        gap: 40px; /* Linklerin arası */
        transition: 0.4s ease-in-out; /* Pürüzsüz giriş */
        box-shadow: -10px 0 20px rgba(0,0,0,0.5);
        z-index: 1000;
        border-left: 1px solid #31a8ff;
    }

    .nav-links.active {
        right: 0; /* Tıklayınca içeri gelsin */
    }

    /* Telefondaki yazı boyutu */
    .hero-title { font-size: 2.2rem !important; }
    .hero-sub { font-size: 1rem; }
}
.hero-sub {
    line-height: 1.8; /* Yazıların arasını açar, okumayı kolaylaştırır */
    text-align: justify; /* Metni iki yana yaslar, daha profesyonel durur */
    margin-bottom: 30px;
}
/* METİN VE RESİM BÖLÜMÜ STİLLERİ */
.info-section {
    width: 100%;
    padding: 100px 0; /* Üstten ve alttan boşluk */
    margin-top: 50px;
    position: relative;
}

.info-container {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Dikeyde ortala */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 60px; /* Metin ve resim arasındaki boşluk */
}

/* Sol Taraf: Metin */
.info-text {
    flex: 1; /* Alanın yarısını kapla */
    text-align: left; /* Metni sola yasla */
}

.info-text h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #fff 40%, #31a8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-text p {
    color: #94a3b8;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 20px;
}


.read-more-btn:hover {
    background: #31a8ff;
    color: white !important;
    box-shadow: 0 0 20px rgba(49, 168, 255, 0.6);
    transform: translateY(-3px);
}

/* Sağ Taraf: Resim */
.info-image {
    flex: 1; /* Alanın diğer yarısını kapla */
    position: relative;
    border-radius: 20px;
    overflow: hidden; /* Resmin köşelerini kırp */
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    transition: 0.5s ease;
}

.info-image:hover {
    transform: scale(1.03); /* Hafif büyüme efekti */
}

.info-image img {
    width: 100%; /* Kutunun tamamını kapla */
    height: auto;
    display: block;
}

/* Cam Efekti Çerçevesi (Opsiyonel) */
.info-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    border: 1px solid rgba(49, 168, 255, 0.2);
    pointer-events: none;
}

/* MOBİL UYUMLULUK (Aynı CSS dosyandaki media query içine ekle) */
@media (max-width: 768px) {
    .info-container {
        flex-direction: column-reverse; /* Telefonda metni alta, resmi üste al */
        gap: 40px;
        text-align: center;
    }

    .info-text {
        text-align: center;
    }

    .info-text h2 {
        font-size: 2rem !important;
    }
}