/* ====================================================== */
/* Ana Stiller ve Değişkenler */
/* ====================================================== */
:root {
    --primary-color: #0d47a1;
    --secondary-color: #F0F0F0;
    --text-dark: #1a1a1a;
    --text-light: #f1f1f1;
    --bg-dark: #0d1117;
    --bg-card: #161b22;
}

/* Genel ve Tipografi Ayarları */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--bg-dark);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
/* Dil Değiştirici Butonları İçin Stiller */
.language-switcher {
display: flex;
align-items: center;
gap: 8px;
margin-left: 20px;
}

.lang-button {
font-size: 14px;
font-weight: 600;
color: #4a5568;
background-color: #f7fafc;
border: 1px solid #e2e8f0;
padding: 6px 12px;
border-radius: 9999px; /* Tailwind'in rounded-full karşılığı */
transition: all 0.2s ease-in-out;
text-transform: uppercase;
text-decoration: none;
cursor: pointer;
}

.lang-button:hover {
background-color: #edf2f7;
border-color: #cbd5e0;
}

.lang-button.active-lang {
background-color: #4c6ef5; /* Aktif buton için belirgin bir renk */
color: #ffffff;
border-color: #4c6ef5;
transform: scale(1.05);
}

.lang-button.active-lang:hover {
background-color: #4263eb;
border-color: #4263eb;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #fff;
}

p {
    margin-bottom: 1rem;
}

.highlight {
    color: var(--primary-color);
}

/* ====================================================== */
/* Buton Stilleri */
/* ====================================================== */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
}

/* ====================================================== */
/* Header ve Navigasyon */
/* ====================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 17, 23, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.navbar {
    padding: 16px 0;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative; /* Menü konumlandırması için gereklidir */
}

.logo-text h1 {
    font-size: 1.8rem;
    margin: 0;
    color: #fff;
}

.logo-text p {
    font-size: 0.9rem;
    color: #9ca3af;
    margin: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    height: 50px;
    width: auto;
    border-radius: 8px;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}

.logo-img:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.mobile-menu-btn {
    display: none; /* Masaüstünde gizli */
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
}

.mobile-menu-btn span {
    width: 100%;
    height: 2px;
    background: var(--text-light);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ====================================================== */
/* Genel Bölüm Stilleri */
/* ====================================================== */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: #9e9e9e;
    max-width: 600px;
    margin: 0 auto;
}

/* ====================================================== */
/* Sayfa Hero */
/* ====================================================== */
.page-hero {
    padding: 140px 0 80px;
    background: #111;
    color: white;
    text-align: center;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-description {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ====================================================== */
/* İletişim (Contact) Bölümü */
/* ====================================================== */
.contact-section {
    padding: 6rem 0;
    background: var(--bg-dark);
    color: var(--text-light);
}

.contact-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex: 1 1 250px;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.contact-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: #b0b0b0;
}

.contact-cta {
    margin-top: 2rem;
    text-align: center;
}

/* ====================================================== */
/* Footer Ayarları */
/* ====================================================== */
.footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 80px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
    text-align: left;
}

.footer-section h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-description {
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links li i {
    color: var(--primary-color);
}

.footer-links a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.contact-links {
    list-style: none;
    padding: 0;
}

.contact-links li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #d1d5db;
}

.contact-links li i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-links li span {
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid #1f2937;
    padding: 32px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9rem;
    color: #9ca3af;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* ====================================================== */
/* Animasyonlar */
/* ====================================================== */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scale-in {
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* ====================================================== */
/* Responsive Design (Düzeltilmiş ve Temizlenmiş) */
/* ====================================================== */

/* Masaüstü Navigasyon (varsayılan) */
.nav-menu {
    display: flex; /* Masaüstünde her zaman gösterilir */
    transition: none; /* Animasyonları kapatır */
    transform: none;
    opacity: 1;
}

.mobile-menu-btn {
    display: none; /* Masaüstünde her zaman gizli */
}

/* 768px ve altı için Mobil Navigasyon */
@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Menü varsayılan olarak gizlenir */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--bg-card);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
        padding: 20px;
        gap: 16px;
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        transform: translateY(-10px);
        opacity: 0;
    }

    .nav-menu.active {
        display: flex; /* JS ile .active sınıfı eklendiğinde görünür */
        transform: translateY(0);
        opacity: 1;
    }

    .nav-link {
        color: var(--text-light);
        text-align: center;
        padding: 12px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .nav-menu .btn-primary {
        margin-top: 10px;
        align-self: center;
        width: 80%;
    }

    .mobile-menu-btn {
        display: flex; /* Sadece mobil görünümde gösterilir */
    }

    .logo-text h1 {
        font-size: 1.5rem;
    }

    .page-title {
        font-size: 3rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-links {
        flex-direction: column;
        gap: 12px;
    }

    .contact-cards-container {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        width: 100%;
        max-width: 400px;
    }
}