/* Modern CSS Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --accent: #06b6d4;
    --accent-light: #67e8f9;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    --bg-primary: #030712;
    --bg-secondary: #111827;
    --bg-card: #1f2937;
    --bg-card-hover: #374151;
    --border: #374151;
    --border-light: #4b5563;
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-2: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
    --gradient-3: linear-gradient(135deg, #f59e0b 0%, #ef4444 50%, #ec4899 100%);
    --gradient-mesh: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 35px 60px -12px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 45px 80px -12px rgba(0, 0, 0, 0.8);
    --shadow-colored: 0 25px 50px -12px rgba(99, 102, 241, 0.3);
    --glow: 0 0 20px rgba(99, 102, 241, 0.5);
}

[data-theme='light'] {
    --text-primary: #1a1a1a;
    --text-secondary: #6b7280;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --border: #e5e7eb;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Images and media scale on small screens */
img, svg, video {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1500;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(102, 126, 234, 0.1) 0%, 
        rgba(118, 75, 162, 0.1) 50%, 
        rgba(240, 147, 251, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar:hover::before {
    opacity: 1;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    backdrop-filter: blur(10px);
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::before {
    width: 80%;
}

.nav-menu a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    position: relative;
    z-index: 2000;
    gap: 5px;
    background: none;
    border: none;
    padding: 0;
    outline: none;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: 0.3s;
    display: block;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Language Switcher */
.lang-switcher {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.lang-switcher::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.lang-switcher:hover::before {
    left: 100%;
}

.lang-switcher:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.lang-switcher:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(99, 102, 241, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.08) 0%, 
        rgba(139, 92, 246, 0.08) 35%, 
        rgba(236, 72, 153, 0.08) 70%, 
        rgba(6, 182, 212, 0.08) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-mesh);
    opacity: 0.03;
    animation: heroMeshMove 20s ease-in-out infinite alternate;
    z-index: -1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    animation: heroGlow 8s ease-in-out infinite alternate;
    z-index: -1;
}

@keyframes heroMeshMove {
    0% { 
        opacity: 0.03;
        transform: scale(1) rotate(0deg); 
    }
    100% { 
        opacity: 0.06;
        transform: scale(1.1) rotate(1deg); 
    }
}

@keyframes heroGlow {
    0% { 
        opacity: 0.1; 
        transform: translate(-50%, -50%) scale(1) rotate(0deg); 
    }
    100% { 
        opacity: 0.2; 
        transform: translate(-50%, -50%) scale(1.2) rotate(5deg); 
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text {
    animation: slideInLeft 1s ease-out;
}

.greeting {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-name {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 700;
    background: var(--gradient-1);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards, textShine 3s ease-in-out infinite;
    position: relative;
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

.hero-name::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-1);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 3s ease-in-out infinite;
    filter: blur(10px);
    opacity: 0.3;
    z-index: -1;
}

@keyframes textShine {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.5rem;
    min-height: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

.cursor {
    animation: blink 1s infinite;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 500px;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1s forwards;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: none;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: var(--shadow-colored);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent);
    transition: left 0.5s ease;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.social-links {
    display: flex;
    gap: 1rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.2s forwards;
    position: relative; /* ensure above decorative layers */
    z-index: 3;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    color: var(--accent);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link.github:hover {
    border-color: #333;
    color: #333;
}

.social-link.discord:hover {
    border-color: #5865f2;
    color: #5865f2;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: slideInRight 1s ease-out;
}

.profile-card {
    position: relative;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    animation: float 6s ease-in-out infinite;
    backdrop-filter: blur(20px);
    overflow: hidden;
    transition: all 0.3s ease;
}

.profile-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        rgba(99, 102, 241, 0.3),
        transparent,
        rgba(139, 92, 246, 0.3),
        transparent,
        rgba(236, 72, 153, 0.3),
        transparent
    );
    animation: rotate 4s linear infinite;
    z-index: -1;
}

.profile-card::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: var(--bg-card);
    border-radius: calc(2rem - 2px);
    z-index: -1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.profile-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: rgba(99, 102, 241, 0.5);
}

.card-glow {
    position: absolute;
    inset: -2px;
    background: var(--gradient-1);
    border-radius: 2rem;
    opacity: 0.5;
    filter: blur(20px);
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

.profile-image {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 4px solid var(--accent);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
    background: linear-gradient(135deg, #667eea, #764ba2);
}

/* Variant for logo (keep full graphic, no circular crop, transparent bg) */
.profile-image.profile-image--logo {
    border-radius: 1.25rem;
    border: 4px solid rgba(99,102,241,0.5);
    background: radial-gradient(circle at 30% 30%, rgba(99,102,241,0.15), rgba(0,0,0,0));
}

.profile-image.profile-image--logo img {
    border-radius: 0;
    object-fit: contain;
    background: transparent;
}

.status-indicator {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    background: #00ff88;
    border: 3px solid var(--bg-card);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.floating-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.tech-badge {
    position: absolute; /* keep absolute so badges don’t take full width */
    display: inline-flex; /* shrink to content */
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1), 
        rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.6rem;
    height: 22px;
    line-height: 1;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 500;
    animation: float 3s ease-in-out infinite, techGlow 2s ease-in-out infinite alternate;
    animation-delay: var(--delay);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    overflow: visible;
    white-space: nowrap;
    z-index: 2;
}

.tech-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.tech-badge:hover::before {
    left: 0;
    opacity: 1;
}

.tech-badge:hover {
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
    color: white;
    border-color: rgba(99, 102, 241, 0.5);
}

@keyframes techGlow {
    0% { 
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
    }
    100% { 
        box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3); 
    }
}

.tech-badge:nth-child(1) { top: -10px; left: -60px; }
.tech-badge:nth-child(2) { top: 20px; right: -50px; }
.tech-badge:nth-child(3) { bottom: 20px; left: -60px; }
.tech-badge:nth-child(4) { bottom: -10px; right: -50px; }

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-secondary);
    animation: bounce 2s infinite;
    pointer-events: none; /* do not block clicks on content under it */
}

.scroll-text {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--text-secondary);
    margin: 0 auto;
    position: relative;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-secondary);
    border-bottom: 2px solid var(--text-secondary);
    transform: rotate(45deg);
}

/* Hero Background */
.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none; /* background only */
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    pointer-events: none; /* don't block clicks */
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.7;
    animation: float 8s ease-in-out infinite;
    pointer-events: none;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--gradient-1);
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: var(--gradient-2);
    top: 60%;
    right: -5%;
    animation-delay: 2s;
}

.orb-3 {
    width: 150px;
    height: 150px;
    background: var(--gradient-3);
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

.stat:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.skills {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.skill-category h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-tags span {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.skill-tags span:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

/* Mobile hamburger optimizations */
@media (max-width: 768px) {
    .nav-container { padding: 0.75rem 1rem; }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--bg-secondary);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease-in-out;
        padding: 2rem 0;
        border-top: 1px solid var(--border);
        z-index: 1500;
        will-change: transform;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
        padding: 20px;
        z-index: 2000;
        min-width: 60px;
        min-height: 60px;
        align-items: center;
        justify-content: center;
        -webkit-tap-highlight-color: transparent;
        touch-action: manipulation;
        user-select: none;
        -webkit-user-select: none;
        cursor: pointer;
        background: transparent;
        border: none;
        outline: none;
        position: relative;
        border-radius: 8px;
        transition: all 0.2s ease;
    }
    
    .hamburger:active {
        background: rgba(255, 255, 255, 0.1);
        transform: scale(0.95);
    }

    .lang-switcher {
        position: absolute;
        top: 1rem;
        right: 5rem;
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-visual {
        order: -1;
    }

    .profile-card {
        padding: 1.5rem;
    }

    .profile-image {
        width: 150px;
        height: 150px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats {
        grid-template-columns: 1fr;
    }

    .hero-name {
        font-size: 2.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }
}

/* Theme toggle */
.theme-toggle {
    position: fixed;
    top: 50%;
    right: 2rem;
    transform: translateY(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    z-index: 1000;
}

.theme-toggle:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* Typing effect */
.typing-text::after {
    content: '';
    animation: typing 4s infinite;
}

@keyframes typing {
    0% { content: 'Full Stack Developer'; }
    25% { content: 'UI/UX Designer'; }
    50% { content: 'Problem Solver'; }
    75% { content: 'Creative Thinker'; }
    100% { content: 'Full Stack Developer'; }
}

.project-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 400px;
}
.project-list li {
    background: var(--bg-card);
    margin: 10px 0;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 1.05rem;
    text-align: left;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

.project-list li:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
}

/* Yeni grid ve kart tasarımı - Kaldırıldı, components.css'e taşındı */

.theme-toggle { position: fixed; top:14px; right:14px; background: var(--bg-soft); border:1px solid var(--border); color: var(--text); width:44px; height:44px; border-radius:50%; cursor:pointer; font-size:1.1rem; backdrop-filter: blur(6px); display:flex; align-items:center; justify-content:center; box-shadow:0 4px 20px rgba(0,0,0,.25); transition:.3s; }
.theme-toggle:hover { background: var(--accent); color:#111; }

.reveal { opacity:0; transform: translateY(30px); }
.reveal.show { opacity:1; transform: translateY(0); }

@media (max-width: 700px) {
    .container { padding: 24px 16px; }
    .card-body p { min-height: auto; }
}

/* Additional mobile tweaks */
@media (max-width: 640px) {
    .hero-buttons { flex-wrap: wrap; justify-content: center; }
    .btn-primary, .btn-secondary { width: 100%; max-width: 360px; }
    .social-links { justify-content: center; }
    .theme-toggle { top: auto; right: 1rem; bottom: 1rem; transform: none; width: 44px; height: 44px; }
    .hero-description { margin: 0 auto 1.5rem; }
}

@media (max-width: 480px) {
    .logo { font-size: 1.25rem; }
    .hero-name { font-size: 2.1rem; }
    .hero-title { font-size: 1.1rem; }
    .btn-primary, .btn-secondary { padding: 0.85rem 1.25rem; }
    .profile-card { padding: 1.25rem; border-radius: 1.25rem; }
    .profile-image { width: 120px; height: 120px; }
    .section-header h2 { font-size: 1.75rem; }
    .nav-menu { top: 60px; }
}

@media (max-width: 360px) {
    .btn-primary, .btn-secondary { max-width: none; }
    .hero-title { font-size: 1rem; }
}

/* İletişim formu - components.css'e taşındı */

body.menu-open {
    overflow: hidden;
}
