/* --- GENEL AYARLAR --- */
:root {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --text-secondary: #a1a1aa;
    --primary-color: #3b82f6; /* Modern Mavi */
    --primary-glow: rgba(59, 130, 246, 0.5);
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #0f1117 50%, #0a0a0a 100%);
}

html { scroll-behavior: smooth; }

/* Arka Plan Glow Efekti */
.background-glow {
    position: fixed;
    top: -20%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(120px);
    z-index: -1;
    opacity: 0.5;
    animation: moveGlow 20s infinite ease-in-out alternate;
}

@keyframes moveGlow {
    0% { 
        transform: translate(0, 0) scale(1);
        opacity: 0.4;
    }
    50% {
        opacity: 0.6;
    }
    100% { 
        transform: translate(30vw, 30vh) scale(1.2);
        opacity: 0.3;
    }
}

/* İkinci Glow Katmanı */
.background-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -30%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(100px);
    animation: moveGlow2 25s infinite ease-in-out alternate;
}

@keyframes moveGlow2 {
    0% { 
        transform: translate(0, 0) scale(0.8);
    }
    100% { 
        transform: translate(-20vw, -20vh) scale(1.1);
    }
}

/* --- NAVBAR --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 10%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(30px);
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.5) 0%, rgba(15, 17, 23, 0.4) 50%, rgba(10, 10, 10, 0.5) 100%);
    border-bottom: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 10px 40px -10px rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.navbar:hover {
    border-bottom: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 15px 50px -5px rgba(59, 130, 246, 0.25);
}

.logo { 
    font-size: 1.3rem; 
    font-weight: 900; 
    letter-spacing: -1px;
    text-decoration: none;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border-radius: 10px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    background-color: rgba(59, 130, 246, 0.05);
    backdrop-filter: blur(10px);
}

.logo::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
    border-radius: 12px;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.logo:hover {
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.25), inset 0 0 20px rgba(59, 130, 246, 0.1);
    transform: translateY(-3px);
}

.logo:hover::before {
    opacity: 1;
}

.dot { 
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: dotGlow 2s ease-in-out infinite;
    font-weight: 900;
    font-size: 1.5rem;
    margin-left: 2px;
}

@keyframes dotGlow {
    0%, 100% { 
        opacity: 1;
        filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.6));
    }
    50% { 
        opacity: 0.5;
        filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.3));
    }
}

.nav-links { 
    display: flex; 
    gap: 35px; 
    list-style: none;
}

.nav-links a { 
    text-decoration: none; 
    color: var(--text-secondary); 
    font-weight: 600; 
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    padding: 8px 2px;
    font-size: 0.95rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.7;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    opacity: 1;
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.4));
    transform: translateY(-2px);
}

.nav-links a:hover::after {
    width: 100%;
}

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px 0;
    position: relative;
    margin-top: 0;
    transition: opacity 0.3s ease-out;
}

.hero-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    text-align: center;
}

.hero-content .container {
    text-align: center;
    max-width: none;
    margin: 0;
}

.hero-image {
    position: relative;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-inline {
    position: relative;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 30px 0 20px 0;
}

.profile-photo {
    position: relative;
    width: 180px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 2px solid rgba(59, 130, 246, 0.4);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.image-placeholder:hover::before {
    left: 100%;
}

.image-placeholder:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(139, 92, 246, 0.25) 100%);
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.3),
                inset 0 0 30px rgba(59, 130, 246, 0.1);
    transform: translateY(-5px);
}

.image-placeholder i {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.4;
    z-index: 1;
}

.image-placeholder p {
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

/* Responsive - Masaüstü teması tüm cihazlarda korunur */
@media (max-width: 1024px) {
    html, body {
        background-color: var(--bg-color);
        background: linear-gradient(135deg, #0a0a0a 0%, #0f1117 50%, #0a0a0a 100%);
    }
    
    .navbar {
        padding: 10px 5%;
    }
    
    .logo {
        font-size: 1.1rem;
        padding: 9px 13px;
    }
    
    .nav-links {
        gap: 30px;
    }
    
    .gradient-text {
        font-size: 3.5rem;
    }
    
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .profile-photo {
        width: 160px;
        height: 200px;
    }
    
    .hero-content .container {
        text-align: center;
    }
}

@media (max-width: 768px) {
    html, body {
        background-color: var(--bg-color);
        background: linear-gradient(135deg, #0a0a0a 0%, #0f1117 50%, #0a0a0a 100%);
    }
    
    .hero-wrapper {
        gap: 40px;
    }
    
    .profile-photo {
        width: 150px;
        height: 185px;
    }
    
    .image-placeholder {
        border-radius: 50%;
    }
    
    .image-placeholder i {
        font-size: 2.5rem;
    }
}

.greeting {
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 1rem;
    margin-bottom: 50px;
    display: block;
}

.gradient-text {
    font-size: 4.5rem;
    font-weight: 900;
    margin: 15px 0;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 25%, #ec4899 50%, #f59e0b 75%, #3b82f6 100%);
    background-size: 300% 300%;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
    filter: drop-shadow(0 0 20px rgba(59, 130, 246, 0.4));
    animation: gradientShift 6s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-color);
    font-weight: 400;
}

.description {
    max-width: 600px;
    margin: 20px auto 40px;
    color: var(--text-secondary);
}

.hero-btns { display: flex; gap: 20px; justify-content: center; }

.btn {
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 0 20px var(--primary-glow);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 30px var(--primary-glow); }

.btn-secondary {
    background: transparent;
    border: 1px solid var(--card-border);
    color: var(--text-color);
}
.btn-secondary:hover { border-color: var(--text-color); background: rgba(255,255,255,0.05); }

/* Scroll Animasyonu */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}
.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 20px;
    position: relative;
}
.mouse::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: scroll 1.5s infinite;
}
@keyframes scroll {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 15px); opacity: 0; }
}

/* --- BÖLÜMLER GENEL --- */
.section {
    padding: 100px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    transition: opacity 0.3s ease-out;
}
.container { 
    max-width: 1000px; 
    margin: 0 auto; 
    text-align: center;
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    margin: 0 auto 60px;
    position: relative;
    display: inline-block;
    color: var(--text-color);
}

/* --- YETENEKLER KARTLARI --- */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.skill-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 35px 25px;
    border-radius: 20px;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100%;
    cursor: pointer;
}

.skill-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.5);
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin: 0 auto 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.skill-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.skill-card p { color: var(--text-secondary); font-size: 0.95rem; }

.language-badge {
    margin-top: 50px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    background: rgba(255,255,255,0.05);
    border-radius: 50px;
    color: var(--text-secondary);
    border: 1px solid var(--card-border);
}

/* --- İLETİŞİM --- */
.contact-text { 
    color: var(--text-secondary); 
    margin: 0 auto 50px; 
    font-size: 1.1rem;
    max-width: 600px;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

/* Contact Form Box */
.contact-form-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.3s ease;
    will-change: transform;
}

.contact-form-box:hover {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
}

.contact-form-box h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 30px;
    text-align: center;
}

/* Contact Info Box */
.contact-info-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.contact-info-box h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.info-item:hover {
    border-color: var(--primary-color);
    background: rgba(59, 130, 246, 0.05);
}

.info-item i {
    font-size: 1.8rem;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-top: 5px;
}

.info-item p {
    margin: 0;
}

.info-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.info-item a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-item a:hover {
    color: var(--primary-color);
}

/* Form Styling */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-form input,
.contact-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--card-border);
    color: var(--text-color);
    padding: 12px 16px;
    border-radius: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-secondary);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

.contact-form textarea {
    font-size: 0.95rem;
    line-height: 1.6;
}

.error-message {
    color: #ef4444;
    font-size: 0.85rem;
    min-height: 20px;
    display: block;
}

#submitBtn {
    padding: 14px 35px;
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

#submitBtn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.success-message {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid #22c55e;
    color: #22c55e;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hidden-msg {
    display: none;
}

.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 900px;
    margin: 0 auto;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.social-btn i { font-size: 1.3rem; }

.social-btn:hover {
    background: var(--text-color);
    color: #000;
    transform: translateY(-5px);
}

.social-btn.linkedin:hover { background: #0077b5; color: white; border-color: #0077b5; }
.social-btn.github:hover { background: #333; color: white; border-color: #333; }
.social-btn.instagram:hover { background: #e1306c; color: white; border-color: #e1306c; }
.social-btn.email:hover { background: var(--primary-color); color: white; border-color: var(--primary-color); }

/* --- FOOTER --- */
footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--card-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 60px;
    transition: opacity 0.2s ease-out;
    will-change: opacity;
}

/* --- ANİMASYON CLASSLARI --- */
.hidden { 
    opacity: 0; 
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.show { 
    opacity: 1; 
    transform: translateY(0);
}

/* Skill Kartları Stagger Efekti */
.skill-card.hidden {
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.skill-card.hidden:nth-child(1) { transition-delay: 0.1s; }
.skill-card.hidden:nth-child(2) { transition-delay: 0.2s; }
.skill-card.hidden:nth-child(3) { transition-delay: 0.3s; }
.skill-card.hidden:nth-child(4) { transition-delay: 0.4s; }
.skill-card.hidden:nth-child(5) { transition-delay: 0.5s; }

/* Social Button Stagger */
.social-btn.hidden:nth-child(1) { transition-delay: 0.1s; }
.social-btn.hidden:nth-child(2) { transition-delay: 0.2s; }
.social-btn.hidden:nth-child(3) { transition-delay: 0.3s; }
.social-btn.hidden:nth-child(4) { transition-delay: 0.4s; }

/* --- RESPONSIVE (TABLET) --- Tema masaüstüyle aynı, sadece boyutlar değişir */
@media (max-width: 768px) {
    .navbar {
        padding: 8px 5%;
    }
    
    .logo {
        font-size: 1rem;
        padding: 6px 10px;
        border-radius: 8px;
    }
    
    .nav-links {
        display: flex;
        gap: 15px;
    }
    
    .nav-links a {
        font-size: 0.8rem;
        padding: 6px 0;
    }
    
    .gradient-text { 
        font-size: 2.5rem;
        letter-spacing: -0.5px;
    }
    
    .greeting {
        font-size: 0.85rem;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .hero {
        padding: 70px 15px 0;
    }
    
    .hero p { font-size: 0.95rem; }
    .social-links { flex-direction: column; align-items: stretch; }
    .social-btn { justify-content: center; }
    .section { padding: 50px 15px; }
    .skills-grid { gap: 20px; grid-template-columns: 1fr 1fr; }
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
}

/* --- SKILL MODAL --- */
.skill-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.skill-modal.active {
    display: flex;
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: linear-gradient(135deg, rgba(15, 17, 23, 0.95) 0%, rgba(10, 10, 10, 0.95) 100%);
    border: 1px solid var(--card-border);
    border-radius: 25px;
    padding: 50px 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    will-change: transform, opacity;
    contain: layout style paint;
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s ease;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex-shrink: 0;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: block;
    line-height: 1;
}

.modal-header h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin: 0;
}

.modal-body {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 30px;
}

.modal-body h3 {
    color: var(--text-color);
    margin-top: 20px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.modal-body ul {
    margin-left: 20px;
    margin-top: 10px;
    list-style: none;
}

.modal-body li {
    margin: 8px 0;
    color: var(--text-secondary);
    padding-left: 20px;
    position: relative;
}

.modal-body li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.modal-body li strong {
    color: var(--primary-color);
}

.modal-footer {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.modal-btn {
    padding: 12px 35px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.close-btn {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 0 20px var(--primary-glow);
}

.close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--primary-glow);
}

.close-btn:active {
    transform: translateY(0);
}

/* Modal Scrollbar Styling */
.modal-content::-webkit-scrollbar {
    width: 6px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(59, 130, 246, 0.8);
}

/* Responsive Modal - Tema masaüstüyle aynı */
@media (max-width: 768px) {
    .modal-content {
        padding: 30px 25px;
        max-width: 90%;
        border-radius: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
    
    .modal-icon {
        font-size: 3rem;
    }
    
    .modal-body {
        font-size: 0.95rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-form-box {
        padding: 30px 20px;
    }
    
    .contact-form-box h3,
    .contact-info-box h3 {
        font-size: 1.3rem;
    }
    
    #submitBtn {
        padding: 12px 25px;
    }
}
/* --- HAKKIMDA BÖLÜMÜ TASARIMI --- */
.about-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px; /* Fotoğraf ve yazı arası boşluk */
    margin-top: 20px;
    text-align: left; /* Yazıları sola yasla */
}

/* Fotoğraf Alanı */
.about-img {
    position: relative;
    max-width: 350px;
    flex-shrink: 0; /* Küçülmesini engelle */
    z-index: 2;
}

.about-img img {
    width: 100%;
    border-radius: 20px;
    display: block;
    /* Fotoğrafın kendisine hafif gri bir çerçeve */
    border: 2px solid rgba(255, 255, 255, 0.1); 
    transition: transform 0.3s ease;
}

/* Dekoratif Çerçeve (Fotoğrafın arkasındaki kayık çerçeve) */
.img-border {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    z-index: -1; /* Resmin arkasına at */
    transition: transform 0.3s ease;
}

/* Hover Efekti: Üzerine gelince resim oynasın */
.about-img:hover img {
    transform: translate(-5px, -5px);
}
.about-img:hover .img-border {
    transform: translate(10px, 10px);
}

/* Yazı Alanı */
.about-text {
    max-width: 600px;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-text p {
    color: var(--text-secondary); /* Gri ton */
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.8; /* Satır aralığı */
}

.about-text strong {
    color: var(--primary-color); /* Vurgulu kelimeler mavi olsun */
}

/* İstatistik Kutucukları */
.about-stats {
    display: flex;
    gap: 50px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--card-border); /* Üst çizgi */
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color); /* Mavi sayı */
    line-height: 1;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* MOBİL UYUMLULUK (Telefonda alt alta gelmesi için) */
@media (max-width: 968px) {
    html, body {
        background-color: var(--bg-color);
        background: linear-gradient(135deg, #0a0a0a 0%, #0f1117 50%, #0a0a0a 100%);
    }
    
    .about-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    
    .about-img {
        max-width: 280px;
        margin: 0 auto;
    }
    
    .img-border {
        top: 15px; left: 15px;
    }

    .about-stats {
        justify-content: center;
    }
}

/* Küçük mobil cihazlar (480px ve altı) - Tema masaüstüyle aynı */
@media (max-width: 480px) {
    html, body {
        background-color: var(--bg-color);
        background: linear-gradient(135deg, #0a0a0a 0%, #0f1117 50%, #0a0a0a 100%);
    }
    
    .navbar {
        padding: 8px 3%;
    }
    
    .logo {
        font-size: 0.9rem;
        padding: 6px 8px;
    }
    
    .nav-links {
        gap: 10px;
    }
    
    .nav-links a {
        font-size: 0.75rem;
        font-weight: 500;
    }
    
    .gradient-text {
        font-size: 2rem;
    }
    
    .greeting {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }
    
    .profile-photo {
        width: 120px;
        height: 150px;
    }
    
    .image-placeholder i {
        font-size: 2rem;
    }
    
    .section {
        padding: 40px 10px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .skill-card {
        padding: 20px 15px;
    }
    
    .skill-card h3 {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
    
    .modal-content {
        padding: 20px 15px;
        border-radius: 15px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .contact-wrapper {
        gap: 20px;
    }
    
    .contact-form-box {
        padding: 20px 15px;
    }
    
    input, textarea {
        font-size: 16px;
    }
}

/* --- PROJELER BÖLÜMÜ --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 30px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    transition: all 0.3s ease;
    opacity: 0;
}

.project-card:hover::before {
    opacity: 1;
}

.project-card:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.25),
                inset 0 0 30px rgba(59, 130, 246, 0.1);
    transform: translateY(-10px);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.project-card h3 {
    color: var(--text-color);
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.tag {
    background: rgba(59, 130, 246, 0.2);
    color: var(--primary-color);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.project-card:hover .tag {
    background: rgba(59, 130, 246, 0.4);
    border-color: var(--primary-color);
}

.project-description {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 10px 0;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.project-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    position: relative;
    z-index: 2;
}

.project-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

/* Responsif - Projeler Bölümü */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
    
    .project-card {
        padding: 25px 20px;
    }
    
    .project-card h3 {
        font-size: 1.3rem;
    }
    
    .project-header {
        flex-direction: column;
    }
    
    .project-tags {
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .project-card {
        padding: 20px 15px;
    }
    
    .project-card h3 {
        font-size: 1.1rem;
    }
    
    .project-description {
        font-size: 0.9rem;
    }
    
    .tag {
        font-size: 0.65rem;
        padding: 3px 10px;
    }
    
    .project-btn {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

/* --- HAKKIMDA SAYFASI --- */
.about-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    margin-top: 20px;
    text-align: left;
}

.about-img {
    position: relative;
    max-width: 350px;
    flex-shrink: 0;
    z-index: 2;
}

.about-img img {
    width: 100%;
    border-radius: 20px;
    display: block;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.image-placeholder.large {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 2px solid rgba(59, 130, 246, 0.4);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

.image-placeholder.large img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
}

.image-placeholder.large:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(139, 92, 246, 0.25) 100%);
    box-shadow: 0 0 50px rgba(59, 130, 246, 0.3),
                inset 0 0 30px rgba(59, 130, 246, 0.1);
    transform: translateY(-5px);
}

.img-border {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    z-index: -1;
    transition: transform 0.3s ease;
}

.about-img:hover img {
    transform: translate(-5px, -5px);
}

.about-img:hover .img-border {
    transform: translate(10px, 10px);
}

.about-text {
    max-width: 600px;
}

.about-text h2 {
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 700;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text strong {
    color: var(--primary-color);
}

/* İnfo Kartları */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.info-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: left 0.5s ease;
}

.info-card:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
    transform: translateY(-5px);
}

.info-card:hover::before {
    left: 100%;
}

.info-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.info-card h3 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 8px;
    font-weight: 700;
}

.info-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive - Hakkımda */
@media (max-width: 1024px) {
    .about-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 50px;
    }
    
    .about-img {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .image-placeholder.large {
        height: 350px;
    }
    
    .img-border {
        top: 15px;
        left: 15px;
    }
}

@media (max-width: 768px) {
    .about-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .about-img {
        max-width: 250px;
    }
    
    .image-placeholder.large {
        height: 300px;
    }
    
    .about-text h2 {
        font-size: 1.7rem;
    }
    
    .about-text p {
        font-size: 1rem;
    }
    
    .info-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .info-card {
        padding: 25px 20px;
    }
}

@media (max-width: 480px) {
    .about-wrapper {
        gap: 30px;
    }
    
    .about-img {
        max-width: 200px;
    }
    
    .image-placeholder.large {
        height: 250px;
    }
    
    .about-text h2 {
        font-size: 1.4rem;
    }
    
    .about-text p {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .info-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 15px;
    }
    
    .info-icon {
        font-size: 2rem;
        min-width: auto;
    }
}