/* === Temel Ayarlar ve Renkler === */
:root {
    --bg-color: #000000;
    --text-color: #f0f0f0;
    --text-color-dark: #a0a0a0;
    --accent-color: #b28a46;

    /* "Arkadan Parlayan" Neon Işık (WOW Efekti) */
    --neon-glow-color: rgba(178, 142, 70, 0.4);
    --neon-glow-color-strong: rgba(178, 142, 70, 0.7);
    --neon-border-color: rgba(178, 142, 70, 0.3);

    /* "Camsı" Arka Plan */
    --glass-bg: rgba(10, 10, 10, 0.4);
    --glass-bg-hover: rgba(10, 10, 10, 0.6);

    /* Yazı Tipleri */
    --font-heading: 'Exo 2', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden; /* Yatay kaydırmayı engelle */
    /* İmleci gizle, çünkü kendi ışığımızı kullanacağız (isteğe bağlı) */
    /* cursor: none; */
}

html {
    scroll-padding-top: 80px; /* Sabit header için kaydırma boşluğu */
}

/* === Dinamik İmleç Işığı (ANA WOW EFEKTİ) === */
#cursor-light {
    position: fixed;
    top: 0;
    left: 0;
    width: 1200px; /* Geniş bir alanı kaplar */
    height: 1200px;
    border-radius: 50%;
    /* İmlecin tam ortasında olması için */
    transform: translate(-50%, -50%);
    /* Işığın kendisi: Çok yumuşak, #b28a46 renginde */
    background: radial-gradient(
            600px at 50% 50%,
            rgba(178, 142, 70, 0.08), /* Işığın merkezi */
            transparent 80% /* Kenarlara doğru tamamen şeffaf */
    );
    z-index: -1; /* Her şeyin arkasında */
    pointer-events: none; /* Üzerine tıklanmasını engelle */
    transition: background 0.1s ease-out; /* Hızlı tepki için */
}


/* === Yardımcı Sınıflar === */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem 2rem;
    position: relative; /* Animasyonlar için */
}

.full-height {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

h1 { font-size: 4rem; }
h2 { font-size: 2.5rem; text-align: center; }
h3 { font-size: 1.4rem; color: var(--accent-color); }
p { font-size: 1.1rem; max-width: 750px; margin: 0 auto 1.5rem auto; text-align: center; color: var(--text-color-dark); }

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #fff;
}

/* === Yeniden Tasarlanan "Neon-Glass" Kart Efekti === */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--neon-border-color);
    border-radius: 15px;
    padding: 2.5rem;

    /* "ARKADAN PARLAMA" EFEKTİ */
    /* Bu gölge, imleç ışığıyla (#cursor-light) birleşecek */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5), /* Derinlik için koyu gölge */
    0 0 30px var(--neon-glow-color); /* Neon parlama */

    transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    background: var(--glass-bg-hover);
    border-color: rgba(178, 142, 70, 0.5);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3),
    0 0 45px var(--neon-glow-color-strong);
}

.content-card {
    padding: 3rem 4rem;
}


/* === Header / Navbar === */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--neon-border-color);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

nav .logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 0 10px var(--neon-glow-color-strong);
}

nav .nav-links {
    display: flex;
    list-style: none;
}
nav .nav-links li { margin-left: 2rem; }
nav .nav-links a {
    font-weight: 600;
    color: var(--text-color);
    padding: 0.5rem 0;
    position: relative;
}
nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
    transition: width 0.3s ease;
}
nav .nav-links a:hover::after,
nav .nav-links a:focus::after {
    width: 100%;
}

/* Dil Değiştirici (Stil aynı, güzel çalışıyor) */
.lang-switcher button {
    background: none; border: none; color: var(--text-color); cursor: pointer;
    font-size: 1rem; font-weight: 600; padding: 0.2rem 0.5rem; margin-left: 0.5rem;
    border: 1px solid transparent; transition: all 0.3s ease;
}
.lang-switcher button:hover { color: var(--accent-color); }
.lang-switcher button.active {
    color: var(--accent-color); border-color: var(--accent-color);
    box-shadow: 0 0 8px var(--neon-glow-color); border-radius: 5px;
}
.mobile-nav-toggle { display: none; }
.mobile-menu { display: none; }


/* === Bölüm 1: Hero === */
#hero { text-align: center; }
.neon-title {
    font-size: 5rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 0 10px #fff,
    0 0 20px var(--accent-color),
    0 0 40px var(--neon-glow-color-strong);
    margin-bottom: 1rem;
}
.hero-subtitle {
    font-size: 1.5rem;
    color: #ccc;
    font-weight: 300;
    min-height: 2.5rem; /* Yazı değişirken zıplamasın */
}
.hero-subtitle .cursor {
    display: inline-block;
    width: 2px;
    height: 1.5rem;
    background: var(--accent-color);
    margin-left: 5px;
    animation: blink 1s infinite;
    box-shadow: 0 0 10px var(--accent-color);
    vertical-align: middle;
}
@keyframes blink { 50% { opacity: 0; } }

.scroll-down {
    position: absolute; bottom: 30px; font-size: 1.5rem;
    color: var(--text-color); animation: bounce 2s infinite;
}
.scroll-down:hover { color: var(--accent-color); }
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-15px); }
    60% { transform: translateY(-10px); }
}

/* === Bölüm 3: Yol Haritam (Yeni Bölüm) === */
.timeline-container {
    position: relative;
    max-width: 800px;
    margin: 3rem auto 0;
}
/* Neon Merkez Çizgisi */
.timeline-container::after {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--accent-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    box-shadow: 0 0 15px var(--neon-glow-color-strong);
    z-index: -1;
    opacity: 0.3;
}
.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
}
.timeline-item:nth-child(odd) { left: 0; }
.timeline-item:nth-child(even) { left: 50%; }
/* Çizgideki Neon Daireler */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: -10px;
    background-color: var(--bg-color);
    border: 4px solid var(--accent-color);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 20px var(--neon-glow-color-strong);
}
.timeline-item:nth-child(even)::after { left: -10px; }
.timeline-content {
    text-align: left;
}
.timeline-content h3 { margin-top: 0; }
.timeline-content p { text-align: left; margin-bottom: 0; font-size: 1rem; }
.timeline-date {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    display: block;
}

/* === Bölüm 4: Yetenekler (İnteraktif 3D Kartlar) === */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}
.skill-card {
    padding: 2.5rem;
    text-align: center;
    border-radius: 15px;
    /* 3D Efekt için temel */
    transform-style: preserve-3d;
    transform: perspective(1000px);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}
.skill-card h3 {
    margin: 0;
    color: var(--text-color);
    font-size: 1.5rem;
    /* 3D Efekt için */
    transform: translateZ(20px);
}
.skill-card img {
    background: #fff;
    padding: 5px;
    border-radius: 15px;
}
.skill-card:hover {
    /* Hafifçe yükselme */
    transform: perspective(1000px) scale(1.05) translateZ(10px);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5),
    0 0 60px var(--neon-glow-color-strong);
}

/* === Bölüm 5: CodeAtlantis & Projeler === */
.company-logo {
    max-width: 250px;
    margin-bottom: 1.5rem;
}
.call-to-action { text-align: center; }
.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap; /* Mobilde alt alta gelsin */
}
/* Parlayan Buton Efekti */
.cta-button {
    display: inline-block;
    background-color: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    padding: 0.9rem 2.8rem;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden; /* Parlama efekti için */
    z-index: 1;
}
.cta-button::before { /* Parlama (Shine) efekti */
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(178, 142, 70, 0.4), transparent);
    transition: left 0.4s ease;
    z-index: -1;
}
.cta-button:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
    box-shadow: 0 0 25px var(--neon-glow-color-strong);
    transform: translateY(-3px);
}
.cta-button:hover::before {
    left: 100%;
}
.cta-button-large {
    font-size: 1.3rem;
    padding: 1.2rem 3.5rem;
    margin-top: 2rem;
}

/* === Bölüm 6: İletişim === */
.social-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3.5rem;
}
.social-links a {
    font-size: 2.5rem;
    color: var(--text-color-dark);
    transition: all 0.3s ease;
}
.social-links a:hover {
    color: var(--accent-color);
    transform: scale(1.1) translateY(-5px);
    text-shadow: 0 0 15px var(--neon-glow-color-strong);
}

/* === Footer === */
footer {
    text-align: center;
    padding: 3rem 2rem 2rem 2rem;
    border-top: 1px solid var(--neon-border-color);
    margin-top: 4rem;
    color: #888;
    font-size: 0.9rem;
}

/* === Scroll Animasyonları (Dinamik Etki) === */
.reveal-fade {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal-fade.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === Mobil Uyumluluk === */
@media (max-width: 992px) {
    /* Timeline'ı dikey yap */
    .timeline-container::after { left: 30px; }
    .timeline-item { width: 100%; padding-left: 70px; padding-right: 25px; }
    .timeline-item:nth-child(even) { left: 0; }
    .timeline-item::after { left: 20px; }
}

@media (max-width: 768px) {
    h1 { font-size: 3rem; }
    .neon-title { font-size: 3.2rem; }
    h2 { font-size: 2rem; }
    p { font-size: 1rem; }
    .content-card { padding: 2rem 1.5rem; }

    nav .nav-links { display: none; }
    nav .lang-switcher { display: none; } /* Mobil menüye taşıyabiliriz, şimdilik gizli */
    nav { padding: 1rem; }
    .mobile-nav-toggle {
        display: block; background: none; border: none;
        color: var(--text-color); font-size: 1.8rem; cursor: pointer; z-index: 1002;
    }
    .mobile-menu {
        display: flex; /* Aktif olduğunda flex olacak */
        position: fixed; top: 80px; left: 0; width: 100%;
        height: calc(100vh - 80px); background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(20px); z-index: 999;
        flex-direction: column; justify-content: center; align-items: center;
        gap: 2.5rem; transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }
    .mobile-menu.active { transform: translateX(0); }
    .mobile-menu a { font-size: 2rem; color: var(--text-color); }
    .mobile-menu a:hover { color: var(--accent-color); }

    /* İmleç ışığı mobilde çalışmayacağı için gizle */
    #cursor-light { display: none; }
}