:root {
    --bg: #0b1121;
    --bg-grid: rgba(96, 165, 250, 0.05);
    --bg-card: rgba(15, 23, 42, 0.8);
    --text: #F8FAFC;
    --text-dim: #94A3B8;
    --accent: #38BDF8;
    --accent-glow: rgba(56, 189, 248, 0.2);
    --green: #22C55E;
    --orange: #FB923C;
    --purple: #818CF8;
    --border: rgba(255, 255, 255, 0.05);
    --font-sans: 'Space Grotesk', 'Inter', system-ui, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

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

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: default;
}

/* Drifting Clouds */
.floating-clouds-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    overflow: hidden;
}

.drifting-cloud {
    position: absolute;
    filter: grayscale(1) brightness(2);
    will-change: transform;
}

@keyframes drift {
    from {
        transform: translateX(-10vw);
    }

    to {
        transform: translateX(110vw);
    }
}

/* Blueprint Grid Overlay */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--bg-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -3;
    pointer-events: none;
}

/* Noise Texture */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.02;
    z-index: -1;
    pointer-events: none;
}

::selection {
    background: var(--accent);
    color: var(--bg);
}

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

.accent {
    color: var(--accent);
}

/* ─── HERO CANVAS ─── */
#hero-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* ─── HEADER ─── */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    background: rgba(11, 17, 33, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.25rem;
}

.logo-text {
    font-weight: 700;
    font-size: 1.2rem;
    font-family: var(--font-mono);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

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

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

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

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

.nav-cta {
    text-decoration: none;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--accent);
    border-radius: 99px;
    transition: all 0.3s;
}

.nav-cta:hover {
    background: var(--accent);
    color: var(--bg);
}

/* ─── HAMBURGER MENU ─── */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 101;
}

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

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(11, 17, 33, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 1rem 0;
    flex-direction: column;
    z-index: 99;
    animation: slideDown 0.3s ease;
}

.mobile-menu.active {
    display: flex;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-menu a {
    padding: 0.75rem 2rem;
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.9rem;
    border-top: 1px solid var(--border);
    transition: all 0.3s;
}

.mobile-menu a:first-child {
    border-top: none;
}

.mobile-menu a:hover {
    color: var(--accent);
    background: rgba(96, 165, 250, 0.05);
    padding-left: 2.5rem;
}

.mobile-cta {
    color: var(--accent) !important;
    font-weight: 600;
    border-top: 1px solid var(--border);
}

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    padding-top: 80px;
}

.hero-content {
    text-align: center;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--green);
    padding: 0.5rem 1.25rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 2.5rem;
    font-family: var(--font-mono);
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
    }
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.rotating-text-wrapper {
    display: inline-block;
    position: relative;
    height: 1.15em;
    overflow: hidden;
    vertical-align: bottom;
}

.rotating-text {
    display: block;
    background: linear-gradient(135deg, var(--accent), var(--purple));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rotate-words 8s infinite;
    position: absolute;
    left: 0;
    opacity: 0;
    width: 100%;
}

.rotating-text:nth-child(1) {
    animation-delay: 0s;
}

.rotating-text:nth-child(2) {
    animation-delay: 2s;
}

.rotating-text:nth-child(3) {
    animation-delay: 4s;
}

.rotating-text:nth-child(4) {
    animation-delay: 6s;
}

@keyframes rotate-words {

    0%,
    2% {
        opacity: 0;
        transform: translateY(100%);
    }

    5%,
    20% {
        opacity: 1;
        transform: translateY(0);
    }

    23%,
    100% {
        opacity: 0;
        transform: translateY(-100%);
    }
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--text-dim);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.hero-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.02);
}

.hero-link i {
    width: 18px;
    height: 18px;
}

.hero-link:hover {
    border-color: var(--accent);
    color: var(--text);
    background: rgba(96, 165, 250, 0.05);
    transform: translateY(-2px);
}

.hero-link.highlight {
    border-color: var(--accent);
    color: var(--accent);
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dim);
    opacity: 0.4;
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

.scroll-indicator i {
    width: 20px;
    height: 20px;
}

@keyframes bounce {

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

    50% {
        transform: translateY(8px);
    }
}

/* ─── ABOUT ─── */
.about {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.github-activity-wrapper {
    grid-column: 1 / -1;
    /* Full width on the second row */
    width: 100%;
}

.about-info h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text);
}

.about-info p {
    color: var(--text-dim);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
    display: block;
    font-family: var(--font-mono);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
    display: block;
}

/* ─── GITHUB ACTIVITY ─── */
.github-activity {
    margin-top: 3.5rem;
    background: #0f172a;
    /* Solid background to hide grid */
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.github-activity::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.github-title {
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-mono);
    color: var(--text-dim);
}

.github-title i {
    width: 16px;
    height: 16px;
}

.github-graph {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.github-heatmap {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow-x: auto;
    display: flex;
    justify-content: center;
}

.github-heatmap img {
    min-width: 800px;
    max-width: 100%;
    height: auto;
    filter: brightness(1.2);
    transition: transform 0.3s ease;
}

.github-heatmap img:hover {
    transform: scale(1.02);
}

.github-cards {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
}

.github-cards img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .github-graph {
        flex-direction: column;
        align-items: center;
    }
}

/* ─── TERMINAL ─── */
.terminal-window {
    background: #0a0a0a;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
}

.terminal-header {
    background: #161616;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-dim);
}

.terminal-body {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    min-height: 320px;
}

.terminal-body .terminal-line {
    margin-bottom: 0.25rem;
}

.terminal-body .terminal-output {
    color: var(--text-dim);
    margin-bottom: 1rem;
    white-space: pre-wrap;
    line-height: 1.7;
}

.prompt {
    color: var(--green);
}

.command {
    color: var(--text);
}

/* ─── EXPERIENCE ─── */
.experience {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 5px;
    bottom: 5px;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--accent), transparent);
}

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

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-marker {
    position: absolute;
    left: -3rem;
    top: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-dot {
    width: 12px;
    height: 12px;
    background: var(--bg);
    border: 3px solid var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent-glow);
    z-index: 2;
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.timeline-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateX(10px);
    background: rgba(15, 23, 42, 0.9);
}

.timeline-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    min-height: 80px;
}

.company-logo {
    width: auto;
    height: 100%;
    max-height: 80px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    aspect-ratio: 1;
}

.timeline-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.timeline-top h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.timeline-role {
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
    font-family: var(--font-mono);
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem 1rem;
    border-radius: 99px;
    white-space: nowrap;
    align-self: flex-start;
}

.timeline-card ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.timeline-card li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-dim);
    font-size: 0.95rem;
}

.timeline-card li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.timeline-tags {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.timeline-tags span {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-dim);
    background: rgba(255, 255, 255, 0.03);
    padding: 0.3rem 0.8rem;
    border-radius: 6px;
    border: 1px solid var(--border);
}

/* Marquee */
.skills-marquee {
    overflow: hidden;
    margin-bottom: 4rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.marquee-track {
    display: flex;
    gap: 3rem;
    animation: marquee 25s linear infinite;
    width: max-content;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dim);
    opacity: 0.3;
    white-space: nowrap;
    transition: opacity 0.3s;
}

.marquee-item img {
    height: 30px;
    width: auto;
    object-fit: contain;
}

.marquee-item:hover {
    opacity: 1;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

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

.skill-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
}

.skill-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.skill-card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.skill-card:hover .skill-card-glow {
    opacity: 0.15;
}

.skill-card i {
    width: 28px;
    height: 28px;
    margin-bottom: 1rem;
    color: var(--accent);
}

.skill-card h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.skill-card p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ─── PROJECTS ─── */
.projects {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.projects-list {
    display: flex;
    flex-direction: column;
}

.project-row {
    display: grid;
    grid-template-columns: 80px 1fr auto 60px;
    gap: 2rem;
    align-items: center;
    padding: 2.5rem 2rem;
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
}

.project-row:first-child {
    border-top: 1px solid var(--border);
}

.project-row:hover {
    background: rgba(96, 165, 250, 0.03);
    padding-left: 3rem;
}

.project-number {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-dim);
    opacity: 0.3;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-content p {
    color: var(--text-dim);
    font-size: 0.95rem;
    max-width: 500px;
}

.project-stack {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 350px;
}

.project-stack span {
    font-size: 0.7rem;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-family: var(--font-mono);
}

.project-arrow {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border);
    color: var(--text-dim);
    transition: all 0.3s;
    text-decoration: none;
}

.project-row:hover .project-arrow {
    background: var(--accent);
    color: var(--bg);
    border-color: var(--accent);
    transform: rotate(-45deg) scale(1.1);
}

.project-arrow i {
    width: 20px;
    height: 20px;
}

/* ─── EDUCATION ─── */
.education {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

.edu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.edu-block h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.edu-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
}

.edu-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.edu-school {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.edu-meta {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-family: var(--font-mono);
    margin-bottom: 0.75rem;
}

.edu-card p:last-child {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* ─── FOOTER ─── */
footer {
    padding: 3rem 0;
    border-top: 1px solid var(--border);
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left p {
    color: var(--text-dim);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

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

.footer-right a {
    color: var(--text-dim);
    transition: color 0.3s;
}

.footer-right a:hover {
    color: var(--text);
}

.footer-right a i {
    width: 22px;
    height: 22px;
}

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ─── */

/* Tablet: 1024px ve altı */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 6vw, 5rem);
    }

    .hero-sub {
        font-size: 1rem;
    }

    .about-grid {
        gap: 3rem;
    }

    .about-info h2 {
        font-size: 2rem;
    }

    .terminal-body {
        min-height: 280px;
    }

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

    .skill-card {
        padding: 1.5rem;
    }

    .skill-card h3 {
        font-size: 0.95rem;
    }

    .skill-card p {
        font-size: 0.8rem;
    }

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

    .project-row {
        grid-template-columns: 60px 1fr auto;
        gap: 1.5rem;
        padding: 2rem;
    }

    .project-stack {
        display: none;
    }

    .timeline {
        padding-left: 2.5rem;
    }

    .timeline-marker {
        left: -2.75rem;
    }

    .about {
        padding: 80px 0;
    }

    .experience {
        padding: 80px 0;
    }

    .projects {
        padding: 80px 0;
    }

    .education {
        padding: 80px 0;
    }
}

/* Mobile: 768px ve altı */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }

    .container {
        padding: 0 1.25rem;
    }

    header {
        padding: 1rem 0;
    }

    nav {
        gap: 0.5rem;
    }

    .logo-text {
        font-size: 1rem;
    }

    .logo-icon {
        font-size: 1.1rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .nav-cta {
        display: none;
    }

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

    .hero h1 {
        font-size: clamp(2rem, 7vw, 3rem);
        line-height: 1.2;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.35rem 1rem;
    }

    .hero-sub {
        font-size: 0.95rem;
        margin: 1.5rem auto 2rem;
    }

    .hero-links {
        gap: 0.75rem;
        margin-bottom: 2rem;
    }

    .hero-link {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }

    .scroll-indicator {
        font-size: 0.7rem;
    }

    .about {
        padding: 60px 0;
    }

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

    .about-info h2 {
        font-size: 1.6rem;
    }

    .about-info p {
        font-size: 0.95rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .stat {
        padding: 1.2rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .terminal-window {
        border-radius: 12px;
    }

    .terminal-header {
        padding: 0.6rem 0.75rem;
    }

    .terminal-body {
        padding: 1rem;
        font-size: 0.75rem;
        min-height: 240px;
        overflow-y: auto;
        max-height: 300px;
    }

    .terminal-title {
        font-size: 0.7rem;
    }

    .github-activity {
        margin-top: 2rem;
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }

    .github-title {
        font-size: 0.85rem;
        margin-bottom: 0.75rem;
    }

    .github-heatmap {
        padding: 1rem;
        min-width: 0;
    }

    .github-heatmap img {
        min-width: 100%;
        max-width: 100%;
        height: auto;
    }

    .experience {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .timeline {
        margin: 2rem auto 0;
        padding-left: 2rem;
        max-width: 100%;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-marker {
        left: -2.25rem;
        width: 1.5rem;
        height: 1.5rem;
    }

    .timeline-card {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .timeline-card:hover {
        transform: translateX(5px);
    }

    .timeline-top {
        flex-direction: row;
        gap: 0.75rem;
        align-items: center;
        min-height: auto;
    }

    .timeline-info {
        width: auto;
    }

    .timeline-top h3 {
        font-size: 1.1rem;
    }

    .timeline-role {
        font-size: 0.85rem;
    }

    .timeline-date {
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
        align-self: center;
    }

    .company-logo {
        width: 50px;
        height: 50px;
    }

    .timeline-card ul {
        margin-bottom: 1rem;
    }

    .timeline-card li {
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
        padding-left: 1.2rem;
    }

    .timeline-tags {
        gap: 0.5rem;
    }

    .timeline-tags span {
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
    }

    .skills-marquee {
        padding: 1rem 0;
        margin-bottom: 2rem;
    }

    .marquee-track {
        gap: 2rem;
        animation: marquee 20s linear infinite;
    }

    .marquee-item {
        font-size: 1.1rem;
    }

    .marquee-item img {
        height: 25px;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .skill-card {
        padding: 1.25rem;
        border-radius: 12px;
    }

    .skill-card i {
        width: 24px;
        height: 24px;
    }

    .skill-card h3 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }

    .skill-card p {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    .projects {
        padding: 60px 0;
    }

    .projects-list {
        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }

    .project-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem 1rem;
        border-bottom: 1px solid var(--border);
    }

    .project-row:first-child {
        border-top: none;
    }

    .project-row:hover {
        padding-left: 1rem;
    }

    .project-number {
        display: none;
    }

    .project-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }

    .project-content p {
        font-size: 0.85rem;
        max-width: 100%;
    }

    .project-stack {
        display: flex;
        gap: 0.375rem;
        flex-wrap: wrap;
        margin-bottom: 1rem;
        max-width: 100%;
    }

    .project-stack span {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
    }

    .project-arrow {
        display: none;
    }

    .education {
        padding: 60px 0;
    }

    .edu-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .edu-block h2 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }

    .edu-card {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }

    .edu-card h3 {
        font-size: 1rem;
        margin-bottom: 0.4rem;
    }

    .edu-school {
        font-size: 0.85rem;
    }

    .edu-meta {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .edu-card p:last-child {
        font-size: 0.85rem;
    }

    footer {
        padding: 2rem 0;
    }

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

    .footer-left p {
        font-size: 0.8rem;
    }
}

/* Small Mobile: 480px ve altı */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    header {
        padding: 0.75rem 0;
    }

    nav {
        flex-wrap: wrap;
    }

    .logo {
        flex: 1;
    }

    .logo-text {
        font-size: 0.9rem;
    }

    .logo-icon {
        font-size: 1rem;
    }

    .timeline-top {
        position: relative;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .timeline-info {
        text-align: left !important;
        width: 100%;
    }

    .timeline-top h3 {
        font-size: 1rem;
        text-align: left !important;
    }

    .timeline-role {
        font-size: 0.75rem;
        text-align: left !important;
    }

    .timeline-date {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
        align-self: flex-start;
    }

    .company-logo {
        position: absolute;
        top: 0;
        right: 0;
        width: 40px;
        height: 40px;
        margin: 0;
    }

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

    .hero h1 {
        font-size: 1.75rem;
        margin-bottom: 1.25rem;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 0.3rem 0.75rem;
        margin-bottom: 1.5rem;
    }

    .badge-pulse {
        width: 6px;
        height: 6px;
    }

    .hero-sub {
        font-size: 0.85rem;
        margin: 1rem auto 1.5rem;
        line-height: 1.6;
    }

    .rotating-text-wrapper {
        height: 1em;
    }

    .hero-links {
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }

    .hero-link {
        padding: 0.4rem 0.75rem;
        font-size: 0.7rem;
        border-radius: 8px;
    }

    .scroll-indicator {
        font-size: 0.6rem;
        gap: 0.35rem;
    }

    .about {
        padding: 40px 0;
    }

    .about-grid {
        gap: 1.25rem;
    }

    .about-info h2 {
        font-size: 1.35rem;
        margin-bottom: 0.75rem;
    }

    .about-info p {
        font-size: 0.85rem;
        line-height: 1.5;
    }

    .about-stats {
        gap: 0.75rem;
        margin-top: 1rem;
    }

    .stat {
        padding: 1rem;
        border-radius: 10px;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .stat-label {
        font-size: 0.6rem;
    }

    .terminal-body {
        padding: 0.75rem;
        font-size: 0.65rem;
        min-height: 200px;
        max-height: 280px;
    }

    .terminal-header {
        padding: 0.5rem;
    }

    .terminal-title {
        font-size: 0.6rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .github-activity {
        margin-top: 1.5rem;
        padding: 1rem 0.75rem;
    }

    .github-title {
        font-size: 0.75rem;
    }

    .github-heatmap {
        padding: 0.75rem;
    }

    .section-title {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }

    .timeline {
        padding-left: 1.75rem;
        margin: 1.5rem auto 0;
    }

    .timeline::before {
        left: 0;
    }

    .timeline-marker {
        left: -2rem;
        width: 1.25rem;
        height: 1.25rem;
    }

    .timeline-dot {
        width: 10px;
        height: 10px;
        border-width: 2px;
    }

    .timeline-item {
        margin-bottom: 2.5rem;
    }

    .timeline-card {
        padding: 1.25rem 1rem;
    }

    .timeline-top h3 {
        font-size: 1rem;
    }

    .timeline-role {
        font-size: 0.75rem;
    }

    .timeline-date {
        font-size: 0.65rem;
        padding: 0.2rem 0.5rem;
        align-self: flex-start;
    }

    .company-logo {
        width: 40px;
        height: 40px;
    }

    .timeline-card li {
        font-size: 0.8rem;
        padding-left: 1rem;
    }

    .timeline-tags span {
        font-size: 0.6rem;
        padding: 0.15rem 0.4rem;
    }

    .marquee-track {
        gap: 1.5rem;
        animation: marquee 15s linear infinite;
    }

    .marquee-item {
        font-size: 0.95rem;
        opacity: 0.25;
    }

    .marquee-item img {
        height: 20px;
    }

    .marquee-item:hover {
        opacity: 0.8;
    }

    .skill-card {
        padding: 1rem;
    }

    .skill-card i {
        width: 20px;
        height: 20px;
        margin-bottom: 0.75rem;
    }

    .skill-card h3 {
        font-size: 0.85rem;
    }

    .skill-card p {
        font-size: 0.7rem;
    }

    .projects {
        padding: 40px 0;
    }

    .project-row {
        padding: 1.25rem 0.75rem;
        gap: 0.75rem;
    }

    .project-content h3 {
        font-size: 1rem;
    }

    .project-content p {
        font-size: 0.8rem;
    }

    .project-stack span {
        font-size: 0.6rem;
        padding: 0.15rem 0.4rem;
    }

    .education {
        padding: 40px 0;
    }

    .edu-block h2 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }

    .edu-card {
        padding: 1.25rem 1rem;
    }

    .edu-card h3 {
        font-size: 0.95rem;
    }

    .edu-school {
        font-size: 0.8rem;
    }

    .edu-meta {
        font-size: 0.7rem;
    }

    .edu-card p {
        font-size: 0.8rem;
    }

    footer {
        padding: 1.5rem 0;
    }

    .footer-left {
        text-align: center;
    }

    .footer-left p {
        font-size: 0.75rem;
        margin-top: 0.2rem;
    }

    .footer-right {
        gap: 0.75rem;
    }

    .footer-right a i {
        width: 18px;
        height: 18px;
    }
}