:root {
    --primary-color: #ff6b6b;
    --secondary-color: #4ecdc4;
    --accent-color: #45b7d1;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-card: #1e1e1e;
    --border-color: #333333;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navigation */
.navbar {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

    .navbar.scrolled {
        background: rgba(10, 10, 10, 0.98);
        box-shadow: var(--shadow);
    }

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    margin: 0 1rem;
    transition: all 0.3s ease;
    position: relative;
}

    .nav-link:hover {
        color: var(--primary-color) !important;
    }

    .nav-link::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--primary-color);
        transition: width 0.3s ease;
    }

    .nav-link:hover::after {
        width: 100%;
    }

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Menü yüksekliği kadar boşluk */
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 80%, rgba(255, 107, 107, 0.1) 0%, transparent 50%), radial-gradient(circle at 80% 20%, rgba(78, 205, 196, 0.1) 0%, transparent 50%);
        z-index: 1;
    }

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.hero-section .name-highlight {
    color: var(--primary-color);
    position: relative;
}

    .hero-section .name-highlight::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 3px;
        background: var(--primary-color);
        animation: underline 2s ease-in-out;
    }

@keyframes underline {
    0% {
        width: 0;
    }

    100% {
        width: 100%;
    }
}

.hero-section .lead {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-section .subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
}

/* Section Titles */
.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-primary);
    position: relative;
    padding-top: 100px; /* Menü yüksekliği kadar boşluk */
    margin-top: -100px; /* Negatif margin ile görsel boşluğu düzelt */
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 3px;
        background: var(--primary-color);
        border-radius: 2px;
    }

/* Cards */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    overflow: hidden;
}

    .card:hover {
        transform: translateY(-5px);
        box-shadow: var(--shadow);
        border-color: var(--primary-color);
    }

.card-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 600;
    padding: 1.5rem;
}

.card-body {
    padding: 2rem;
    color: var(--text-secondary);
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    padding: 12px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

    .btn-primary:hover {
        background: #ff5252;
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    }

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 8px;
    padding: 10px 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

    .btn-outline:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
    }

/* Project Filters */
.filter-btn {
    margin: 0 6px 10px;
}

    .filter-btn.active {
        background: var(--primary-color);
        color: #fff;
        border-color: var(--primary-color);
    }

/* Project filter visibility (class-based) */
.project-item.hidden {
    display: none;
}

/* Social Links */
.social-links a {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    color: var(--text-secondary);
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    margin: 0 10px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

    .social-links a:hover {
        background: var(--primary-color);
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
    }

/* Skill Bars */
.skill-bar {
    background: var(--bg-secondary);
    border-radius: 10px;
    height: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.skill-progress {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    height: 100%;
    border-radius: 10px;
    transition: width 1.5s ease;
}

/* Stats */
.stats-item {
    text-align: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

    .stats-item:hover {
        transform: translateY(-5px);
        border-color: var(--primary-color);
    }

.stats-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stats-item p {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Forms */
.form-control {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    padding: 12px 15px;
    transition: all 0.3s ease;
}

    .form-control:focus {
        background: var(--bg-card);
        border-color: var(--primary-color);
        box-shadow: 0 0 0 0.2rem rgba(255, 107, 107, 0.25);
        color: var(--text-primary);
    }

    .form-control::placeholder {
        color: var(--text-muted);
    }

.form-label {
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 8px;
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

    .footer h5 {
        color: var(--text-primary);
        margin-bottom: 1rem;
    }

    .footer p {
        color: var(--text-secondary);
        line-height: 1.8;
    }

    .footer .social-links a {
        width: 50px;
        height: 50px;
        line-height: 50px;
        margin: 0 10px;
    }

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    z-index: 1000;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .stats-number {
        font-size: 2.5rem;
    }
}
