/* ==========================================================================
   1. RENK PALETİ VE TEMEL STİLLER
   ========================================================================== */

:root {
    --koyu-zemin: #0A192F;
    --koyu-kart: #172a45;
    --acik-metin: #CCD6F6;
    --beyaz-baslik: #FFFFFF;
    --vurgu-renk: #64FFDA;
    --font-aile: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-aile);
    background-color: var(--koyu-zemin);
    color: var(--acik-metin);
    line-height: 1.7;
    font-size: 16px;
}
.container { max-width: 1000px; margin: 0 auto; padding: 0 30px; position: relative; z-index: 2; }
h1, h2, h3 { color: var(--beyaz-baslik); line-height: 1.3; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: 2.5rem; margin-bottom: 3rem; text-align: center; }
h3 { font-size: 1.5rem; color: var(--beyaz-baslik); margin-bottom: 1rem; transition: color 0.3s ease; }
section { padding: 100px 0; }

/* ==========================================================================
   2. HEADER VE NAVİGASYON
   ========================================================================== */

header {
    background-color: rgba(10, 25, 47, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
    z-index: 100;
}
nav { display: flex; justify-content: space-between; align-items: center; height: 70px; max-width: 1000px; margin: 0 auto; padding: 0 30px; }
nav .logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--vurgu-renk);
    text-decoration: none;
}
nav ul { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; }
nav ul li { margin-left: 20px; }
nav ul li a { text-decoration: none; color: var(--acik-metin); padding: 10px; font-weight: 700; transition: all 0.3s ease; }
nav ul li a:hover { color: var(--vurgu-renk); }

.lang-switcher {
    border: 1px solid rgba(100, 255, 218, 0.5);
    border-radius: 4px;
    padding: 6px 12px !important;
}
.lang-switcher:hover {
    background-color: rgba(100, 255, 218, 0.1);
    border-color: rgba(100, 255, 218, 1);
}

/* ==========================================================================
   3. BÖLÜMLER
   ========================================================================== */

#giris {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 70px;
    position: relative;
    overflow: hidden;
    text-align: center;
}
#giris .container { position: relative; z-index: 10; max-width: 800px; }
#giris h1 { margin-bottom: 20px; }
#giris .subtitle { font-size: 1.2rem; max-width: 600px; margin: 0 auto 40px auto; line-height: 1.6; opacity: 0.9; }
.cta-button { display: inline-block; background-color: transparent; border: 2px solid var(--vurgu-renk); color: var(--vurgu-renk); padding: 15px 30px; text-decoration: none; border-radius: 5px; font-weight: 700; font-size: 1rem; transition: background-color 0.3s ease, color 0.3s ease; }
.cta-button:hover { background-color: var(--vurgu-renk); color: var(--koyu-zemin); }
.hakkimda-metni { max-width: 750px; margin: 0 auto; text-align: center; font-size: 1.1rem; }
.proje-karti { background-color: var(--koyu-kart); padding: 30px; margin-bottom: 25px; border-radius: 8px; transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid #1f3d63; }
.proje-karti:hover { transform: translateY(-8px); box-shadow: 0 10px 30px -15px rgba(2,12,27,0.7); }
.proje-karti:hover h3 { color: var(--vurgu-renk); }
.etiketler { margin-top: 20px; }
.etiketler span { display: inline-block; background-color: rgba(100, 255, 218, 0.1); color: var(--vurgu-renk); font-weight: 700; padding: 5px 12px; border-radius: 15px; font-size: 0.8rem; margin-right: 10px; margin-bottom: 10px; }
#iletisim { text-align: center; }
#iletisim p { max-width: 600px; margin: 0 auto 20px auto; }
.email a { color: var(--vurgu-renk); text-decoration: none; font-size: 1.2rem; font-weight: 700; transition: letter-spacing 0.3s ease; }
.email a:hover { letter-spacing: 1px; }
.social-links { margin-top: 30px; display: flex; justify-content: center; gap: 25px; }
.social-links a { color: var(--acik-metin); transition: all 0.3s ease; }
.social-links a:hover { color: var(--vurgu-renk); transform: translateY(-5px); }
.social-links svg { width: 30px; height: 30px; }

/* ==========================================================================
   4. FOOTER VE AŞAĞI KAYDIRMA OKU
   ========================================================================== */

footer { text-align: center; padding: 30px; color: #8892b0; }
.scroll-down-arrow { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); width: 30px; height: 50px; cursor: pointer; z-index: 3; }
.scroll-down-arrow::before { content: ''; position: absolute; top: 10px; left: 50%; width: 20px; height: 20px; border-left: 3px solid var(--vurgu-renk); border-bottom: 3px solid var(--vurgu-renk); transform: translateX(-50%) rotate(-45deg); opacity: 0.6; }
.scroll-down-arrow { animation: bounce 2s infinite; }
@keyframes bounce { 0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); } 40% { transform: translateX(-50%) translateY(10px); } 60% { transform: translateX(-50%) translateY(5px); } }

/* ==========================================================================
   5. ARKA PLAN ANİMASYONLARI (Sinyal Noktaları ve Tarama Çizgisi)
   ========================================================================== */
.pulsating-nodes-background {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    background-image: 
        linear-gradient(rgba(100, 255, 218, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(100, 255, 218, 0.07) 1px, transparent 1px);
    background-size: 50px 50px;
}

.node {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: var(--vurgu-renk);
    border-radius: 50%;
    opacity: 0.1;
    animation: pulse 4s infinite;
}
.node:nth-child(1) { top: 20%; left: 25%; animation-delay: 0s; }
.node:nth-child(2) { top: 50%; left: 70%; animation-delay: -2s; }
.node:nth-child(3) { top: 80%; left: 15%; animation-delay: -3s; }
.node:nth-child(4) { top: 30%; left: 85%; animation-delay: -1s; }

@keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(100, 255, 218, 0.3); opacity: 0.2; }
    50% { transform: scale(1.5); box-shadow: 0 0 10px 15px rgba(100, 255, 218, 0); opacity: 0.5; }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(100, 255, 218, 0); opacity: 0.2; }
}

.pulsating-nodes-background::before {
    content: '';
    position: absolute;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(100, 255, 218, 0), 
        rgba(100, 255, 218, 0.5) 50%, 
        rgba(100, 255, 218, 0));
    animation: scan-line 10s linear infinite;
    animation-delay: -5s;
}

@keyframes scan-line {
    0% { transform: translateX(-10vw); }
    100% { transform: translateX(110vw); }
}

/* ==========================================================================
   6. MOBİL UYUMLULUK
   ========================================================================== */
@media (max-width: 768px) {
    body { font-size: 15px; }
    .container { padding: 0 20px; }
    nav { flex-direction: column; height: auto; padding: 15px; gap: 10px; }
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.8rem; }
    #giris .subtitle { font-size: 1rem; }
    nav ul li { margin-left: 15px; }

    .node:nth-child(1) { top: 15%; left: 10%; }
    .node:nth-child(2) { top: 40%; left: 80%; }
    .node:nth-child(3) { top: 75%; left: 20%; }
    .node:nth-child(4) { display: none; }
    
    .pulsating-nodes-background::before {
        animation-duration: 15s;
    }
}