/* Root Variables - Futuristic Theme */
:root {
    --bg-dark: #0a0a0f;
    --bg-secondary: #13131a;
    --primary: #00d4ff;
    --secondary: #b47eff;
    --accent: #ff006e;
    --text-light: #e0e0e0;
    --text-dark: #8a8a8a;
    --gradient-primary: linear-gradient(135deg, #00d4ff 0%, #b47eff 100%);
    --gradient-secondary: linear-gradient(135deg, #ff006e 0%, #ff7a00 100%);
    --shadow-glow: 0 0 30px rgba(0, 212, 255, 0.3);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-light);
    background: var(--bg-dark);
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.6s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Cursor Glow Effect - Disabled */
.cursor-glow {
    display: none;
}

/* Navigation - Minimalist */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 0;
    background: rgba(10, 10, 15, 0.6);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: var(--transition);
}

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

.logo span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Language Switcher - Futuristic Design */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    background: rgba(0, 212, 255, 0.05);
    padding: 0.3rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
}

.lang-btn {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

.lang-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.lang-btn:hover::before {
    opacity: 0.15;
}

.lang-btn:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.lang-btn.active {
    color: var(--bg-dark);
    background: var(--gradient-primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
    transform: translateY(0);
}

.lang-btn.active::before {
    opacity: 0;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px;
    will-change: transform, opacity;
}

#network-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    will-change: transform;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}

.glitch {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    position: relative;
    letter-spacing: -2px;
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 100% {
        transform: translate(0);
    }
    20% {
        transform: translate(-2px, 2px);
    }
    40% {
        transform: translate(-2px, -2px);
    }
    60% {
        transform: translate(2px, 2px);
    }
    80% {
        transform: translate(2px, -2px);
    }
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.description {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    will-change: transform;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-dark);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translate3d(0, -3px, 0);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--bg-dark);
    transform: translate3d(0, -3px, 0);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.scroll-indicator span {
    width: 2px;
    height: 15px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll 1.5s ease-in-out infinite;
}

.scroll-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.scroll-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes scroll {
    0%, 100% {
        opacity: 0;
        transform: translateY(-10px);
    }
    50% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section Titles */
.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 4rem;
    letter-spacing: 1px;
}

/* Skills Section - Slideshow */
.skills {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.skills-slideshow {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.slideshow-container {
    position: relative;
    height: 500px;
    margin: 4rem 0;
    overflow: visible;
    display: flex;
    align-items: center;
}

/* Slide Arrows */
.slide-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid rgba(0, 212, 255, 0.3);
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 0;
}

.slide-arrow:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.slide-arrow svg {
    width: 24px;
    height: 24px;
}

.arrow-prev {
    left: -80px;
}

.arrow-next {
    right: -80px;
}

.slide {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(0.85);
    transition: all 1s cubic-bezier(0.65, 0, 0.35, 1);
    pointer-events: none;
    filter: brightness(0.4) blur(2px);
    will-change: transform, opacity, filter;
}

.slide.active {
    left: 0;
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    pointer-events: auto;
    z-index: 2;
    filter: brightness(1) blur(0);
}

.slide.prev {
    left: -100%;
    opacity: 0.4;
    transform: translate3d(0, 0, 0) scale(0.85);
    z-index: 1;
    filter: brightness(0.4) blur(2px);
}

.slide.next {
    left: 100%;
    opacity: 0.4;
    transform: translate3d(0, 0, 0) scale(0.85);
    z-index: 1;
    filter: brightness(0.4) blur(2px);
}

.slide-content {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 24px;
    padding: 4rem 3rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 80px rgba(0, 212, 255, 0.2);
    transition: all 1s ease;
}

.slide.active .slide-content {
    box-shadow: 0 20px 80px rgba(0, 212, 255, 0.4);
    border-color: rgba(0, 212, 255, 0.5);
}

.slide.prev .slide-content,
.slide.next .slide-content {
    box-shadow: none;
    border-color: rgba(0, 212, 255, 0.1);
}

.skill-icon-large {
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
    color: var(--primary);
    position: relative;
    z-index: 1;
    transition: all 1s ease;
}

.slide.active .skill-icon-large {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.skill-icon-large svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
    transition: filter 1s ease;
}

.slide.active .skill-icon-large svg {
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.5));
}

.slide.prev .skill-icon-large svg,
.slide.next .skill-icon-large svg {
    filter: drop-shadow(0 0 5px rgba(0, 212, 255, 0.2));
}

.slide-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    position: relative;
    z-index: 1;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-content p {
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 700px;
    position: relative;
    z-index: 1;
}

.slide-features {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.slide-features span {
    padding: 0.6rem 1.5rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 25px;
    font-size: 0.9rem;
    color: var(--primary);
    transition: var(--transition);
}

.slide-features span:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.2);
}

/* Slideshow Navigation */
.slideshow-nav {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.nav-dot {
    width: 10px;
    height: 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.4s ease;
    padding: 0;
}

.nav-dot:hover {
    background: rgba(0, 212, 255, 0.5);
    transform: scale(1.2);
}

.nav-dot.active {
    width: 40px;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
}

/* Portfolio Section */
.portfolio {
    padding: 120px 0;
    background: var(--bg-dark);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    cursor: pointer;
    will-change: transform;
}

.project-card:hover {
    transform: translate3d(0, -10px, 0);
    border-color: var(--secondary);
    box-shadow: 0 20px 60px rgba(180, 126, 255, 0.2);
}

.project-preview {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio (720/1280 = 0.5625) */
    overflow: hidden;
}

.project-preview img,
.project-preview video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.project-card:hover .project-preview img,
.project-card:hover .project-preview video {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.98) 0%, rgba(10, 10, 15, 0.85) 100%);
    transform: translateY(100%);
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-overlay h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.project-card:hover .project-overlay h3 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateX(5px);
}

.project-overlay p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.project-link {
    display: inline-block;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.project-link:hover {
    color: var(--secondary);
    transform: translateX(5px);
}

.project-tags {
    padding: 1.5rem;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-tags span {
    padding: 0.4rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

/* Custom colors for first project (Flummie) */
.project-card:first-child .project-tags span {
    background: rgba(255, 182, 193, 0.15);
    color: #ffb6c1;
    border-color: rgba(255, 182, 193, 0.3);
}

/* Custom colors for KSB Consulting project */
.tag-ksb {
    background: rgba(37, 99, 235, 0.15) !important;
    color: #2563eb !important;
    border-color: rgba(37, 99, 235, 0.3) !important;
}

/* Custom colors for Nutrea project */
.tag-nutrea {
    background: rgba(34, 139, 34, 0.15) !important;
    color: #228b22 !important;
    border-color: rgba(34, 139, 34, 0.3) !important;
}

/* Work In Progress Card */
.wip-card .project-preview {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1) 0%, rgba(180, 126, 255, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.wip-card .project-preview::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(0, 212, 255, 0.1),
        transparent
    );
    animation: wipScan 3s linear infinite;
}

@keyframes wipScan {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.wip-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.wip-loader {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
}

.loader-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    animation: spin 2s linear infinite;
}

.loader-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    border-top-color: var(--secondary);
    animation-duration: 1.5s;
    animation-direction: reverse;
}

.loader-ring:nth-child(3) {
    width: 60%;
    height: 60%;
    border-top-color: var(--accent);
    animation-duration: 1s;
}

@keyframes spin {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.wip-title {
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.wip-subtitle {
    font-size: 1rem;
    color: var(--text-dark);
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.project-status {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 20px;
    margin-top: 0.5rem;
}

.wip-card:hover .project-overlay {
    transform: translateY(0);
}

/* Contact Section */
.contact {
    padding: 120px 0;
    background: var(--bg-secondary);
}

.contact-content {
    margin-top: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.contact-item {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: var(--transition);
}

.contact-item:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--secondary);
}

/* Footer */
.footer {
    padding: 2rem 0;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--text-dark);
}

/* Animations */
[data-aos] {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: transform, opacity;
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

/* Responsive */
@media (max-width: 768px) {
    /* Language switcher mobile optimization */
    .language-switcher {
        gap: 0.3rem;
        padding: 0.2rem;
    }

    .lang-btn {
        padding: 0.4rem 0.7rem;
        font-size: 0.75rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    /* Disable parallax on mobile for better performance */
    .hero {
        padding: 120px 1rem;
        will-change: auto;
    }

    /* Reduce animations on mobile */
    .glitch {
        animation: none;
    }

    /* Keep WIP animations on mobile */
    .loader-ring {
        animation: spin 2s linear infinite !important;
    }

    .loader-ring:nth-child(2) {
        animation-duration: 1.5s !important;
        animation-direction: reverse !important;
    }

    .loader-ring:nth-child(3) {
        animation-duration: 1s !important;
    }

    .wip-card .project-preview::before {
        animation: wipScan 3s linear infinite !important;
    }

    .wip-title {
        animation: pulse 2s ease-in-out infinite !important;
    }

    .wip-loader {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
    }

    .wip-title {
        font-size: 1.5rem;
    }

    .wip-subtitle {
        font-size: 0.9rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 300px;
    }

    /* Skills Section Mobile - Horizontal Scroll */
    .skills {
        padding: 60px 0;
    }

    .skills-slideshow {
        padding: 0 0;
    }

    .section-title,
    .section-subtitle {
        padding: 0 1rem;
    }

    .slideshow-container {
        height: auto;
        min-height: 450px;
        margin: 2rem 0;
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none; /* Firefox */
        position: relative;
        padding: 0 1rem;
        gap: 1rem;
    }

    /* Hide scrollbar for Chrome, Safari and Opera */
    .slideshow-container::-webkit-scrollbar {
        display: none;
    }

    .slide {
        position: relative;
        left: 0;
        flex: 0 0 100%;
        min-width: 100%;
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: brightness(1) blur(0);
        pointer-events: auto;
        scroll-snap-align: center;
        transition: all 0.6s ease;
        will-change: transform, opacity;
    }

    .slide.active,
    .slide.prev,
    .slide.next {
        left: 0;
        opacity: 1;
        transform: translate3d(0, 0, 0) scale(1);
        filter: brightness(1) blur(0);
        pointer-events: auto;
    }

    /* Animate icons on mobile */
    .slide .skill-icon-large {
        animation: float 3s ease-in-out infinite;
    }

    .slide-content {
        padding: 2rem 1.5rem;
    }

    .skill-icon-large {
        width: 80px;
        height: 80px;
        margin-bottom: 1.5rem;
    }

    .slide-content h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .slide-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .slide-features {
        gap: 0.5rem;
    }

    .slide-features span {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

    /* Hide arrows on mobile, use dots only */
    .slide-arrow {
        display: none;
    }

    /* Update dots based on scroll position */
    .slideshow-nav {
        margin-top: 1rem;
    }

    /* Portfolio Grid */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    /* Hero Section */
    .hero {
        padding: 100px 1rem;
    }

    .glitch {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .description {
        font-size: 0.95rem;
    }

    /* Skills Slideshow */
    .slideshow-container {
        min-height: 400px;
    }

    .slide-content {
        padding: 1.5rem 1rem;
    }

    .skill-icon-large {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }

    .slide-content h3 {
        font-size: 1.5rem;
    }

    .slide-content p {
        font-size: 0.9rem;
    }

    .slide-features span {
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
    }

    .nav-dot {
        width: 8px;
        height: 8px;
    }

    .nav-dot.active {
        width: 30px;
    }

    /* Contact Section */
    .contact-item {
        padding: 1.5rem;
    }

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