/*
  Modern Kişisel Portföy Sitesi CSS
  Yeni Renk Paleti:
    Arka Plan: #18181b
    Ana Renk: #2563eb
    İkincil Vurgu: #0ea5e9
    Yazı: #f4f4f5
    Kart Arka Planı: #232336
    Hover: #0ea5e9
    Shadow: rgba(37,99,235,0.10)
*/
:root {
    --bg: #18181b;
    --primary: #1e40af;
    --secondary: #ea8d0b;
    --text: #e5e7eb;
    --card-bg: #1e2235;
    --shadow: 0 4px 24px rgba(30, 64, 175, 0.10);
    --radius: 18px;
    --transition: 0.3s cubic-bezier(.4, 0, .2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Inter', Arial, sans-serif;
    background: linear-gradient(135deg, #18181b 60%, #232336 100%);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

main {
    padding-top: 100px;
    /* Fixed navbar için padding */
}

/* Loader */
.loader {
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition);
}

.loader .spinner {
    width: 56px;
    height: 56px;
    border: 6px solid var(--primary);
    border-top: 6px solid var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Scroll To Top */
.scroll-to-top {
    position: fixed;
    right: 2rem;
    bottom: 2rem;
    background: var(--primary);
    color: var(--bg);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    font-size: 1.5rem;
    box-shadow: var(--shadow);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1.1);
}

.scroll-to-top:hover {
    background: var(--secondary);
    color: var(--bg);
}

/* Modern Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(24, 24, 27, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(24, 24, 27, 0.98);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 50%;
    padding: 8px;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
}

.logo a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.logo::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.logo:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.3);
}

.logo:hover::before {
    opacity: 0.1;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.nav-links {
    display: flex;
    gap: 0;
    list-style: none;
    align-items: center;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.75rem 1.2rem;
    border-radius: 12px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.nav-links a:hover {
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.25);
}

.nav-links a:hover::before {
    opacity: 1;
}

.nav-links a.active {
    color: #ffffff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-btn:hover span {
    background: var(--primary);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(24, 24, 27, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-top: 1px solid rgba(37, 99, 235, 0.1);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        width: 100%;
        padding: 1rem 2rem;
        border-radius: 0;
        justify-content: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .nav-links a:hover {
        transform: none;
        background: rgba(37, 99, 235, 0.1);
    }

    .nav-links a::before {
        display: none;
    }
}

/* Section Genel */
.section {
    padding: 6rem 0 4rem 0;
    max-width: 1200px;
    margin: 0 auto;
    transition: opacity var(--transition), transform var(--transition);
}

/* Başlıklara Gradient Text */
.section h2 {
    font-size: 2.4rem;
    margin-bottom: 2.8rem;
    color: var(--primary);
    background: none;
    font-family: 'Poppins', 'Inter', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Hakkımda */
.about-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, #232336 60%, #18181b 100%);
    border-radius: var(--radius);
    margin-top: 2.5rem;
    box-shadow: var(--shadow);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    padding: 2.5rem 2rem;
    position: relative;
}

.about-photo-wrapper {
    flex-shrink: 0;
    /* border-radius: 50%; */
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 4px 32px #2563eb2e;
    transition: transform var(--transition);
}

.about-photo {
    width: 220px;
    height: 280px;
    object-fit: cover;
    /* border-radius: 50%; */
    border-radius: 0;
    transition: filter 0.3s, transform 0.3s;
}

.about-photo-wrapper:hover .about-photo {
    filter: brightness(1.1) drop-shadow(0 0 24px var(--primary));
    transform: scale(1.04) rotate(-1deg);
}

.about-text h1 {
    font-size: 2.4rem;
    color: var(--secondary);
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text);
    opacity: 0.92;
}

/* Eğitim */
.education-section {
    margin-top: 3rem;
}

.education-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.education-card {
    background: var(--card-bg);
    border-radius: 22px;
    border: 1.5px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 40px 0 rgba(37, 99, 235, 0.13), 0 1.5px 8px 0 rgba(0, 0, 0, 0.08);
    padding: 2rem 1.5rem;
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
    border-left: 4px solid var(--primary);
}

/* Kart Hover Efekti */
.education-card:hover {
    transform: translateY(-10px) scale(1.035);
    box-shadow: 0 16px 48px 0 rgba(37, 99, 235, 0.18), 0 2px 12px 0 rgba(0, 0, 0, 0.10);
    border-left: 4px solid var(--secondary);
}

.cv-download {
    display: inline-block;
    margin-top: 2.5rem;
    background: var(--primary);
    color: var(--bg);
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.10);
    transition: background var(--transition), color var(--transition), transform 0.18s cubic-bezier(.4, 0, .2, 1), box-shadow 0.18s;
    will-change: transform;
}

.cv-download:hover {
    background: var(--secondary);
    color: var(--bg);
    transform: scale(1.07);
}

.cv-view {
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 2rem 2rem 2rem 0;
    background: var(--primary);
    color: var(--bg);
    padding: 0.7rem 1.6rem;
    border-radius: 999px;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.10);
    transition: background var(--transition), color var(--transition), transform 0.18s cubic-bezier(.4, 0, .2, 1), box-shadow 0.18s;
    will-change: transform;
    z-index: 2;
}

.cv-view:hover {
    background: var(--secondary);
    color: var(--bg);
    transform: scale(1.07);
}

/* Buton Micro-Animasyon */
.cv-view:active,
.cv-download:active {
    transform: scale(0.97);
    box-shadow: 0 1px 4px rgba(37, 99, 235, 0.08);
}

/* Teknolojiler */
.tech-section {
    margin-top: 3rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
}

.tech-card {
    background: var(--card-bg);
    border-radius: 50px;
    border: 1.5px solid rgba(255, 255, 255, 0.07);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 0.5rem 0.7rem 0.5rem;
    transition: box-shadow var(--transition), background var(--transition), transform var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.tech-card img {
    width: 38px;
    height: 38px;
    margin-bottom: 0.5rem;
}

.tech-card span {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 600;
}

.tech-card:hover {
    background: var(--primary);
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.18);
    transform: scale(1.08);
    border-color: var(--secondary);
}

.tech-card:hover span {
    color: var(--bg);
}

.tech-card:hover .donut-label,
.donut-chart:hover .donut-label {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    transition: color 0.18s, text-shadow 0.18s;
}

.tech-card:hover .donut-bar,
.donut-chart:hover .donut-bar {
    stroke: var(--secondary);
    filter: drop-shadow(0 0 6px var(--secondary));
    transition: stroke 0.18s, filter 0.18s;
}

/* Projeler */
.projects-section {
    margin-top: 3rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.project-card {
    background: var(--card-bg);
    border-radius: 22px;
    border: 1.5px solid rgba(255, 255, 255, 0.07);
    box-shadow: var(--shadow);
    padding: 2rem 1.5rem;
    padding-bottom: 4rem;
    /* Buton için ekstra alan */
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
    border-bottom: 4px solid var(--primary);
    position: relative;
}

/* Kart Hover Efekti */
.project-card:hover {
    transform: translateY(-10px) scale(1.035);
    box-shadow: 0 16px 48px 0 rgba(37, 99, 235, 0.18), 0 2px 12px 0 rgba(0, 0, 0, 0.10);
    border-bottom: 4px solid var(--secondary);
}

.project-detail-btn {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: var(--primary);
    color: var(--bg);
    border: none;
    border-radius: 999px;
    padding: 0.6rem 1.4rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.10);
    transition: background var(--transition), color var(--transition), transform 0.18s cubic-bezier(.4, 0, .2, 1), box-shadow 0.18s;
    will-change: transform;
    text-decoration: none;
    display: inline-block;
}

.project-detail-btn:hover {
    background: var(--secondary);
    color: var(--bg);
    transform: scale(1.07);
}

/* Buton Micro-Animasyon */
.project-detail-btn:active {
    transform: scale(0.97);
    box-shadow: 0 1px 4px rgba(37, 99, 235, 0.08);
}

/* Proje Modalı */
.project-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(24, 24, 27, 0.92);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition);
}

.project-modal.active {
    display: flex;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--card-bg);
    border-radius: 22px;
    border: 1.5px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 40px 0 rgba(37, 99, 235, 0.13), 0 1.5px 8px 0 rgba(0, 0, 0, 0.08);
    padding: 2.5rem 2rem;
    max-width: 540px;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: slideUp 0.4s cubic-bezier(.4, 0, .2, 1);
}

@keyframes slideUp {
    from {
        transform: translateY(60px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: none;
    border: none;
    color: var(--primary);
    font-size: 2rem;
    cursor: pointer;
    transition: color var(--transition);
}

.modal-close:hover {
    color: var(--secondary);
}

.modal-slider {
    width: 100%;
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.modal-slide {
    width: 140px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(56, 189, 248, 0.10);
    background: #fff1;
}

.modal-info h3 {
    color: var(--secondary);
    margin-bottom: 0.7rem;
}

.modal-info p {
    color: var(--text);
    opacity: 0.92;
    margin-bottom: 0.7rem;
}

.modal-info ul {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.modal-info li {
    background: var(--primary);
    color: var(--bg);
    border-radius: 999px;
    padding: 0.3rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.modal-links a {
    color: var(--primary);
    margin-right: 1.2rem;
    text-decoration: underline;
    font-weight: 600;
    transition: color var(--transition);
}

.modal-links a:hover {
    color: var(--secondary);
}

/* İletişim */
.contact-section {
    margin-top: 3rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 22px;
    border: 1.5px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 40px 0 rgba(37, 99, 235, 0.13), 0 1.5px 8px 0 rgba(0, 0, 0, 0.08);
    padding: 2.5rem 3rem 2rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.2rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem 1.2rem 1rem 2.8rem;
    border: none;
    border-radius: 999px;
    background: #232336;
    color: var(--text);
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: box-shadow var(--transition), background var(--transition);
    box-shadow: 0 2px 8px rgba(56, 189, 248, 0.06);
}

.contact-form textarea {
    border-radius: 18px;
    min-height: 90px;
    resize: vertical;
    padding-left: 2.8rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
    background: #232336;
    box-shadow: 0 0 0 2px var(--primary);
}

.form-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.7;
}

.send-btn {
    background: var(--primary);
    color: var(--bg);
    border: none;
    border-radius: 999px;
    padding: 0.8rem 2.2rem;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(37, 99, 235, 0.10);
    transition: background var(--transition), color var(--transition), transform 0.18s cubic-bezier(.4, 0, .2, 1), box-shadow 0.18s;
    will-change: transform;
    margin-top: 0.5rem;
}

.send-btn:hover {
    background: var(--secondary);
    color: var(--bg);
    transform: scale(1.07);
}

/* Buton Micro-Animasyon */
.send-btn:active {
    transform: scale(0.97);
    box-shadow: 0 1px 4px rgba(37, 99, 235, 0.08);
}

.form-message {
    margin-top: 1rem;
    color: var(--secondary);
    font-weight: 600;
    text-align: center;
    min-height: 1.2em;
}

/* Footer */
.footer {
    background: rgba(35, 35, 54, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -4px 32px rgba(37, 99, 235, 0.07);
    padding: 2rem 0 1.2rem 0;
    margin-top: 4rem;
    border-radius: var(--radius) var(--radius) 0 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.social-links a {
    margin-right: 1.2rem;
    display: inline-block;
    transition: transform var(--transition);
}

.social-links a:hover {
    transform: scale(1.18) rotate(-6deg);
}

.social-links img {
    width: 28px;
    height: 28px;
    filter: brightness(1.2) drop-shadow(0 0 2px var(--primary));
}

/* Başarılar */
.achievements-section {
    margin-top: 3rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

.achievement-card {
    background: var(--card-bg);
    border-radius: 22px;
    border: 1.5px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 40px 0 rgba(37, 99, 235, 0.13), 0 1.5px 8px 0 rgba(0, 0, 0, 0.08);
    padding: 2rem 1.5rem;
    transition: transform var(--transition), box-shadow var(--transition), background 0.18s, border 0.18s;
    cursor: pointer;
    border-bottom: 4px solid var(--primary);
    position: relative;
}

/* Kart Hover Efekti */
.achievement-card:hover {
    transform: scale(1.04) translateY(-6px);
    box-shadow: 0 16px 48px 0 rgba(37, 99, 235, 0.18), 0 2px 12px 0 rgba(0, 0, 0, 0.10);
    border-bottom: 4px solid var(--secondary);
    background: rgba(37, 99, 235, 0.07);
    border: 1.5px solid var(--secondary);
}

.achievement-card:hover .achievement-img {
    filter: brightness(1.15) drop-shadow(0 0 8px var(--secondary));
    transform: scale(1.07) rotate(-2deg);
}

.achievement-card h3 {
    color: var(--secondary);
    margin-bottom: 0.7rem;
}

.achievement-card p {
    color: var(--text);
    opacity: 0.92;
}

.achievement-img-wrapper {
    width: 100%;
    max-width: 180px;
    aspect-ratio: 4/3;
    background: #232336;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(30, 64, 175, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    overflow: hidden;
    border: 2px solid rgba(30, 64, 175, 0.08);
}

.achievement-img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: none;
    background: transparent;
    margin: 0;
    cursor: pointer;
    transition: transform 0.18s, box-shadow 0.18s;
    display: block;
}

.achievement-img:hover {
    transform: scale(1.04) rotate(-1deg);
    box-shadow: 0 8px 32px rgba(30, 64, 175, 0.18);
}

.certificate-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 18, 24, 0.92);
    align-items: center;
    justify-content: center;
    transition: opacity 0.22s;
}

.certificate-modal.active {
    display: flex;
}

.certificate-modal-img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 18px;
    box-shadow: 0 8px 40px rgba(30, 64, 175, 0.18);
    background: #fff1;
    object-fit: contain;
}

.certificate-modal-close {
    position: absolute;
    top: 2.5rem;
    right: 3rem;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
    z-index: 10;
    background: none;
    border: none;
    transition: color 0.18s;
}

.certificate-modal-close:hover {
    color: var(--secondary);
}

@media (max-width: 700px) {
    .certificate-modal-img {
        max-width: 98vw;
        max-height: 60vh;
    }

    .certificate-modal-close {
        top: 1.2rem;
        right: 1.2rem;
        font-size: 2.2rem;
    }
}

/* Responsive */
@media (max-width: 1024px) {

    .nav-container,
    .section,
    .footer-content {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .education-grid,
    .projects-grid,
    .tech-grid {
        gap: 1.2rem;
    }

    .about-content {
        gap: 1.5rem;
    }

    .section {
        padding: 4rem 0 2.5rem 0;
    }

    main {
        padding-top: 90px;
    }
}

@media (max-width: 900px) {

    .education-grid,
    .projects-grid {
        grid-template-columns: 1fr 1fr;
    }

    .tech-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .achievements-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .about-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.2rem;
        padding: 2rem 1rem;
    }

    .about-photo {
        width: 140px;
        height: 180px;
    }

    .education-grid,
    .projects-grid {
        grid-template-columns: 1fr;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .achievements-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 2.5rem 0 1.5rem 0;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .education-card,
    .project-card,
    .achievement-card,
    .about-photo-wrapper,
    .contact-form {
        border-radius: 14px;
    }

    .tech-card {
        border-radius: 18px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.7rem;
    }

    .cv-view {
        position: static;
        margin: 1.5rem 0 0 0;
        display: inline-block;
    }

    main {
        padding-top: 80px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 1rem 0;
    }

    .logo {
        width: 44px;
        height: 44px;
        padding: 6px;
    }

    .section h2 {
        font-size: 1.3rem;
    }

    .about-text h1 {
        font-size: 1.3rem;
    }

    .about-photo {
        width: 90px;
        height: 120px;
    }

    .modal-content {
        padding: 1.2rem 0.5rem;
    }
}

/* Section ve Kart Animasyonları */
.section,
.education-card,
.project-card,
.achievement-card,
.tech-card {
    opacity: 0;
    transform: translateY(80px) scale(0.97);
    transition: opacity 0.7s cubic-bezier(.4, 0, .2, 1), transform 0.7s cubic-bezier(.4, 0, .2, 1), box-shadow 0.7s;
    will-change: opacity, transform, box-shadow;
}

.section.visible,
.education-card.visible,
.project-card.visible,
.achievement-card.visible,
.tech-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    box-shadow: 0 16px 48px 0 rgba(37, 99, 235, 0.18), 0 2px 12px 0 rgba(0, 0, 0, 0.10);
}

.about-section,
.education-section,
.tech-section,
.projects-section,
.achievements-section,
.contact-section {
    padding-left: 4rem;
    padding-right: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {

    .about-section,
    .education-section,
    .tech-section,
    .projects-section,
    .achievements-section,
    .contact-section {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        max-width: 98vw;
    }
}

/* Sosyal Medya Bölümü (Diğer kartlarla aynı tasarım) */
.social-section {
    margin-top: 3rem;
    padding-left: 4rem;
    padding-right: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .social-section {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        max-width: 98vw;
    }
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-top: 2.5rem;
}

.social-card {
    background: var(--card-bg);
    border-radius: 22px;
    border: 1.5px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 40px 0 rgba(37, 99, 235, 0.13), 0 1.5px 8px 0 rgba(0, 0, 0, 0.08);
    padding: 2rem 1.5rem 1.2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition), box-shadow var(--transition), background 0.18s;
    cursor: pointer;
    text-decoration: none;
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 600;
    min-width: 0;
}

.social-card img {
    width: 44px;
    height: 44px;
    margin-bottom: 1.1rem;
    filter: drop-shadow(0 2px 8px rgba(37, 99, 235, 0.10));
    transition: filter 0.18s, transform 0.18s;
}

.social-card span {
    margin-top: 0.2rem;
    font-size: 1.08rem;
    font-weight: 600;
    color: #f4f4f5;
    letter-spacing: 0.5px;
    transition: color 0.18s;
}

.social-card:hover {
    transform: scale(1.06) translateY(-4px);
    box-shadow: 0 12px 48px 0 rgba(37, 99, 235, 0.18), 0 2px 12px 0 rgba(0, 0, 0, 0.10);
    background: rgba(37, 99, 235, 0.08);
}

.social-card:hover img {
    filter: brightness(1.3) drop-shadow(0 0 8px var(--secondary));
    transform: scale(1.12) rotate(-4deg);
}

.social-card:hover span {
    color: var(--secondary);
}

@keyframes socialSpanShine {
    0% {
        background-position: -100% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@media (max-width: 1024px) {
    .social-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.2rem;
    }
}

@media (max-width: 700px) {
    .social-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .social-card {
        padding: 1.2rem 1rem 1rem 1rem;
        font-size: 1rem;
    }

    .social-card img {
        width: 32px;
        height: 32px;
    }
}

.donut-chart {
    margin-top: 0.7rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 72px;
    height: 72px;
}

.donut-chart svg {
    display: block;
    width: 72px;
    height: 72px;
}

.donut-bg {
    fill: none;
    stroke: #232336;
    stroke-width: 7;
}

.donut-bar {
    fill: none;
    stroke: var(--primary);
    stroke-width: 7;
    stroke-linecap: round;
    stroke-dasharray: 150.72;
    stroke-dashoffset: 150.72;
    transform: rotate(-90deg);
    transform-origin: 50% 50%;
    transition: stroke-dashoffset 1.2s cubic-bezier(.4, 0, .2, 1);
}

.donut-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    pointer-events: none;
    letter-spacing: 0.5px;
}

@media (max-width: 900px) {

    .donut-chart,
    .donut-chart svg {
        width: 52px;
        height: 52px;
    }

    .donut-label {
        font-size: 1.05rem;
    }
}

.experience-section {
    margin-top: 3rem;
    padding-left: 4rem;
    padding-right: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    background: none !important;
    box-shadow: none !important;
}

.experience-section h2 {
    margin-bottom: 2.2rem;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--primary) 30%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.experience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
}

@media (max-width: 900px) {
    .experience-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .experience-grid {
        grid-template-columns: 1fr;
    }
}

.experience-card {
    background: var(--card-bg);
    border-radius: 22px;
    border: 1.5px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 40px 0 rgba(37, 99, 235, 0.13), 0 1.5px 8px 0 rgba(0, 0, 0, 0.08);
    padding: 2rem 1.5rem;
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
    border-left: 4px solid var(--primary);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    min-height: 180px;
}

.experience-card:hover {
    transform: translateY(-10px) scale(1.035);
    box-shadow: 0 16px 48px 0 rgba(37, 99, 235, 0.18), 0 2px 12px 0 rgba(0, 0, 0, 0.10);
    border-left: 4px solid var(--secondary);
}

.experience-card h3 {
    color: var(--primary);
    margin-bottom: 0.7rem;
    font-size: 1.18rem;
    font-weight: 700;
}

.exp-role {
    font-size: 1.05rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 0.1rem;
}

.exp-year {
    font-size: 0.98rem;
    color: #b3b3c6;
    margin-bottom: 0.2rem;
}

.experience-card p {
    color: var(--text);
    font-size: 1.01rem;
    margin-top: 0.2rem;
    line-height: 1.5;
    opacity: 0.92;
}

/* Deneyim bölümündeki ok işaretlerini kalınlaştır */
.experience-card p span {
    font-weight: bold !important;
}

@media (max-width: 1024px) {
    .experience-section {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        max-width: 98vw;
    }

    .experience-grid {
        gap: 1.2rem;
    }
}

@media (max-width: 700px) {
    .experience-card {
        border-radius: 14px;
    }

    .experience-section h2 {
        font-size: 1.5rem;
    }
}

.hero-section {
    width: 100vw;
    height: 100vh;
    min-height: 540px;
    background: linear-gradient(120deg, #232336 60%, #18181b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.hero-bg-anim {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero-svg-bg {
    width: 100vw;
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.85;
    filter: blur(0.5px) brightness(1.1);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-family: 'Inter', 'Poppins', Arial, sans-serif;
    font-size: 3.2rem;
    font-weight: 900;
    letter-spacing: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, #0ea5e9 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    margin-bottom: 1.2rem;
    opacity: 0;
    animation: heroTitleAnim 1.2s 0.2s cubic-bezier(.4, 0, .2, 1) forwards, heroTitleShine 2.8s linear infinite;
    position: relative;
}

@keyframes heroTitleShine {
    0% {
        background-position: -100% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.hero-subtitle {
    font-family: 'Inter', 'Poppins', Arial, sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    background: linear-gradient(90deg, #22d3ee 0%, var(--primary) 60%, var(--secondary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    opacity: 0.85;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: heroSubtitleAnim 1.2s 0.7s cubic-bezier(.4, 0, .2, 1) forwards, heroSubtitleGradient 5s linear infinite;
}

@keyframes heroSubtitleGradient {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroTitleAnim {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes heroSubtitleAnim {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-down {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    opacity: 0;
    animation: heroSubtitleAnim 1.2s 1.2s cubic-bezier(.4, 0, .2, 1) forwards;
}

.scroll-down span {
    color: #e5e7eb;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

.scroll-arrow {
    width: 28px;
    height: 28px;
    border-left: 3px solid #e5e7eb;
    border-bottom: 3px solid #e5e7eb;
    transform: rotate(-45deg);
    margin-top: 0.2rem;
    animation: arrowBounce 1.2s infinite alternate cubic-bezier(.4, 0, .2, 1);
}

@keyframes arrowBounce {
    from {
        transform: translateY(0) rotate(-45deg);
    }

    to {
        transform: translateY(12px) rotate(-45deg);
    }
}

@media (max-width: 700px) {
    .hero-title {
        font-size: 2.1rem;
    }

    .hero-subtitle {
        font-size: 1.01rem;
    }

    .hero-section {
        min-height: 340px;
    }
}

/* Proje Detay Sayfası */
.project-detail-content {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
    align-items: flex-start;
}

.project-detail-gallery {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    min-width: 260px;
    max-width: 340px;
}

.project-detail-gallery img {
    width: 100%;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(56, 189, 248, 0.10);
    background: #fff1;
    object-fit: cover;
}

.project-detail-image {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(56, 189, 248, 0.10);
    background: #fff1;
    object-fit: cover;
    margin-bottom: 1.2rem;
    transition: transform 0.22s cubic-bezier(.4, 0, .2, 1), box-shadow 0.22s;
}

.project-detail-image:hover {
    transform: scale(1.03) rotate(-1deg);
    box-shadow: 0 8px 32px rgba(56, 189, 248, 0.18);
}

.project-detail-section {
    margin-bottom: 2.2rem;
    background: rgba(35, 35, 54, 0.10);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 1px 6px rgba(30, 64, 175, 0.06);
}

.project-detail-section h3 {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.7rem;
}

.project-detail-section p {
    font-size: 1.05rem;
    color: var(--text);
    opacity: 0.93;
    margin-bottom: 0;
}

.project-detail-info {
    flex: 1;
    min-width: 260px;
    max-width: 600px;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.project-detail-info p {
    font-size: 1.1rem;
    color: var(--text);
    opacity: 0.95;
}

.project-detail-techs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-bottom: 1rem;
    list-style: none;
    padding: 0;
}

.project-detail-techs li {
    background: var(--primary);
    color: var(--bg);
    border-radius: 999px;
    padding: 0.3rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
}

@media (max-width: 900px) {
    .project-detail-content {
        flex-direction: column;
        gap: 1.5rem;
    }

    .project-detail-gallery {
        flex-direction: row;
        max-width: 100%;
        gap: 1rem;
    }

    .project-detail-gallery img {
        max-width: 180px;
        min-width: 0;
    }
}

/* Container Stilleri */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Proje Detay Sayfası Stilleri */

/* Proje Hero Bölümü */
.project-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    padding: 6rem 0 4rem 0;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.project-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.project-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.project-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.project-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.project-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.project-category,
.project-year {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

/* Proje Galeri Bölümü */
.project-gallery-section {
    padding: 4rem 0;
}

.project-gallery-section h2 {
    color: var(--primary);
    font-size: 2.4rem;
    margin-bottom: 2.8rem;
    text-align: center;
    font-weight: 700;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
}

.gallery-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    background: var(--card-bg);
    transition: all 0.3s ease;
}

.gallery-frame:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.gallery-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-frame:hover .gallery-image {
    transform: scale(1.05);
}

/* Telefon ekranı görselleri için özel stiller */
.gallery-image[src*="ogrenio"] {
    height: 350px;
    /* Telefon ekranları için daha yüksek */
    object-fit: contain;
    /* Görselin tamamını göster */
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    /* Telefon arka planı */
    padding: 15px;
    /* Telefon çerçevesi için padding */
    border: 3px solid #cbd5e1;
    /* Telefon çerçevesi */
    border-radius: 25px;
    /* Telefon köşeleri */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.gallery-frame:hover .gallery-image[src*="ogrenio"] {
    transform: scale(1.02);
    /* Daha az büyütme */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Yatay format görselleri için özel stiller (realTimeObjectRecognition) */
.gallery-image[src*="realTimeObjectRecognition"] {
    height: 300px;
    /* Yatay görseller için uygun yükseklik */
    object-fit: contain;
    /* Görselin tamamını göster */
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    /* Koyu arka plan */
    padding: 20px;
    /* Çerçeve için padding */
    border: 2px solid #475569;
    /* Çerçeve */
    border-radius: 15px;
    /* Köşeler */
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.2);
}

.gallery-frame:hover .gallery-image[src*="realTimeObjectRecognition"] {
    transform: scale(1.03);
    /* Hafif büyütme */
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.25);
}

/* CNN Görüntü Sınıflandırma görselleri için özel stiller */
.gallery-image[src*="cnnGoruntuSiniflandirma"] {
    height: 320px;
    /* CNN görselleri için uygun yükseklik */
    object-fit: contain;
    /* Görselin tamamını göster */
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    /* Koyu mavi arka plan */
    padding: 18px;
    /* Çerçeve için padding */
    border: 2px solid #334155;
    /* Çerçeve */
    border-radius: 12px;
    /* Köşeler */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.gallery-frame:hover .gallery-image[src*="cnnGoruntuSiniflandirma"] {
    transform: scale(1.02);
    /* Hafif büyütme */
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-frame:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-caption {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Proje Detayları Bölümü */
.project-details-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #232336 0%, #18181b 100%);
    margin-top: 2rem;
}

.project-details-section h2 {
    color: var(--primary);
    font-size: 2.4rem;
    margin-bottom: 2.8rem;
    text-align: center;
    font-weight: 700;
}

.project-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-detail-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.project-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.2);
}

.project-detail-card h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.project-detail-card p {
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* Özellikler Listesi */
.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.feature-list li {
    color: var(--text);
    font-size: 1rem;
    line-height: 1.5;
    padding-left: 0.5rem;
}

/* Teknoloji Grid */
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

.tech-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.tech-item span {
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.tech-descriptions {
    margin-top: 1.5rem;
}

.tech-descriptions p {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.8rem;
    padding-left: 0.5rem;
    border-left: 3px solid var(--primary);
}

.tech-descriptions strong {
    color: var(--primary);
    font-weight: 600;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
}

.timeline-marker {
    position: absolute;
    left: -1.5rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--card-bg);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.timeline-content h4 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.timeline-content p {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Proje Linkleri */
.project-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.github-link {
    background: linear-gradient(135deg, #333 0%, #555 100%);
    color: white;
}

.github-link:hover {
    background: linear-gradient(135deg, #555 0%, #777 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.demo-link {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

.demo-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.google-play-link {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.2);
}

.google-play-link:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.google-play-link svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .project-title {
        font-size: 2rem;
    }

    .project-subtitle {
        font-size: 1rem;
    }

    .project-gallery-grid {
        grid-template-columns: 1fr;
    }

    .project-details-grid {
        grid-template-columns: 1fr;
    }

    .project-links {
        flex-direction: column;
        align-items: center;
    }

    .project-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    /* Tablet boyutunda telefon ekranı görselleri */
    .gallery-image[src*="ogrenio"] {
        height: 320px;
        padding: 12px;
        border-radius: 22px;
    }

    /* Tablet boyutunda yatay format görselleri */
    .gallery-image[src*="realTimeObjectRecognition"] {
        height: 280px;
        padding: 15px;
        border-radius: 12px;
    }

    /* Tablet boyutunda CNN görselleri */
    .gallery-image[src*="cnnGoruntuSiniflandirma"] {
        height: 300px;
        padding: 15px;
        border-radius: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .project-hero {
        padding: 4rem 0 2rem 0;
    }

    .project-title {
        font-size: 1.5rem;
    }

    .project-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .gallery-image {
        height: 200px;
    }

    /* Mobil cihazlarda telefon ekranı görselleri için özel boyut */
    .gallery-image[src*="ogrenio"] {
        height: 280px;
        padding: 10px;
        border-radius: 20px;
    }

    /* Mobil cihazlarda yatay format görselleri için özel boyut */
    .gallery-image[src*="realTimeObjectRecognition"] {
        height: 250px;
        padding: 12px;
        border-radius: 10px;
    }

    /* Mobil cihazlarda CNN görselleri için özel boyut */
    .gallery-image[src*="cnnGoruntuSiniflandirma"] {
        height: 270px;
        padding: 10px;
        border-radius: 8px;
    }
}

/* Image Modal Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity var(--transition);
}

.image-modal.active {
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform var(--transition);
}

.modal-image:hover {
    transform: scale(1.02);
}

.modal-caption {
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(30, 64, 175, 0.2);
    border-radius: var(--radius);
    backdrop-filter: blur(10px);
}

.close-modal {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--text);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color var(--transition), transform var(--transition);
    z-index: 10000;
}

.close-modal:hover {
    color: var(--secondary);
    transform: scale(1.1);
}



/* Gallery image cursor pointer */
.gallery-image {
    cursor: pointer;
    transition: transform var(--transition);
}

.gallery-image:hover {
    transform: scale(1.05);
}

.gallery-frame {
    cursor: pointer;
}

/* Responsive modal */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95%;
        max-height: 95%;
    }

    .close-modal {
        top: -40px;
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .close-modal {
        top: -35px;
        font-size: 1.3rem;
    }

    .modal-caption {
        font-size: 1rem;
        margin-top: 0.5rem;
    }
}

/* Başlık ve Tarihi kapsayan kutu */
.education-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

/* H3'ün kendi varsayılan boşluğunu sıfırlamak gerekebilir */
.education-header h3 {
    margin: 0;
    font-size: 1.2rem;
}

/* Tarih kısmının stili */
.education-header .date {
    font-weight: bold;
    color: #07a9e4;
    white-space: nowrap;
}