:root {
    --bg-color: #f9f9f9;
    --text-primary: #2b3036;
    --text-secondary: #636b74;
    --accent-1: #5b738b; /* Profesyonel mat mavi-gri */
    --accent-2: #8fa1b3; /* Açık çelik grisi */
    --accent-3: #ced6e0; /* Çok açık gri */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.9);
    --card-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Arka Plan Efektleri (Nötr ve Minimal) */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #fdfbfb 0%, #f4f5f7 100%);
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.4;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.blob-1 {
    top: -5%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: var(--accent-3);
    animation-delay: 0s;
}

.blob-2 {
    bottom: -15%;
    right: -5%;
    width: 600px;
    height: 600px;
    background: var(--accent-2);
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* Glassmorphism Araçları (Açık Tema) */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: var(--card-shadow);
}

/* Menü Tasarımı */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.4s ease;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: linear-gradient(to right, var(--accent-1), var(--text-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background: var(--accent-1);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--accent-1);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Ana İçerik Yapısı */
main {
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto;
}

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

.hero {
    min-height: 100vh;
    padding-top: 80px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--accent-1);
    margin: 12px auto 0;
    border-radius: 2px;
}

/* Kahraman (Hero) Bölümü */
.hero {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    padding-right: 2rem;
}

.glitch-text {
    font-size: 4rem;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.highlight {
    background: linear-gradient(to right, var(--accent-1), var(--accent-2), var(--accent-1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 4s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 500px;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: var(--accent-1);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(91, 115, 139, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(91, 115, 139, 0.4);
    background: #475a6d;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.mockup-card {
    width: 100%;
    max-width: 450px;
    height: 300px;
    padding: 2.5rem;
    display: flex;
    align-items: center;
    transform: perspective(1000px) rotateY(-8deg) rotateX(8deg);
    transition: transform 0.5s, box-shadow 0.5s;
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(255,255,255,0.7));
}

.mockup-card:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

.code-lines { width: 100%; }
.line {
    height: 10px;
    background: rgba(99, 107, 116, 0.15);
    border-radius: 5px;
    margin-bottom: 14px;
}
.w-80 { width: 80%; }
.w-60 { width: 60%; }
.w-90 { width: 90%; }
.w-40 { width: 40%; }
.w-70 { width: 70%; }

/* Hakkımda Bölümü */
.about-container {
    padding: 3.5rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.about-container strong {
    color: var(--text-primary);
}

.skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.skill-tag {
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(91, 115, 139, 0.2);
    padding: 0.6rem 1.4rem;
    border-radius: 25px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: all 0.3s;
    display: inline-block;
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.skill-tag:hover {
    background: var(--accent-1);
    color: white;
    border-color: var(--accent-1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 115, 139, 0.2);
}

/* Projeler Bölümü */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}

.project-card {
    overflow: hidden;
    transition: all 0.4s;
    border-radius: 20px;
    background: rgba(255,255,255,0.9);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.project-image {
    height: 220px;
    width: 100%;
}

.project-info {
    padding: 2rem;
}

.project-info h3 {
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.project-info p {
    color: var(--text-secondary);
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.project-link {
    color: var(--accent-1);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.3s;
    display: inline-block;
}

.project-link:hover {
    color: #3b4b5a;
}

/* İletişim Bölümü */
.contact-container {
    max-width: 650px;
    margin: 0 auto;
    padding: 3.5rem;
    text-align: center;
}

.contact-container p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-top: 2.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.2rem;
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #a0aec0;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent-1);
    box-shadow: 0 0 0 4px rgba(91, 115, 139, 0.15);
}

.contact-form button {
    margin-top: 0.5rem;
}

footer {
    text-align: center;
    padding: 2.5rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(0,0,0,0.05);
    margin-top: 5rem;
    font-size: 0.95rem;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 120px;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 3.5rem;
    }
    
    .glitch-text { font-size: 3rem; }
    
    .nav-links { display: none; }
    
    .mockup-card {
        transform: none;
    }

    .resume-grid {
        grid-template-columns: 1fr !important;
    }
    
    .about-container {
        padding: 1.8rem;
    }
    
    .project-info {
        padding: 1.8rem;
    }
    
    .contact-container {
        padding: 1.8rem;
    }
}
