/* --- Global Değişkenler & Mat Tasarım Ayarları --- */
:root {
    --bg-main: #040812;
    --neon-cyan: #00f3ff;
    --neon-glow: rgba(0, 243, 255, 0.25);
    --text-white: #f8fafc;
    --text-gray: #94a3b8;
    --font-mono: 'Space Mono', monospace;
    --font-sans: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--bg-main);
}

body {
    color: var(--text-white);
    font-family: var(--font-sans);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Sitenin siber estetiğine uygun özelleştirilmiş scroll bar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: rgba(0, 243, 255, 0.15);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-cyan);
}

/* --- Tam Ekran Akışkan Arka Plan Gerçekleştirmesi --- */
#digital-ocean-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* --- Navigasyon Çubuğu --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5vw;
    background: rgba(4, 8, 18, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    z-index: 100;
}

.nav-logo {
    font-family: var(--font-mono);
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--text-white);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-size: 0.85rem;
    font-family: var(--font-mono);
    font-weight: 600;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px var(--neon-glow);
}

/* --- Dinamik Kapsayıcı (Esnek & Zoom Korumalı) --- */
.container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5vw;
    display: flex;
    flex-direction: column;
}

.section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 0;
}

/* --- Giriş Ekranı (Hero) --- */
.hero {
    align-items: center;
    text-align: center;
}

.logo-viewport-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-wrapper {
    margin-bottom: 2.5rem;
    max-width: 340px; /* Akışkan büyük logo boyutu */
    width: 60vw;
}

.main-logo {
    width: 100%;
    height: auto;
    filter: invert(1) drop-shadow(0 0 20px rgba(0, 243, 255, 0.15));
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.main-logo:hover {
    transform: scale(1.03) rotate(1deg);
    filter: invert(1) drop-shadow(0 0 35px rgba(0, 243, 255, 0.4));
}

.brand-name {
    font-family: var(--font-mono);
    font-size: clamp(2.2rem, 6vw, 4rem);
    letter-spacing: 0.5rem;
    margin-bottom: 1.2rem;
    font-weight: 700;
}

.terminal-text {
    font-family: var(--font-mono);
    color: var(--neon-cyan);
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    letter-spacing: 1px;
}

.cursor {
    animation: blink 1s step-end infinite;
}

/* --- Hakkımızda Bölümü Grid Mimarisi --- */
.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-mono);
    font-size: clamp(1.4rem, 4vw, 1.8rem);
    color: var(--text-white);
    margin-bottom: 0.8rem;
    letter-spacing: 2px;
}

.line {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, var(--neon-cyan), transparent);
}

/* Masaüstünde 1:1 kusursuz yan yana düzen, mobilde tek sütun */
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3.5rem;
    width: 100%;
}

/* --- HUD Kutuları ve Mikro Etkileşimler --- */
.content-box {
    position: relative;
    background: rgba(6, 11, 22, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 3.5rem 2.5rem;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), 
                border-color 0.4s ease, 
                box-shadow 0.4s ease;
}

.content-box:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 243, 255, 0.25);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(0, 243, 255, 0.03);
}

.box-title {
    font-family: var(--font-mono);
    font-size: 1.3rem;
    color: var(--neon-cyan);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.content-box p {
    font-size: 1.02rem;
    line-height: 1.8;
    color: var(--text-gray);
    text-align: justify;
}

/* HUD Hedefleme Çizgileri */
.corner {
    position: absolute;
    width: 16px;
    height: 16px;
    border-color: var(--neon-cyan);
    border-style: solid;
    opacity: 0.3;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.top-left { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.top-right { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.bottom-left { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.bottom-right { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.content-box:hover .corner {
    width: 28px;
    height: 28px;
    opacity: 1;
    box-shadow: 0 0 10px var(--neon-cyan);
}

/* --- Sayfa Sonu --- */
footer {
    padding: 4rem 0 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

footer p {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
}

/* --- Sistem Animasyon Tetikleyicileri --- */
@keyframes blink { 50% { opacity: 0; } }
.fade-in { opacity: 0; transform: translateY(40px); transition: all 1.2s cubic-bezier(0.25, 1, 0.5, 1); }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- Ekran Boyutu Değişim Koruması (Responsive) --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .navbar { justify-content: center; }
    .about-grid { gap: 2rem; }
    .content-box { padding: 2.5rem 1.8rem; }
}