/* =================================================================== */
/* === SİTE TASARIMI V2.2 - TAM, EKSİKSİZ ve DÜZELTİLMİŞ NİHAİ SÜRÜM === */
/* =================================================================== */

:root {
    --background: #010409;
    --surface: #0d1117;
    --primary-text: #e6edf3;
    --secondary-text: #8b949e;
    --accent: #2f81f7;
    --accent-glow: rgba(47, 129, 247, 0.6);
    --border-color: #21262d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background);
    color: var(--primary-text);
    line-height: 1.7;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at 20% 20%, var(--accent-glow) 0%, transparent 25%),
                radial-gradient(circle at 80% 70%, #3a36997a 0%, transparent 25%);
    filter: blur(100px);
    z-index: -1;
    animation: moveAurora 20s infinite alternate;
}

@keyframes moveAurora {
    from { transform: rotate(0deg) scale(1.2); }
    to { transform: rotate(360deg) scale(1.5); }
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    text-decoration: none;
    color: var(--accent);
    transition: color 0.3s ease;
}

a:hover {
    color: #58a6ff;
}

h1, h2, h3, h4 {
    font-weight: 600;
}

/* PRELOADER */
.preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--background); z-index: 9999; display: flex; justify-content: center; align-items: center; transition: opacity 0.6s ease, visibility 0.6s ease; }
.preloader.fade-out { opacity: 0; visibility: hidden; }
.spinner { width: 48px; height: 48px; border-radius: 50%; position: relative; animation: rotate 1.2s linear infinite; }
.spinner::before { content: ""; box-sizing: border-box; position: absolute; inset: 0px; border-radius: 50%; border: 5px solid var(--border-color); animation: prixClipFix 2s linear infinite; }
@keyframes rotate { 100% { transform: rotate(360deg); } }
@keyframes prixClipFix { 0% { clip-path: polygon(50% 50%, 0 0, 0 0, 0 0, 0 0, 0 0); } 25% { clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 0, 100% 0, 100% 0); } 50% { clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 100% 100%, 100% 100%); } 75% { clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 100%); } 100% { clip-path: polygon(50% 50%, 0 0, 100% 0, 100% 100%, 0 100%, 0 0); } }

/* HEADER */
header { background-color: rgba(1, 4, 9, 0.7); padding: 1rem 0; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(12px); }
header .container { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; color: var(--primary-text); }

/* MASAÜSTÜ MENÜ */
.desktop-nav { display: none; }
@media (min-width: 769px) { .desktop-nav { display: block; } }
.desktop-nav ul { list-style: none; display: flex; gap: 2rem; }
.desktop-nav ul li a { color: var(--primary-text); font-weight: 600; position: relative; padding-bottom: 5px; }
.desktop-nav ul li a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.3s ease; }
.desktop-nav ul li a:hover::after { width: 100%; }

/* HAMBURGER MENÜ & MOBİL NAV */
.hamburger-menu { display: flex; flex-direction: column; justify-content: space-around; width: 24px; height: 24px; background: transparent; border: none; cursor: pointer; z-index: 1001; }
.hamburger-menu .bar { display: block; width: 24px; height: 2px; background-color: var(--primary-text); border-radius: 2px; transition: all 0.3s ease-in-out; }
@media (min-width: 769px) { .hamburger-menu { display: none; } }

.mobile-nav { display: flex; position: fixed; top: 0; left: 100%; width: 100%; height: 100vh; background: rgba(1, 4, 9, 0.8); backdrop-filter: blur(15px); z-index: 1000; transition: left 0.4s ease-in-out; }
.mobile-nav.active { left: 0; }
.mobile-nav ul { list-style: none; margin: auto; text-align: center; }
.mobile-nav ul li { margin: 2.5rem 0; opacity: 0; transform: translateY(20px); transition: opacity 0.4s ease, transform 0.4s ease; }
.mobile-nav.active ul li { opacity: 1; transform: translateY(0); }
.mobile-nav.active ul li:nth-child(1) { transition-delay: 0.2s; }
.mobile-nav.active ul li:nth-child(2) { transition-delay: 0.3s; }
.mobile-nav.active ul li:nth-child(3) { transition-delay: 0.4s; }
.mobile-nav.active ul li:nth-child(4) { transition-delay: 0.5s; }
.mobile-nav.active ul li:nth-child(5) { transition-delay: 0.6s; }
.mobile-nav ul li a { color: var(--primary-text); font-size: 2rem; font-weight: 600; }
.hamburger-menu.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger-menu.active .bar:nth-child(2) { opacity: 0; }
.hamburger-menu.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* FOOTER */
footer { background-color: var(--background); color: var(--secondary-text); padding-top: 5rem; margin-top: 5rem; border-top: 1px solid var(--border-color); }
.footer-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 2rem; border-bottom: 1px solid var(--border-color); margin-bottom: 2rem; }
.footer-logo { font-size: 1.8rem; font-weight: 800; color: var(--primary-text); }
.footer-socials { display: flex; gap: 1rem; }
.footer-socials a { color: var(--secondary-text); font-size: 1.2rem; width: 40px; height: 40px; display: flex; justify-content: center; align-items: center; border: 1px solid var(--border-color); border-radius: 50%; transition: all 0.3s ease; }
.footer-socials a:hover { color: #fff; background-color: var(--accent); border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 0 15px var(--accent-glow); }
.footer-main { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2.5rem; padding-bottom: 3rem; }
.footer-col h4 { color: var(--primary-text); font-size: 1.2rem; margin-bottom: 1.5rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a { color: var(--secondary-text); position: relative; padding-left: 15px; }
.footer-col ul li a::before { content: '›'; position: absolute; left: 0; opacity: 0; transition: all 0.3s ease; }
.footer-col ul li a:hover { color: var(--accent); padding-left: 20px; }
.footer-col ul li a:hover::before { opacity: 1; left: 5px; }
.footer-col p { display: flex; align-items: flex-start; gap: 10px; }
.footer-col p i { color: var(--accent); margin-top: 5px; }
.footer-bottom { border-top: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; padding: 1.5rem 0; font-size: 0.9rem; }
@media (max-width: 768px) { .footer-top, .footer-bottom { flex-direction: column; text-align: center; gap: 1.5rem; } }

/* GENEL BÖLÜMLER */
.section-padding { padding: 5rem 0; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 4rem; color: var(--primary-text); }
@media (max-width: 768px) { .section-title { font-size: 2rem; } }