/* style.css - High Performance Style Engine */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;600&display=swap');

:root {
    --bg-dark: #050505;
    --bg-card: #0f0f0f;
    --bg-card-hover: #141414;
    --primary: #3b82f6; /* Electric Blue */
    --accent: #8b5cf6; /* Violet */
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --border: rgba(255, 255, 255, 0.08);
    --glass: rgba(255, 255, 255, 0.03);
    --grid-gap: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; cursor: none; /* Custom cursor için */ }

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 50% 0%, rgba(59, 130, 246, 0.15) 0%, transparent 50%);
    min-height: 100vh;
}

/* --- CUSTOM CURSOR --- */
.cursor-dot, .cursor-outline {
    position: fixed; top: 0; left: 0; transform: translate(-50%, -50%);
    border-radius: 50%; z-index: 9999; pointer-events: none;
}
.cursor-dot { width: 8px; height: 8px; background: var(--primary); }
.cursor-outline { width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, 0.5); transition: width 0.2s, height 0.2s, background-color 0.2s; }
body:hover .cursor-outline { width: 50px; height: 50px; }

/* --- NAVIGATION (FLOATING DOCK STYLE) --- */
.nav-container {
    position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
    background: rgba(15, 15, 15, 0.8); backdrop-filter: blur(12px);
    padding: 12px 24px; border-radius: 24px; border: 1px solid var(--border);
    display: flex; gap: 30px; z-index: 1000; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.nav-link {
    color: var(--text-muted); text-decoration: none; font-weight: 500; font-size: 0.9rem;
    position: relative; transition: 0.3s;
}
.nav-link:hover, .nav-link.active { color: var(--text-main); }
.nav-link.active::after {
    content: ''; position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%);
    width: 4px; height: 4px; background: var(--primary); border-radius: 50%;
}

/* --- LAYOUTS --- */
.container { max-width: 1100px; margin: 0 auto; padding: 120px 20px 100px; }

/* Grid Layout for Home/Bento */
.bento-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, auto);
    gap: var(--grid-gap);
}

.card {
    background: var(--bg-card); border: 1px solid var(--border); border-radius: 24px;
    padding: 30px; position: relative; overflow: hidden; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex; flex-direction: column; justify-content: space-between;
}
.card:hover {
    transform: translateY(-5px); border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px -10px rgba(0,0,0,0.5); background: var(--bg-card-hover);
}

/* Card Spans */
.span-2 { grid-column: span 2; }
.span-4 { grid-column: span 4; }
.row-2 { grid-row: span 2; }

/* Typography */
h1 { font-family: 'Space Grotesk', sans-serif; font-size: 3.5rem; line-height: 1.1; letter-spacing: -0.03em; }
h1 span { background: linear-gradient(to right, var(--primary), var(--accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
h2 { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; margin-bottom: 20px; }
p { color: var(--text-muted); line-height: 1.7; font-size: 1.05rem; }

/* Specific Modules */
.tech-stack { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 15px; }
.tech-tag {
    font-size: 0.75rem; padding: 6px 12px; background: rgba(255,255,255,0.05);
    border-radius: 20px; color: #fff; border: 1px solid transparent;
}
.card:hover .tech-tag { border-color: var(--primary); }

.project-img-wrapper {
    width: 100%; height: 200px; background: #222; border-radius: 12px; margin-bottom: 20px;
    overflow: hidden; position: relative;
}
.project-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.card:hover .project-img-wrapper img { transform: scale(1.1); }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 10px; padding: 12px 24px;
    background: var(--text-main); color: #000; text-decoration: none; font-weight: 600;
    border-radius: 12px; margin-top: 20px; transition: 0.3s;
}
.btn:hover { transform: scale(1.05); background: var(--primary); color: #fff; }

/* Terminal Effect */
.terminal { background: #000; padding: 20px; border-radius: 12px; font-family: 'Courier New', monospace; font-size: 0.9rem; color: #0f0; border: 1px solid #333; }
.cursor-blink { animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Mobile */
@media (max-width: 768px) {
    .bento-grid { grid-template-columns: 1fr; }
    .span-2, .span-4 { grid-column: span 1; }
    h1 { font-size: 2.5rem; }
    .nav-container { width: 90%; justify-content: space-around; }
}