/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    /* Varsayılan (Açık) Tema Değişkenleri */
    --bg-color: #fafafa;
    --second-bg-color: #ffffff;
    --text-color: #1a1a1a;
    --text-secondary: #6b6b6b;
    --main-color: #0a0a0a;
    --accent-color: #444444;
    --hover-color: #f0f0f0;
    --card-bg: rgba(0, 0, 0, 0.03);
    --border-color: rgba(0, 0, 0, 0.08);
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --accent-blue: #188AEC;
}

/* Koyu Tema Sınıfı */
body.dark-mode {
    --bg-color: #0a0a0a;
    --second-bg-color: #111111;
    --text-color: #f0f0f0;
    --text-secondary: #888888;
    --main-color: #ffffff;
    --accent-color: #d4d4d4;
    --hover-color: #1a1a1a;
    --card-bg: rgba(255, 255, 255, 0.04);
    --border-color: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    border: none;
    outline: none;
    scroll-behavior: smooth;
    font-family: var(--font-body);
}

body {
    background: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    transition: background 0.3s ease, color 0.3s ease;
}

/* Grid Arka Plan */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black 30%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black 30%, transparent 100%);
}

body.dark-mode .grid-bg {
    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);
}

/* Navigasyon Barı */
.navbar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 4rem);
    max-width: 1200px;
    padding: 0.85rem 1.8rem;
    margin-top: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 100px;
    transition: background 0.3s ease;
}

body.dark-mode .navbar {
    background: rgba(18, 18, 18, 0.8);
    border-color: rgba(255, 255, 255, 0.06);
}

.logo {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    cursor: pointer;
    letter-spacing: -0.02em;
}

.logo span {
    color: var(--text-secondary);
    font-weight: 400;
}

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

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 400;
    transition: color .3s ease;
    letter-spacing: 0.01em;
}

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

.btn-contact {
    padding: 0.5rem 1.5rem;
    background: var(--text-color);
    border-radius: 2rem;
    color: var(--bg-color) !important;
    font-weight: 500 !important;
    transition: 0.3s ease;
    font-size: 0.85rem !important;
}

body.dark-mode .btn-contact {
    color: var(--bg-color) !important;
}

.btn-contact:hover {
    opacity: 0.85;
}

/* Hamburger Menü Stilleri */
.hamburger {
    display: none;
    cursor: pointer;
    z-index: 101;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-color);
    border-radius: 3px;
}

/* Hero Section */
section {
    min-height: 100vh;
    padding: 10rem 9% 6rem;
}

.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5rem;
}

.hero-content h3 {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.hero-content h1 {
    font-family: var(--font-body);
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-color);
    margin-bottom: 8px;
}

.hero-content h2 {
    font-family: var(--font-body);
    font-size: 1.4rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.hero-content h2 span {
    color: var(--text-color);
    font-weight: 600;
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    max-width: 600px;
    line-height: 1.8;
    color: var(--text-secondary);
    font-weight: 300;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2.8rem;
    height: 2.8rem;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin: 0 0.8rem 2rem 0;
    transition: all .3s ease;
}

/* Hover effects moved to bottom for unified social links styling */

.btn {
    display: inline-block;
    padding: 0.8rem 2.5rem;
    background: var(--text-color);
    border-radius: 2rem;
    font-size: 0.95rem;
    color: var(--bg-color);
    font-weight: 500;
    transition: all .3s ease;
    letter-spacing: 0.01em;
}

body.dark-mode .btn {
    color: var(--bg-color);
}

.btn:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

body.dark-mode .btn:hover {
    color: var(--bg-color);
}

.hero-img img {
    width: 25vw;
    height: 25vw;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    animation: floatImage 4s ease-in-out infinite;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    filter: grayscale(20%);
}

@keyframes floatImage {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0);
    }
}

.heading {
    text-align: center;
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* Hakkımda */
.about {
    background: var(--second-bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.about-content {
    background: transparent;
    padding: 0;
    border-radius: 0;
    border: none;
    max-width: 900px;
    text-align: left;
    width: 100%;
}

.about-text-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
}

.about-text {
    flex: 1;
}

.about-text p {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 0;
}

.stat-item h4 {
    font-size: 2.2rem;
    color: var(--text-color);
    font-family: var(--font-body);
    font-weight: 800;
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* Yetenekler */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
}

.skill-card {
    background: var(--card-bg);
    padding: 1.5rem 1rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
    cursor: pointer;
    gap: 0.8rem;
}

.skill-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 0, 0, 0.15);
    background: rgba(0, 0, 0, 0.04);
}

body.dark-mode .skill-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.06);
}

.skill-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    transition: filter 0.3s ease;
}

.invert-on-light {
    filter: invert(1);
}

body.dark-mode .invert-on-light {
    filter: none;
}

.skill-card h3 {
    font-size: 1rem;
    font-weight: 500;
}

/* Yetenek Kategori Başlıkları */
.skills-category-title,
.tools-heading {
    text-align: center;
    font-family: var(--font-body);
    font-size: 1.4rem;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    opacity: 0.7;
}

.skills-category-title:first-of-type {
    margin-top: 0;
}

.skills-category-title::after,
.tools-heading::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--accent-blue);
    margin: 0.6rem auto 0;
    opacity: 0.8;
    border-radius: 2px;
}


/* Projeler */
.projects {
    background: var(--second-bg-color);
    transition: background 0.3s ease;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.project-card {
    background: var(--card-bg);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: 0.3s ease;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

body.dark-mode .project-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.project-card-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.project-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Resim olmayan projeler için placeholder */
.project-card-placeholder {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.04) 0%, rgba(0, 0, 0, 0.01) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.project-card-placeholder span {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--accent-blue);
    text-align: center;
    line-height: 1.3;
}

body.dark-mode .project-card-placeholder {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.project-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-content-wrapper {
    margin-bottom: 15px;
}

.project-content-wrapper h3 {
    font-family: var(--font-body);
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.project-content-wrapper p {
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.project-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags span {
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-secondary);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    font-family: var(--font-mono);
}

body.dark-mode .tags span {
    background: rgba(255, 255, 255, 0.06);
}

.links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.links a {
    color: var(--text-color);
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    transition: 0.3s;
    padding: 5px 0;
    transition: 0.3s;
    position: relative;
    z-index: 2;
}

.project-card .links a:first-child {
    position: static;
}

.project-card .links a:first-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

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

/* Tüm Projeleri Gör Butonu */
.show-all-projects-btn {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.show-all-projects-btn a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 2.5rem;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 2rem;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
    transition: 0.3s ease;
    cursor: pointer;
}

.show-all-projects-btn a:hover {
    background: var(--text-color);
    color: var(--bg-color);
    border-color: var(--text-color);
}

body.dark-mode .show-all-projects-btn a:hover {
    color: var(--bg-color);
}

/* Sertifikalar */
.certificates {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.cert-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.cert-slider-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
    min-height: 220px;
}

/* Slider geçiş animasyonu */
.cert-slider-track .cert-card {
    animation: certFadeIn 0.4s ease forwards;
}

@keyframes certFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cert-slider-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.cert-slider-nav button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: var(--text-color);
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.cert-slider-nav button:hover {
    background: var(--text-color);
    color: var(--bg-color);
    border-color: var(--text-color);
}

.cert-slider-nav button:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.cert-slider-nav button:disabled:hover {
    background: var(--card-bg);
    color: var(--text-color);
    border-color: var(--border-color);
}

.cert-slider-dots {
    display: flex;
    gap: 8px;
}

.cert-slider-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    transition: 0.3s;
    cursor: pointer;
}

.cert-slider-dots span.active {
    background: var(--text-color);
    width: 24px;
    border-radius: 4px;
}

.show-all-certs-btn {
    display: flex;
    justify-content: center;
    margin-top: 2.5rem;
}

.show-all-certs-btn a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.7rem 2rem;
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: 2rem;
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: 500;
    transition: 0.3s ease;
}

.show-all-certs-btn a:hover {
    background: var(--text-color);
    color: var(--bg-color);
    border-color: var(--text-color);
}

body.dark-mode .show-all-certs-btn a:hover {
    color: var(--bg-color);
}

.cert-card {
    background: var(--card-bg);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    padding: 1.2rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: 0.3s ease;
    color: var(--text-color);
    position: relative;
    min-width: 0;
}

.cert-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

body.dark-mode .cert-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.cert-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 0.5rem;
}

.cert-card .cert-links a {
    position: relative;
    z-index: 2;
}

.cert-card .cert-links a:first-child {
    position: static;
}

.cert-card .cert-links a:first-child::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cert-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
}

body.dark-mode .cert-icon {
    background: rgba(255, 255, 255, 0.06);
}

.cert-icon i {
    font-size: 1.4rem;
    color: var(--accent-blue);
}

.cert-info {
    flex: 1;
    min-width: 0;
}

.cert-info h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.cert-issuer,
.cert-date {
    font-size: 0.85rem;
    opacity: 0.6;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cert-issuer i,
.cert-date i {
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.8;
}

.cert-verify {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    transition: 0.3s;
    font-weight: 500;
}

.cert-verify:hover {
    color: var(--text-color);
}

.cert-verify i {
    font-size: 0.7rem;
}

/* Footer */
.status-iframe-dark {
    display: none;
}

body.dark-mode .status-iframe-dark {
    display: block;
}

body.dark-mode .status-iframe-light {
    display: none;
}
footer {
    background: var(--bg-color);
    padding: 4rem 9% 2rem;
    border-top: 1px solid var(--border-color);
    transition: background 0.3s ease;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col:nth-child(1) {
    flex: 2;
    min-width: 250px;
    padding-right: 2rem;
}

.footer-col:nth-child(2),
.footer-col:nth-child(3),
.footer-col:nth-child(4) {
    flex: 1;
    min-width: 150px;
}

.footer-col h3 {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-color);
    font-weight: 800;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-col p {
    font-size: 0.95rem;
    color: var(--text-color);
    opacity: 0.7;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col ul li a {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.95rem;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: var(--main-color);
    opacity: 1;
    padding-left: 5px;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
}

.footer-social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 2.5rem;
    height: 2.5rem;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 50%;
    color: var(--text-secondary);
    font-size: 1.1rem;
    transition: 0.3s ease;
}

body.dark-mode .footer-social-links a {
    background: rgba(255, 255, 255, 0.06);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    gap: 1rem;
}

.footer-bottom p {
    color: var(--text-color);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Tema Değiştirici */
.theme-switcher {
    display: flex;
    justify-content: center;
    align-items: center;
}

.theme-toggle-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: 0.3s;
}

.theme-toggle-btn:hover {
    background: var(--hover-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.theme-toggle-btn i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Light mode state (varsayılan): Sun visible, Moon hidden top */
.theme-toggle-btn .fa-sun {
    top: 50%;
    opacity: 1;
}
.theme-toggle-btn .fa-moon {
    top: -50%;
    opacity: 0;
}

/* Dark mode state: Moon visible, Sun hidden bottom */
body.dark-mode .theme-toggle-btn .fa-moon {
    top: 50%;
    opacity: 1;
}
body.dark-mode .theme-toggle-btn .fa-sun {
    top: 150%;
    opacity: 0;
}

/* Sosyal Medya İkonları Hover Animasyonları */
.social-icons a:hover,
.footer-social-links a:hover {
    transform: translateY(-3px) scale(1.05);
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.social-icons a.social-github:hover,
.footer-social-links a.social-github:hover {
    background: #333;
    border-color: #333;
}

.social-icons a.social-linkedin:hover,
.footer-social-links a.social-linkedin:hover {
    background: #0077b5;
    border-color: #0077b5;
}

.social-icons a.social-instagram:hover,
.footer-social-links a.social-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: transparent;
}

.social-icons a.social-mail:hover,
.footer-social-links a.social-mail:hover {
    background: #ea4335;
    border-color: #ea4335;
}

/* Animasyonlar */
.hidden-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 1s ease;
}

.hidden-scroll-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 1s ease;
}

.hidden-scroll-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 1s ease;
}

.show-scroll {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* Modal Stilleri */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90vh;
    margin-top: 5vh;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
    object-fit: contain;
}

iframe.modal-content {
    width: 80%;
    height: 80vh;
}

@keyframes zoomIn {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    transition: 0.3s;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal svg {
    width: 35px;
    height: 35px;
}

.close-modal:hover,
.close-modal:focus {
    color: #ef5350;
    text-decoration: none;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 991px) {
    .navbar {
        width: calc(100% - 2rem);
        padding: 0.8rem 1.5rem;
    }

    section {
        padding: 10rem 4% 4rem;
    }

    footer {
        padding: 4rem 4% 2rem;
    }

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

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

@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(250, 250, 250, 0.97);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateY(-100%);
        transition: transform 0.4s ease-in-out;
        z-index: 99;
    }

    body.dark-mode .nav-links {
        background: rgba(10, 10, 10, 0.97);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links a {
        font-size: 1.3rem;
        color: var(--text-color);
        opacity: 0;
        transform: translateY(-20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
    }

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

    .nav-links.active li:nth-child(1) a {
        transition-delay: 0.1s;
    }

    .nav-links.active li:nth-child(2) a {
        transition-delay: 0.2s;
    }

    .nav-links.active li:nth-child(3) a {
        transition-delay: 0.3s;
    }

    .nav-links.active li:nth-child(4) a {
        transition-delay: 0.4s;
    }

    .nav-links.active li:nth-child(5) a {
        transition-delay: 0.5s;
    }

    .nav-links.active li:nth-child(6) a {
        transition-delay: 0.6s;
    }

    .about-text-container {
        flex-direction: column;
        gap: 2.5rem;
    }

    .stats {
        flex-direction: row;
        justify-content: center;
        width: 100%;
        gap: 4rem;
    }

    .hero {
        flex-direction: column-reverse;
    }

    .hero-img img {
        width: 60vw;
        height: 60vw;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

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

    .cert-slider-track {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}