/* portfolio-wow.css - Premium Design with Maximum Wow Factor */

/* Modern Premium Color Palette */
:root {
    /* Dark sophisticated background */
    --bg-primary: #0a0a0a;
    --bg-secondary: #0f0f0f;
    --bg-tertiary: #1a1a1a;
    
    /* Electric accent colors */
    --accent-electric: #00ff88;
    --accent-neon-blue: #00b4d8;
    --accent-purple: #7209b7;
    --accent-pink: #f72585;
    --accent-gold: #ffd60a;
    
    /* Gradient combinations */
    --gradient-hero: linear-gradient(135deg, #0a0a0a 0%, #1a0033 50%, #330066 100%);
    --gradient-electric: linear-gradient(135deg, #00ff88 0%, #00b4d8 100%);
    --gradient-sunset: linear-gradient(135deg, #f72585 0%, #ffd60a 100%);
    --gradient-cosmic: linear-gradient(135deg, #7209b7 0%, #f72585 50%, #ffd60a 100%);
    
    /* Text colors */
    --text-primary: #ffffff;
    --text-secondary: #e0e0e0;
    --text-muted: #888888;
    
    /* Glass morphism */
    --glass-white: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Premium shadows and glows */
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 16px 48px rgba(0, 0, 0, 0.2);
    --shadow-strong: 0 24px 64px rgba(0, 0, 0, 0.3);
    --glow-electric: 0 0 40px rgba(0, 255, 136, 0.5);
    --glow-neon: 0 0 60px rgba(114, 9, 183, 0.6);
}

/* Global Resets with Premium Feel */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: none;
}

/* Custom Cursor */
.cursor {
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-electric);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.2s, border-color 0.2s;
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 8px;
    height: 8px;
    background: var(--accent-electric);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.3s ease-out;
}

/* Premium Navigation Bar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(10, 10, 10, 0.95);
    box-shadow: var(--shadow-medium);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.8rem;
    font-weight: 800;
    text-decoration: none;
    background: var(--gradient-electric);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: translateY(-2px);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-electric);
    transition: width 0.3s ease;
}

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

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

/* Hero Section - Maximum Impact */
.hero-section {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gradient-hero);
}

/* Animated Background Layers */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    top: -200px;
    left: -200px;
    animation-duration: 25s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-pink) 0%, transparent 70%);
    bottom: -150px;
    right: -150px;
    animation-duration: 30s;
    animation-delay: 5s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-neon-blue) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 20s;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(100px, -100px) rotate(120deg);
    }
    66% {
        transform: translate(-100px, 100px) rotate(240deg);
    }
}

/* Grid Pattern Overlay */
.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 10s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(50px, 50px);
    }
}

/* Hero Content with Stunning Typography */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 1000px;
    padding: 0 40px;
}

.hero-content h1 {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -4px;
    margin-bottom: 20px;
    position: relative;
    animation: titleReveal 1s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

.hero-content h1 .gradient-text {
    background: var(--gradient-cosmic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

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

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(50px);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

.hero-tagline {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 40px;
    letter-spacing: 2px;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 1s;
}

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

/* Premium Buttons */
.hero-buttons {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 1.3s;
}

.btn {
    padding: 16px 40px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: var(--gradient-electric);
    color: var(--bg-primary);
    box-shadow: 0 8px 32px rgba(0, 255, 136, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 255, 136, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid transparent;
    background-image: 
        linear-gradient(var(--bg-primary), var(--bg-primary)),
        var(--gradient-electric);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(0, 255, 136, 0.2);
}

/* Animated Button Shine Effect */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards, bounce 2s ease-in-out infinite;
    animation-delay: 1.5s;
}

.hero-scroll-indicator a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.hero-scroll-indicator a:hover {
    color: var(--accent-electric);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Section Styling */
.content-section {
    padding: 100px 0;
    position: relative;
    background: var(--bg-secondary);
}

.content-section:nth-child(even) {
    background: var(--bg-tertiary);
}

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

/* Premium Section Headers */
.content-section h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    display: inline-block;
    width: 100%;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-electric);
    border-radius: 2px;
}

/* About Section Enhancements */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: var(--shadow-strong);
}

.about-image img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
}

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

.about-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-electric);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.about-image:hover::before {
    opacity: 0.1;
}

/* Timeline with Premium Styling */
.timeline {
    position: relative;
    padding: 40px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent,
        var(--accent-electric),
        transparent
    );
}

.timeline-item {
    position: relative;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    padding-right: 50%;
    text-align: right;
}

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

.timeline-marker {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: var(--gradient-electric);
    border-radius: 50%;
    box-shadow: var(--glow-electric);
    z-index: 1;
}

.timeline-content {
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    margin: 0 40px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-electric);
}

/* Project Cards with Glass Effect */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.project-card {
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-electric);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.project-card:hover {
    transform: translateY(-10px) rotateX(5deg);
    box-shadow: 
        0 30px 60px rgba(0, 255, 136, 0.2),
        0 0 100px rgba(0, 255, 136, 0.1);
    border-color: var(--accent-electric);
}

.project-card:hover::before {
    opacity: 0.05;
}

.project-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
    position: relative;
    background: var(--gradient-cosmic);
}

/* Gradient placeholders for div-based images */
.project-card:nth-child(1) .project-image {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.project-card:nth-child(2) .project-image {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.project-card:nth-child(3) .project-image {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.project-card:nth-child(4) .project-image {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.project-card:nth-child(5) .project-image {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.project-card:nth-child(6) .project-image {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

/* Add icon overlay for placeholder images */
.project-image::after {
    content: '\f121';  /* Font Awesome code icon */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

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

.project-content {
    padding: 30px;
}

.project-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    background: var(--gradient-electric);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.tech-tag {
    background: var(--glass-white);
    border: 1px solid var(--glass-border);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.tech-tag:hover {
    border-color: var(--accent-electric);
    color: var(--accent-electric);
    transform: translateY(-2px);
}

/* Skills Section with Progress Bars */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.skill-category {
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    transition: all 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-electric);
}

.skill-category h3 {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--accent-electric);
}

.skill-item {
    margin-bottom: 20px;
}

.skill-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.skill-name {
    font-weight: 600;
    color: var(--text-primary);
}

.skill-level {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.skill-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.skill-progress {
    height: 100%;
    background: var(--gradient-electric);
    border-radius: 4px;
    width: 0;
    transition: width 1.5s ease;
    position: relative;
    overflow: hidden;
}

.skill-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Philosophy Section */
.philosophy-section {
    background: var(--bg-secondary);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.philosophy-item {
    text-align: center;
    padding: 20px;
    transition: transform 0.3s ease;
}

.philosophy-icon {
    font-size: 3rem;
    color: var(--accent-electric);
    margin-bottom: 20px;
    display: block;
}

.philosophy-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.philosophy-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.contact-content p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--glass-white);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-electric);
    color: var(--accent-electric);
}

.contact-link i {
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.footer p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Loading Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease;
}

.page-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-inner {
    width: 60px;
    height: 60px;
    border: 3px solid var(--glass-border);
    border-top-color: var(--accent-electric);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding: 0;
        text-align: left;
        padding-left: 60px;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-marker {
        left: 20px;
    }
    
    .timeline-content {
        margin: 0;
    }
}

@media (max-width: 768px) {
    /* Hide custom cursor on mobile */
    .cursor,
    .cursor-follower {
        display: none;
    }
    
    /* Mobile navigation */
    .nav-menu {
        display: none;
    }
    
    .nav-socials {
        display: none;
    }
    
    .nav-container {
        padding: 0 20px;
    }
    
    /* Hero adjustments */
    .hero-section {
        padding: 0 20px;
    }
    
    .hero-content h1 {
        font-size: clamp(2.5rem, 10vw, 4rem);
        letter-spacing: -1px;
        line-height: 1;
    }
    
    .hero-tagline {
        font-size: 1.1rem;
        letter-spacing: 0.5px;
        padding: 0 10px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 16px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    /* Disable complex animations on mobile for performance */
    .floating-shapes {
        display: none;
    }
    
    .grid-overlay {
        opacity: 0.3;
    }
    
    /* Content sections */
    .content-section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .content-section h2 {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    /* About section */
    .about-text {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .about-image {
        margin-top: 30px;
        border-radius: 12px;
    }
    
    /* Timeline mobile */
    .timeline {
        padding: 20px 0;
    }
    
    .timeline-content {
        padding: 20px;
        font-size: 0.95rem;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    /* Projects mobile */
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-card {
        border-radius: 12px;
    }
    
    .project-image {
        height: 200px;
    }
    
    .project-content {
        padding: 20px;
    }
    
    .project-title {
        font-size: 1.3rem;
    }
    
    .project-description {
        font-size: 0.95rem;
    }
    
    .tech-tag {
        font-size: 0.8rem;
        padding: 4px 12px;
    }
    
    /* Skills mobile */
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .skill-category {
        padding: 20px;
        border-radius: 12px;
    }
    
    .skill-category h3 {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    
    /* Philosophy mobile */
    .philosophy-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .philosophy-item {
        text-align: center;
    }
    
    .philosophy-icon {
        font-size: 2.5rem;
    }
    
    /* Contact mobile */
    .contact-links {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .contact-link {
        width: 100%;
        justify-content: center;
    }
    
    /* Footer mobile */
    .footer {
        padding: 30px 20px;
        font-size: 0.9rem;
    }
    
    /* Scroll indicator */
    .hero-scroll-indicator {
        bottom: 20px;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
    }
    
    .content-section h2 {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .project-title {
        font-size: 1.1rem;
    }
    
    .skill-category h3 {
        font-size: 1.1rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Disable hover effects on touch devices */
    .project-card:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
    
    .timeline-content:hover {
        transform: none;
    }
    
    .skill-category:hover {
        transform: none;
    }
    
    /* Increase tap targets */
    .btn {
        min-height: 48px;
    }
    
    .nav-toggle {
        min-width: 48px;
        min-height: 48px;
    }
    
    .contact-link {
        min-height: 48px;
    }
}

/* Hamburger Menu */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

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

.hamburger {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    position: relative;
    transition: background 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    bottom: -8px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.nav-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* Mobile Menu */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 60px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 50px;
        gap: 30px;
        transition: right 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        opacity: 0;
        transform: translateX(50px);
        transition: all 0.3s ease;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav-menu.active li:nth-child(1) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.4s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.5s; }
    
    .nav-menu a {
        font-size: 1.2rem;
        color: var(--text-primary);
    }
    
    /* Show social links in mobile menu */
    .nav-socials {
        display: flex !important;
        margin-top: auto;
        margin-bottom: 50px;
        gap: 30px;
    }
    
    .nav-socials a {
        font-size: 1.5rem;
        color: var(--text-secondary);
        transition: color 0.3s ease;
    }
    
    .nav-socials a:hover {
        color: var(--accent-electric);
    }
}