:root {
    /* Light Mode Colors */
    --light-gray: #F6F6F6;
    --red: #B22222;
    --blue: #1351C2;
    --dark-purple: #361134;
    --orange: #EE964B;

    /* Dark Mode Colors */
    --dark-bg: #121212;          
    --dark-card: #1E1E1E;        
    --dark-text: #F5F5F5;        
    --dark-text-secondary: #B3B3B3; 
    --dark-accent-blue: #3A7BFF;  
    --dark-accent-orange: #FF9A3D; 
    --dark-border: #333333;  
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-gray);
    color: #333;
    line-height: 1.6;
    zoom: 1.20;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    /* Ensures vertical alignment with text */
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--blue);
    text-decoration: none;
    line-height: 1;
    display: flex;
    align-items: center;
    height: 40px; /* Match .logo-img height for perfect alignment */
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 200;
}

.bar {
    height: 3px;
    width: 100%;
    background-color: var(--blue);
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

/* Navigation Links */
.nav-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
}

/* Aktif Navigasyon Link Stilleri */
.nav-links a.active,
.mobile-nav-links a.active {
    color: var(--orange);
    font-weight: 600;
    position: relative;
    transform: translateY(-2px);
}

.nav-links a.active::after,
.mobile-nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--orange);
    animation: fadeIn 0.3s ease-out;
}

/* Dark Mode için Aktif Link Stilleri */
body.dark-mode .nav-links a.active,
body.dark-mode .mobile-nav-links a.active {
    color: var(--dark-accent-orange);
}

body.dark-mode .nav-links a.active::after,
body.dark-mode .mobile-nav-links a.active::after {
    background: var(--dark-accent-orange);
}

/* Hover Efekti (Aktif olmayan linkler için) */
.nav-links a:hover:not(.active),
.mobile-nav-links a:hover:not(.active) {
    color: var(--orange);
    transform: translateY(-2px);
}

body.dark-mode .nav-links a:hover:not(.active),
body.dark-mode .mobile-nav-links a:hover:not(.active) {
    color: var(--dark-accent-orange);
}



.nav-links a:hover {
    background-color: var(--light-gray);
    color: var(--orange);
    transform: translateY(-2px);
}

.nav-text {
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
}

/* Mobile Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100%;
    background: white;
    z-index: 100;
    transition: right 0.3s;
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 30px;
    padding: 10px 0x;
    cursor: pointer;
}

.mobile-nav-links {
    padding: 30px;
}

.mobile-nav-links a {
    display: flex;
    align-items: center;
    padding: 12px 0;
    font-size: 18px;
    text-decoration: none;
    color: #333;
}

.mobile-nav-links a i {
    margin-right: 10px;
    width: 24px;
    text-align: center;
}

.mobile-theme-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 15px 0;
    cursor: pointer;
    color: #333;
    margin-top: 20px;
}

/* Dark Mode Mobile Menu */
body.dark-mode .mobile-menu {
    background: var(--dark-card);
    border-left: 1px solid var(--dark-border);
}

body.dark-mode .mobile-menu-header {
    border-color: var(--dark-border);
}

body.dark-mode .mobile-nav-links a {
    color: var(--dark-text);
}

body.dark-mode .mobile-menu-close {
    color: #fff;
}

/* Theme Toggle Switch */
/* Toggle Switch */
.theme-toggle {
    position: relative;
    display: block;
    width: 72px;
    height: 36px;
    margin-left: 8px;
}

.theme-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.theme-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.theme-slider:before {
    position: absolute;
    content: "";
    height: 28px;
    width: 28px;
    right: 7px;
    left: 7px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 16px;
    color: #333;
}

.theme-toggle input:checked + .theme-slider {
    background-color: var(--blue);
}

.theme-toggle input:checked + .theme-slider:before {
    transform: translateX(30px);
    content: "\f186"; /* moon icon */
    color: black;
}

.theme-toggle input:not(:checked) + .theme-slider:before {
    content: "\f185"; /* sun icon */
}


/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    gap: 50px;
    margin: 50px 0;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.hero-image img:hover {
    transform: scale(1.03);
}

.hero-content {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.hero-content h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.hero-content p {
    margin-bottom: 15px;
    font-size: 16px;
}

/* Resume Button */
.resume-download {
    text-align: center;
    padding: 2rem 0;
}

.resume-btn {
    display: inline-block;
    background-color: var(--blue);
    color: white;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: scale(1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.resume-btn:hover {
    background-color: #005fa3;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Section Titles */
.section-title {
    font-size: 28px;
    margin: 50px 0 30px;
    position: relative;
    color: var(--dark-purple);
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--blue);
}

/* Skills Section */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.skill-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.skill-card:hover {
    transform: translateY(-5px);
}

.skill-card img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    border-radius: 50%;
    object-fit: cover;
}

.skill-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* GitHub Stats */
.github-stats {
    margin: 50px 0;
}

.github-stats-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.github-stats-container img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    height: 200px;
}

/* Projects Section */
.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s forwards;
}

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

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }

.project-card:hover {
    transform: scale(1.05);
}

.project-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    padding: 20px;
}

.project-content p {
    margin-bottom: 15px;
    flex-grow: 1;
}

.project-link-container {
    margin-top: auto;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.project-link {
    display: inline-block;
    background: var(--blue);
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.project-link:hover {
    background: var(--dark-purple);
}

.website {
    display: inline-block;
    background: var(--orange);
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s;
}

.website:hover {
    background: var(--red);
}

.project-image {
    height: 200px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

/* GitHub Projeleri */
.github-project-card {
    opacity: 0;
    background: white;
    border-radius: 6px;
    padding: 16px;
    border: 1px solid #e1e4e8;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    margin-bottom: 16px;
}

.github-project-card.show {
    opacity: 1;
    transform: translateY(0);
}

.github-project-card:hover {
    border-color: var(--blue);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.github-project-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.github-project-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--blue);
    margin-left: 8px;
}

.github-project-description {
    font-size: 14px;
    color: #586069;
    margin-bottom: 12px;
}

.github-project-meta {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: #586069;
}

.github-project-language {
    display: flex;
    align-items: center;
    margin-right: 16px;
}

.github-project-language-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 4px;
}

.github-project-stars {
    display: flex;
    align-items: center;
    margin-right: 16px;
}

/* Dark Mode GitHub */
body.dark-mode .github-project-card {
    background: var(--dark-card);
    border-color: var(--dark-border);
}

body.dark-mode .github-project-title {
    color: var(--dark-accent-blue);
}

body.dark-mode .github-project-description,
body.dark-mode .github-project-meta {
    color: var(--dark-text-secondary);
}


/* GitHub Projects Filter */
.github-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border-radius: 20px;
    background: white;
    border: 1px solid var(--blue);
    color: var(--blue);
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.filter-btn.active {
    background: var(--blue);
    color: white;
}

/* Dark Mode Filtre Butonları */
body.dark-mode .filter-btn {
    background: var(--dark-card);
    color: var(--dark-text);
    border-color: var(--dark-accent-blue);
}

body.dark-mode .filter-btn.active {
    background: var(--dark-accent-blue);
    color: var(--dark-text);
}

body.dark-mode .filter-btn:hover {
    background: rgba(58, 123, 255, 0.1);
}

/* Experience Section */
.experience-container {
    margin-bottom: 30px;
}

.experience-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    display: flex;
    gap: 20px;
}

.experience-card:hover {
    transform: translateY(-5px);
}

.experience-logo {
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 50%;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.experience-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.experience-content {
    flex: 1;
}

.experience-date {
    color: var(--red);
    font-weight: 600;
    margin-bottom: 10px;
}

.experience-title {
    font-size: 20px;
    margin-bottom: 5px;
    color: var(--dark-purple);
}

.experience-subtitle {
    font-style: italic;
    color: #666;
    margin-bottom: 12px;
}

.experience-details {
    color: #444;
}

.experience-details ul {
    padding-left: 20px;
}

.experience-details li {
    margin-bottom: 5px;
}

.experience-details a {
    text-decoration: none;
    color: var(--blue);
    transition: color 0.3s;
}

.experience-details a:hover {
    color: var(--orange);
}

/* Timeline Section */
.timeline-container {
    position: relative;
    padding: 20px 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    width: 4px;
    background: var(--blue);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -2px;
    border-radius: 4px;
}

.timeline-item {
    padding: 20px 30px;
    position: relative;
    background: inherit;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--blue);
    top: 20px;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd)::after {
    right: -12px;
}

.timeline-item:nth-child(even)::after {
    left: -12px;
}

.timeline-card {
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    position: relative;
    display: flex;
    gap: 20px;
}

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

.timeline-logo {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 50%;
    overflow: hidden;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.timeline-content {
    flex: 1;
}

.timeline-date {
    color: var(--red);
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-title {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark-purple);
}

.timeline-subtitle {
    font-style: italic;
    color: #666;
    margin-bottom: 10px;
}

.timeline-details {
    color: #444;
}

.credential-link {
    display: inline-block;
    color: #0066cc;
    text-decoration: none;
    border: 1px solid #0066cc;
    padding: 7px 15px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s;
    margin-top: 10px;
}
    
.credential-link:hover {
    background: #0066cc;
    color: white;
}

/* Contact Section */
.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--dark-purple);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    width: 40px;
    height: 40px;
    background: var(--blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}

.contact-icon i {
    color: white;
    font-size: 18px;
}

.contact-text {
    font-size: 16px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.social-link:hover {
    background: var(--dark-purple);
    transform: translateY(-3px);
}

/* Footer */
footer {
    background: var(--dark-purple);
    color: white;
    padding: 30px 0;
    margin-top: 100px;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-content p {
    margin: 10px 0;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--orange);
    transform: translateY(-3px);
}

/* Dark Mode Styles */
body.dark-mode {
    background-color: var(--dark-bg);
    color: var(--dark-text);
}

body.dark-mode header {
    background-color: var(--dark-card);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--dark-border);
}

body.dark-mode .logo a {
    color: var(--dark-text);
}

body.dark-mode .bar {
    background-color: var(--dark-text); 
}

/* Cards and content blocks */
body.dark-mode .hero-content,
body.dark-mode .skill-card,
body.dark-mode .project-card,
body.dark-mode .experience-card,
body.dark-mode .timeline-card,
body.dark-mode .contact-info,
body.dark-mode .card {
    background-color: var(--dark-card);
    color: var(--dark-text);
    border: 1px solid var(--dark-border);
}

body.dark-mode .hero-content h1 {
    color: var(--dark-accent-orange);
}

/* Text elements */
body.dark-mode .section-title {
    color: var(--dark-text);
}

body.dark-mode .section-title::after {
    background: var(--dark-accent-orange);
}

body.dark-mode .project-content p,
body.dark-mode .experience-subtitle,
body.dark-mode .timeline-subtitle,
body.dark-mode .timeline-details,
body.dark-mode .experience-details,
body.dark-mode .card-subtitle,
body.dark-mode .card-content {
    color: var(--dark-text-secondary);
}

body.dark-mode .experience-content h3 {
    color: var(--dark-accent-orange);
}

/* Interactive elements */
body.dark-mode .project-link {
    background-color: var(--dark-accent-blue);
    color: #121212;
    font-weight: 600;
}

body.dark-mode .project-link:hover {
    background-color: #E88B2D;
}

body.dark-mode .credential-link {
    color: var(--red);
    border-color: var(--red);
}

body.dark-mode .credential-link:hover {
    background-color: var(--red);
    color: #121212;
}

/* Navigation */
body.dark-mode .nav-links a {
    color: var(--dark-text);
}

body.dark-mode .nav-links a:hover {
    background-color: rgba(58, 123, 255, 0.1);
    color: var(--dark-accent-orange);
}

body.dark-mode .theme-toggle:hover {
    background-color: rgba(58, 123, 255, 0.1);
}


/* Footer */
body.dark-mode footer {
    background-color: var(--dark-purple);
    border-top: 1px solid #451D42;
}

/* Timeline */
body.dark-mode .timeline-container::before {
    background: var(--dark-accent-blue);
}

body.dark-mode .timeline-item::after {
    background: var(--dark-card);
    border-color: var(--dark-accent-blue);
}

body.dark-mode .timeline-title {
    color: var(--dark-accent-orange);
}

body.dark-mode .timeline-date {
    color: var(--dark-text);
}

/* Contact section */
body.dark-mode .contact-info {
    background: var(--dark-card);
    color: var(--dark-text);
}

body.dark-mode .contact-info h3 {
    color: var(--dark-accent-orange);
}

body.dark-mode .contact-icon {
    background: var(--dark-accent-blue);
}

body.dark-mode .social-link {
    background: var(--dark-accent-blue);
}

body.dark-mode .social-link:hover {
    background: #2D6BEB;
}

/* Back to top button */
body.dark-mode .back-to-top {
    background: var(--dark-accent-blue);
}

body.dark-mode .back-to-top:hover {
    background: var(--dark-accent-orange);
}

/* Filter buttons */
body.dark-mode .filter-btn {
    background: var(--dark-card);
    color: var(--dark-text);
    border-color: var(--dark-accent-blue);
}

body.dark-mode .filter-btn.active {
    background: var(--dark-accent-blue);
    color: var(--dark-text);
}

body.dark-mode .filter-btn:hover {
    background: rgba(58, 123, 255, 0.1);
}

/* Responsive Adjustments */
@media screen and (max-width: 1200px) {
    body {
        zoom: 1;
    }
    
    .container {
        width: 95%;
    }
}

/* Tablet and Medium Screens */
@media screen and (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .hero-image img {
        width: 300px;
        height: 300px;
    }
    
    .timeline-container::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 50px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd)::after,
    .timeline-item:nth-child(even)::after {
        left: 10px;
    }

    .github-stats-container {
        flex-direction: column;
        align-items: center;
    }
}

/* Mobile Devices */
@media screen and (max-width: 768px) {
    .hamburger-menu {
        display: flex;
        order: 2;
        z-index: 200;
    }
    
    .logo {
        order: 1;
        margin-left: 15px;
    }
    
    .nav-links {
        position: fixed;
        background-color: white;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100%;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding-top: 80px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 100;
    }
    
    /* Aktif Navigasyon Stili */
    .nav-links a.active,
    .mobile-nav-links a.active {
        color: var(--orange);
        font-weight: 600;
        position: relative;
    }

    .nav-links a.active::after,
    .mobile-nav-links a.active::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 100%;
        height: 2px;
        background: var(--orange);
        animation: fadeIn 0.3s ease-out;
    }
    
    .nav-links a, .theme-toggle-container {
        width: 100%;
        justify-content: flex-start;
        padding: 15px 30px;
        border-radius: 0;
        margin: 0;
    }
    
    .nav-text {
        display: inline;
        margin-left: 15px;
    }
    
    body.dark-mode .nav-links {
        background-color: #1e1e1e;
    }
    
    body.menu-open {
        overflow: hidden;
    }

    .logo {
        position: relative;
        z-index: 10;
    }

    .timeline-container::before {
        left: 10px;
    }

    .timeline-item {
        padding-left: 30px;
    }

    .theme-toggle-container {
        padding-left: 30px !important;
    }
}

/* Small Mobile Devices */
@media screen and (max-width: 576px) {
    .hero-image img {
        width: 250px;
        height: 250px;
    }
    
    .section-title {
        font-size: 24px;
    }

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

    .skill-card {
        padding: 15px;
    }

    .experience-card {
        flex-direction: column;
    }

    .experience-logo {
        margin-bottom: 15px;
        align-self: center;
    }

    .timeline-card {
        flex-direction: column;
    }

    .timeline-logo {
        margin-bottom: 15px;
        align-self: center;
    }

    .github-filter {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 80%;
        text-align: center;
    }
}

@media screen and (max-width: 370px) {
    .project-link-container {
        flex-direction: row !important;
        flex-wrap: wrap;
        gap: 8px;
    }
    .project-link,
    .website {
        display: inline-block;
        width: auto;
        min-width: 0;
        margin: 0;
        padding: 8px 12px;
        font-size: 14px;
    }
}


