:root {
    /* Karanlık Tema (Varsayılan) Renkleri */
    --bg-color: #0a0a0a;
    --bg-secondary: #1a1a1f;
    --text-color: #e0e0e0;
    --text-secondary: #aaa;
    --text-muted: #888;
    --link-color: #667eea;
    --card-bg: rgba(255, 255, 255, 0.02);
    --card-border: rgba(255, 255, 255, 0.05);
    --card-hover-bg: rgba(255, 255, 255, 0.04);
    --card-hover-border: rgba(102, 126, 234, 0.4);
    --modal-bg: rgba(0, 0, 0, 0.9);
    --modal-content-bg: linear-gradient(135deg, #1a1a1f 0%, #1a1525 100%);
    --footer-border: rgba(255, 255, 255, 0.03);
    --profile-border: rgba(255, 255, 255, 0.1);
    --status-bg: rgba(76, 175, 80, 0.1);
    --status-border: rgba(76, 175, 80, 0.3);
    --tech-stack-bg: rgba(255, 255, 255, 0.05);
    --tech-stack-color: #ccc;
    --btn-secondary-border: rgba(255, 255, 255, 0.2);
    --btn-secondary-hover-bg: rgba(255, 255, 255, 0.05);
    --gradient-text: linear-gradient(135deg, #fff 0%, #667eea 50%, #764ba2 100%);
    --gradient-title: linear-gradient(135deg, #fff 0%, #667eea 100%);
    --particle-color: rgba(102, 126, 234, 0.6);
    --orbit-color: rgba(102, 126, 234, 0.2);
    --link-card-gradient-1: rgba(102, 126, 234, 0.05);
    --link-card-gradient-2: rgba(118, 75, 162, 0.05);
    --back-link-bg: rgba(255, 255, 255, 0.05);
    --back-link-border: rgba(255, 255, 255, 0.1);
    --project-img-bg: rgba(0,0,0,0.2);
    --project-img-border: rgba(255, 255, 255, 0.05);
    --img-placeholder-stroke: #888;
    --skill-card-bg: rgba(102, 126, 234, 0.1);
    --skill-card-border: rgba(102, 126, 234, 0.2);
    --skill-card-hover-bg: rgba(102, 126, 234, 0.15);
    --skill-card-hover-border: rgba(102, 126, 234, 0.4);
    --content-section-h2-border: rgba(102, 126, 234, 0.2);
    --modal-close-bg: rgba(255, 255, 255, 0.03);
    --modal-close-hover-bg: rgba(255, 255, 255, 0.08);
    --modal-close-color: #666;
    --modal-close-hover-color: #fff;
    --banner-bg: rgba(0, 0, 0, 0.7);
    --banner-text: #fff;
    --banner-btn-bg: #fff;
    --banner-btn-text: #000;
    --theme-btn-bg: rgba(255, 255, 255, 0.1);
    --theme-btn-border: rgba(255, 255, 255, 0.2);
}

/* Aydınlık Tema Renkleri */
body.light-mode {
    --bg-color: #f5f7fa;
    --bg-secondary: #e4e7eb;
    --text-color: #333;
    --text-secondary: #555;
    --text-muted: #777;
    --link-color: #667eea;
    --card-bg: rgba(255, 255, 255, 0.8);
    --card-border: rgba(0, 0, 0, 0.1);
    --card-hover-bg: rgba(255, 255, 255, 0.95);
    --card-hover-border: rgba(102, 126, 234, 0.6);
    --modal-bg: rgba(255, 255, 255, 0.9);
    --modal-content-bg: linear-gradient(135deg, #ffffff 0%, #f0f2f5 100%);
    --footer-border: rgba(0, 0, 0, 0.1);
    --profile-border: rgba(102, 126, 234, 0.2);
    --status-bg: rgba(76, 175, 80, 0.2);
    --status-border: rgba(76, 175, 80, 0.4);
    --tech-stack-bg: rgba(0, 0, 0, 0.05);
    --tech-stack-color: #555;
    --btn-secondary-border: rgba(0, 0, 0, 0.2);
    --btn-secondary-hover-bg: rgba(0, 0, 0, 0.05);
    --gradient-text: linear-gradient(135deg, #333 0%, #667eea 50%, #764ba2 100%);
    --gradient-title: linear-gradient(135deg, #333 0%, #667eea 100%);
    --particle-color: rgba(102, 126, 234, 0.4);
    --orbit-color: rgba(102, 126, 234, 0.3);
    --link-card-gradient-1: rgba(102, 126, 234, 0.1);
    --link-card-gradient-2: rgba(118, 75, 162, 0.1);
    --back-link-bg: rgba(0, 0, 0, 0.05);
    --back-link-border: rgba(0, 0, 0, 0.1);
    --project-img-bg: rgba(0,0,0,0.05);
    --project-img-border: rgba(0, 0, 0, 0.1);
    --img-placeholder-stroke: #999;
    --skill-card-bg: rgba(102, 126, 234, 0.05);
    --skill-card-border: rgba(102, 126, 234, 0.1);
    --skill-card-hover-bg: rgba(102, 126, 234, 0.1);
    --skill-card-hover-border: rgba(102, 126, 234, 0.3);
    --content-section-h2-border: rgba(102, 126, 234, 0.3);
    --modal-close-bg: rgba(0, 0, 0, 0.05);
    --modal-close-hover-bg: rgba(0, 0, 0, 0.1);
    --modal-close-color: #555;
    --modal-close-hover-color: #333;
    --banner-bg: rgba(255, 255, 255, 0.9);
    --banner-text: #333;
    --banner-btn-bg: #333;
    --banner-btn-text: #fff;
    --theme-btn-bg: rgba(0, 0, 0, 0.05);
    --theme-btn-border: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Animated gradient background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-secondary) 25%, #1a1525 50%, #151520 75%, var(--bg-color) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -2;
    transition: background 0.3s ease;
}

body.light-mode::before {
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--bg-secondary) 25%, #f0f2f5 50%, #e4e7eb 75%, var(--bg-color) 100%);
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Floating particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.4;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--particle-color);
    border-radius: 50%;
    animation: float linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 80px 20px 100px;
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.profile-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

.profile-image {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(102, 126, 234, 0.4), 0 0 120px rgba(118, 75, 162, 0.3);
    animation: profileFloat 6s ease-in-out infinite;
    position: relative;
    z-index: 2;
    border: 3px solid var(--profile-border);
    overflow: hidden;
    padding: 3px;
}

.profile-image img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

@keyframes profileFloat {
    0%, 100% { 
        transform: translateY(0px);
        box-shadow: 0 0 60px rgba(102, 126, 234, 0.4), 0 0 120px rgba(118, 75, 162, 0.3);
    }
    50% { 
        transform: translateY(-15px);
        box-shadow: 0 15px 80px rgba(102, 126, 234, 0.5), 0 15px 140px rgba(118, 75, 162, 0.4);
    }
}

/* Orbiting rings */
.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--orbit-color);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.orbit-ring:nth-child(1) {
    width: 200px;
    height: 200px;
    animation-duration: 15s;
}

.orbit-ring:nth-child(2) {
    width: 240px;
    height: 240px;
    animation-duration: 20s;
    animation-direction: reverse;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeIn 1s ease-in 0.2s backwards;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    font-weight: 300;
    animation: fadeIn 1s ease-in 0.4s backwards;
    letter-spacing: 1px;
}

/* Status badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--status-bg);
    border: 1px solid var(--status-border);
    border-radius: 50px;
    margin-top: 20px;
    animation: fadeIn 1s ease-in 0.6s backwards;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.status-text {
    font-size: 0.9rem;
    color: #4caf50;
}

/* Links Section */
.links-section {
    padding: 40px 0;
}

.links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 950px;
    margin: 0 auto;
}

.link-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 30px;
    display: flex;
    align-items: center;
    gap: 22px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s ease;
}

.link-card:hover::before {
    left: 100%;
}

.link-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--link-card-gradient-1) 0%, var(--link-card-gradient-2) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.link-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(102, 126, 234, 0.2), 0 0 40px rgba(118, 75, 162, 0.15);
    border-color: var(--card-hover-border);
}

.link-card:hover::after {
    opacity: 1;
}

.link-icon {
    width: 55px;
    height: 55px;
    border-radius: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: transform 0.4s ease;
}

.link-card:hover .link-icon {
    transform: scale(1.1) rotate(5deg);
}

.link-icon svg {
    width: 28px;
    height: 28px;
    fill: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.link-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.link-title {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-color);
}

.link-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-weight: 300;
}

.link-arrow {
    color: #667eea;
    font-size: 1.3rem;
    transition: transform 0.3s ease;
    z-index: 1;
    position: relative;
}

.link-card:hover .link-arrow {
    transform: translateX(5px);
}

/* Blog Section */
.blog-section {
    padding: 80px 0 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 12px;
    background: var(--gradient-title);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 300;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: 0 auto;
}

.blog-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 35px;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.blog-card:hover::before {
    transform: scaleX(1);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(102, 126, 234, 0.15);
    border-color: var(--card-hover-border);
    background: var(--card-hover-bg);
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #666;
}

.blog-date {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
    line-height: 1.4;
}

.blog-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.read-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: rgba(102, 126, 234, 0.12);
    border: 1px solid rgba(102, 126, 234, 0.25);
    border-radius: 10px;
    color: #a8b3ff;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start;
    width: fit-content;
}

.read-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateX(4px);
    border-color: rgba(102, 126, 234, 0.4);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--modal-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    animation: modalFadeIn 0.3s ease;
    overflow-y: auto;
    padding: 60px 20px;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: var(--modal-content-bg);
    max-width: 850px;
    margin: 0 auto;
    padding: 60px;
    border-radius: 24px;
    border: 1px solid var(--card-border);
    box-shadow: 0 30px 80px rgba(102, 126, 234, 0.3);
    position: relative;
    animation: modalSlideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 28px;
    cursor: pointer;
    color: var(--modal-close-color);
    transition: all 0.3s ease;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--modal-close-bg);
}

.modal-close:hover {
    color: var(--modal-close-hover-color);
    background: var(--modal-close-hover-bg);
    transform: rotate(90deg);
}

.modal-content h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--text-color);
    line-height: 1.3;
}

.modal-content .blog-text {
    color: var(--text-secondary);
    line-height: 1.9;
    font-size: 1.08rem;
}

.modal-content .blog-text p {
    margin-bottom: 24px;
}

.modal-content .blog-text strong {
    color: #667eea;
    font-weight: 600;
}

/* Footer */
footer {
    text-align: center;
    padding: 50px 20px;
    color: #555;
    font-size: 0.9rem;
    border-top: 1px solid var(--footer-border);
    margin-top: 80px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #777;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #667eea;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.05rem;
    }

    .profile-image {
        width: 130px;
        height: 130px;
        font-size: 55px;
    }

    .orbit-ring:nth-child(1) {
        width: 170px;
        height: 170px;
    }

    .orbit-ring:nth-child(2) {
        width: 210px;
        height: 210px;
    }

    .section-title {
        font-size: 2rem;
    }

    .modal-content {
        padding: 40px 30px;
    }

    .modal-content h2 {
        font-size: 2rem;
    }

    .links-grid, .blog-grid {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

/* Diğer Sayfalar İçin Stiller (Hakkımda, Projeler, vb.) */
.project-nav {
    padding: 30px 40px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
}

.back-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--back-link-bg);
    border-radius: 30px;
    border: 1px solid var(--back-link-border);
    transition: all 0.3s ease;
}

.back-link:hover {
    background: rgba(102, 126, 234, 0.2);
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateX(-5px);
}

/* Page Header */
.projects-header {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 60px;
    animation: fadeIn 1s ease-in;
}

.projects-header h1 {
    font-size: 3.5rem;
    background: var(--gradient-title);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

/* Projects Grid System */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    padding-bottom: 50px;
    animation: fadeIn 1s ease-in 0.2s backwards;
}

/* Project Card Styling */
.project-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--card-hover-border);
}

.project-image {
    height: 180px;
    background: var(--project-img-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--project-img-border);
}

.img-placeholder svg {
    width: 40px;
    height: 40px;
    opacity: 0.5;
    stroke: var(--img-placeholder-stroke);
    transition: all 0.4s ease;
}

.project-card:hover .img-placeholder svg {
    transform: scale(1.2);
    stroke: #667eea;
    opacity: 1;
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 10px;
}

.project-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

/* Tech Tags */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.tech-stack span {
    font-size: 0.75rem;
    padding: 4px 10px;
    border-radius: 4px;
    background: var(--tech-stack-bg);
    color: var(--tech-stack-color);
}

/* Buttons */
.project-links {
    display: flex;
    gap: 10px;
}

.btn-primary, .btn-secondary {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    border-radius: 8px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: 0.3s;
}

.btn-primary {
    background: #667eea;
    color: white;
}

.btn-primary:hover {
    background: #5a6fd1;
}

.btn-secondary {
    border: 1px solid var(--btn-secondary-border);
    color: var(--text-color);
}

.btn-secondary:hover {
    border-color: var(--text-color);
    background: var(--btn-secondary-hover-bg);
}

/* Diğer Sayfalar İçin Stiller (Hakkımda, Şartlar, Gizlilik) */
.page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-header {
    text-align: center;
    margin-bottom: 60px;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient-title);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.content-section {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 40px;
    margin-bottom: 30px;
}

.content-section h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--content-section-h2-border);
}

.content-section p, .content-section ul, .content-section li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1rem;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.skill-card {
    background: var(--skill-card-bg);
    border: 1px solid var(--skill-card-border);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    background: var(--skill-card-hover-bg);
    border-color: var(--skill-card-hover-border);
}

.skill-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.skill-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.last-updated {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 40px;
}

.mobile-nav {
    display: none; /* Hidden by default, shows on mobile */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(10px);
    padding: 20px 25px;
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    letter-spacing: -0.5px;
}

/* Hamburger Menu Icon */
.hamburger {
    width: 30px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
    position: relative;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--text-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger Animation - X shape when active */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(11px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-11px);
}

/* Mobile Menu Dropdown */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.mobile-menu.active {
    max-height: 500px;
    opacity: 1;
    margin-top: 20px;
}

.mobile-menu a {
    display: block;
    padding: 15px 10px;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid var(--card-border);
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.mobile-menu a:last-child {
    border-bottom: none;
}

/* Hover effect */
.mobile-menu a::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(102, 126, 234, 0.1);
    transition: left 0.3s ease;
}

.mobile-menu a:hover::before {
    left: 0;
}

.mobile-menu a:hover {
    color: #667eea;
    padding-left: 20px;
}

/* Active page indicator */
.mobile-menu a.active-page {
    color: #667eea;
    border-left: 3px solid #667eea;
    padding-left: 20px;
}

/* Show mobile nav on small screens */
@media (max-width: 768px) {
    .mobile-nav {
        display: block;
    }
    
    /* Add padding to body to account for fixed nav */
    body {
        padding-top: 80px;
    }
    
    /* Adjust hero section padding */
    .hero {
        padding-top: 60px;
    }
    
    .page-container {
        padding-top: 40px;
    }
}

/* Optional: Desktop Navigation (if you want to add one later) */
@media (min-width: 769px) {
    .desktop-nav {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 40px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.8);
        backdrop-filter: blur(10px);
        z-index: 1000;
        border-bottom: 1px solid var(--card-border);
    }
    
    .desktop-nav .nav-links {
        display: flex;
        gap: 30px;
    }
    
    .desktop-nav a {
        color: var(--text-color);
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .desktop-nav a:hover {
        color: #667eea;
    }
}

.typing-container {
    font-size: 1.3rem;
    color: var(--text-secondary);
    min-height: 50px;
    margin: 20px 0;
    font-weight: 300;
    letter-spacing: 1px;
}

.typing-text {
    display: inline-block;
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 1.3em;
    background: #667eea;
    margin-left: 5px;
    animation: blink 0.7s infinite;
    vertical-align: middle;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Responsive */
@media (max-width: 768px) {
    .typing-container {
        font-size: 1.05rem;
    }
}

/* Filter Section */
.filter-section {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 30px;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--card-border);
    color: var(--text-color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(102, 126, 234, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.filter-btn:hover::before {
    width: 300px;
    height: 300px;
}

.filter-btn:hover {
    border-color: rgba(102, 126, 234, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.15);
}

.filter-btn span {
    position: relative;
    z-index: 1;
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.filter-btn.active:hover {
    transform: translateY(-2px) scale(1.05);
}

/* Project Category Badge */
.project-category-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 20px;
    font-size: 0.75rem;
    color: #a8b3ff;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Animation for filtering */
.project-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: scale(1);
}

.project-card.filter-hide {
    opacity: 0;
    transform: scale(0.8);
    height: 0;
    margin: 0;
    padding: 0;
    border: none;
    overflow: hidden;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .filter-buttons {
        gap: 8px;
    }
    
    .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    text-align: center;
}

/* Spinner Loader */
.loader-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 5px solid rgba(102, 126, 234, 0.2);
    border-top-color: #667eea;
    margin: 0 auto 30px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 2px;
}

/* Animated dots after "Loading" */
.loading-dots::after {
    content: '';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.6);
}

.back-to-top:active {
    transform: translateY(-2px) scale(1.05);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.back-to-top:hover svg {
    transform: translateY(-3px);
}

/* Progress ring (optional enhancement) */
.back-to-top::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: #fff;
    transition: transform 0.3s ease;
    opacity: 0;
}

.back-to-top:hover::before {
    opacity: 0.5;
    transform: rotate(180deg);
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

.theme-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--theme-btn-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--theme-btn-border);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    border-color: rgba(102, 126, 234, 0.5);
}

.theme-toggle svg {
    width: 24px;
    height: 24px;
    position: absolute;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.moon-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

@media (max-width: 768px) {
    .theme-toggle {
        top: 20px;
        right: 70px;
        width: 45px;
        height: 45px;
    }
    
    .theme-toggle svg {
        width: 20px;
        height: 20px;
    }
}

html {
    scroll-behavior: smooth;
}

.parallax-container {
    position: relative;
    overflow: hidden;
}

.fade-in-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

.link-card:nth-child(1) { transition-delay: 0.1s; }
.link-card:nth-child(2) { transition-delay: 0.2s; }
.link-card:nth-child(3) { transition-delay: 0.3s; }
.link-card:nth-child(4) { transition-delay: 0.4s; }
.link-card:nth-child(5) { transition-delay: 0.5s; }
.link-card:nth-child(6) { transition-delay: 0.6s; }

.blog-card:nth-child(1) { transition-delay: 0.1s; }
.blog-card:nth-child(2) { transition-delay: 0.2s; }
.blog-card:nth-child(3) { transition-delay: 0.3s; }

.project-card:nth-child(1) { transition-delay: 0.1s; }
.project-card:nth-child(2) { transition-delay: 0.2s; }
.project-card:nth-child(3) { transition-delay: 0.3s; }

.link-card, .blog-card, .project-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.hero {
    transition: transform 0.1s ease-out, opacity 0.3s ease-out;
    will-change: transform, opacity;
}

.particles {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.profile-wrapper {
    transition: transform 0.1s ease-out;
    will-change: transform;
}

.parallax-optimized {
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

@media (max-width: 768px) {
    .hero,
    .particles,
    .profile-wrapper,
    [data-parallax] {
        transform: none !important;
    }
}