/* =====================================================
   Modern Portfolio CSS - Ryan Tobin
   ===================================================== */

/* CSS Variables */
:root {
    --color-bg: #0a0a0a;
    --color-bg-secondary: #141414;
    --color-surface: #1a1a1a;
    --color-text: #e6e6e6;
    --color-text-secondary: #999999;
    --color-primary: #64ffda;
    --color-primary-rgb: 100, 255, 218;
    --color-secondary: #8892b0;
    --color-accent: #f76c6c;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    --transition-base: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    
    --navbar-height: 70px;
    --section-padding: 100px 0;
}

/* Light theme */
[data-theme="light"] {
    --color-bg: #ffffff;
    --color-bg-secondary: #f8f9fa;
    --color-surface: #f1f3f5;
    --color-text: #1a1a1a;
    --color-text-secondary: #666666;
    --color-primary: #0066cc;
    --color-primary-rgb: 0, 102, 204;
    --color-accent: #e63946;
}

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

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

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection */
::selection {
    background-color: rgba(var(--color-primary-rgb), 0.2);
    color: var(--color-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--color-surface);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-secondary);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.code-loader {
    font-family: var(--font-mono);
    font-size: 2rem;
    color: var(--color-primary);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 20px;
}

.code-loader .bracket {
    opacity: 1;
}

.code-loader .dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: dotPulse 1.4s infinite ease-in-out both;
}

.code-loader .dot:nth-child(2) { animation-delay: -0.32s; }
.code-loader .dot:nth-child(3) { animation-delay: -0.16s; }

@keyframes dotPulse {
    0%, 80%, 100% {
        transform: scale(0);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

.loading-text {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    opacity: 0.7;
}

/* Custom Cursor */
.custom-cursor,
.cursor-follower {
    pointer-events: none;
    position: fixed;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
    z-index: 9998;
    mix-blend-mode: difference;
}

.custom-cursor {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
}

.cursor-follower {
    width: 30px;
    height: 30px;
    border: 1px solid var(--color-primary);
    transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
}

.cursor-follower.active {
    width: 40px;
    height: 40px;
}

@media (hover: none) {
    .custom-cursor,
    .cursor-follower {
        display: none;
    }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height);
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: var(--transition-base);
}

[data-theme="light"] .navbar {
    background: rgba(255, 255, 255, 0.9);
}

.navbar.scrolled {
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

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

.nav-logo {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    display: flex;
    align-items: center;
}

.logo-accent {
    color: var(--color-accent);
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: var(--transition-base);
    position: relative;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-link.active {
    color: var(--color-primary);
}

.nav-number {
    color: var(--color-primary);
    margin-right: 5px;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--color-text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition-base);
    padding: 8px;
}

.theme-toggle:hover {
    color: var(--color-primary);
    transform: rotate(180deg);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-8px, 6px);
}

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

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--navbar-height);
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    z-index: 1;
}

.hero-intro {
    font-family: var(--font-mono);
    color: var(--color-primary);
    font-size: 1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wave {
    font-size: 1.5rem;
    animation: wave 2s ease-in-out infinite;
    display: inline-block;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
}

.hero-name {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 10px;
    line-height: 1;
}

.glitch {
    position: relative;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.3s infinite linear alternate-reverse;
    clip: rect(0, 900px, 0, 0);
    background: var(--color-bg);
}

.glitch::after {
    animation: glitch-2 0.3s infinite linear alternate-reverse;
    clip: rect(0, 900px, 0, 0);
    background: var(--color-bg);
}

@keyframes glitch-1 {
    0% {
        clip: rect(132px, 350px, 101px, 30px);
        transform: skew(0.5deg);
    }
    20% {
        clip: rect(52px, 350px, 60px, 30px);
    }
    40% {
        clip: rect(65px, 350px, 119px, 30px);
        transform: skew(0.5deg);
    }
    60% {
        clip: rect(89px, 350px, 84px, 30px);
    }
    80% {
        clip: rect(127px, 350px, 61px, 30px);
        transform: skew(0.5deg);
    }
    100% {
        clip: rect(26px, 350px, 13px, 30px);
    }
}

@keyframes glitch-2 {
    0% {
        clip: rect(29px, 350px, 84px, 30px);
        transform: skew(-0.5deg);
    }
    20% {
        clip: rect(116px, 350px, 51px, 30px);
    }
    40% {
        clip: rect(5px, 350px, 118px, 30px);
        transform: skew(-0.5deg);
    }
    60% {
        clip: rect(75px, 350px, 100px, 30px);
    }
    80% {
        clip: rect(10px, 350px, 83px, 30px);
        transform: skew(-0.5deg);
    }
    100% {
        clip: rect(97px, 350px, 49px, 30px);
    }
}

.hero-tagline {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--color-text-secondary);
    margin-bottom: 30px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 500px;
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-bg);
    border: 1px solid var(--color-primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--color-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(var(--color-primary-rgb), 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
}

.btn-outline:hover {
    background: rgba(var(--color-primary-rgb), 0.1);
    transform: translateY(-2px);
}

.btn.big {
    padding: 16px 32px;
    font-size: 1rem;
}

/* Floating Card */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    background: var(--color-surface);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    animation: float 6s ease-in-out infinite;
    max-width: 450px;
    width: 100%;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-10px) rotate(1deg); }
    66% { transform: translateY(5px) rotate(-1deg); }
}

.card-header {
    background: var(--color-bg-secondary);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
}

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

.dot.red { background: #ff5f57; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #28ca42; }

.code-snippet {
    padding: 24px;
    overflow-x: auto;
}

.code-snippet pre {
    margin: 0;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.6;
}

.code-snippet .keyword { color: #ff79c6; }
.code-snippet .variable { color: #50fa7b; }
.code-snippet .property { color: #8be9fd; }
.code-snippet .string { color: #f1fa8c; }

/* Light theme code syntax */
[data-theme="light"] .code-snippet .keyword { color: #d73a49; }
[data-theme="light"] .code-snippet .variable { color: #28a745; }
[data-theme="light"] .code-snippet .property { color: #005cc5; }
[data-theme="light"] .code-snippet .string { color: #032f62; }

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

.scroll-indicator span {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-primary);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

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

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

section {
    padding: var(--section-padding);
    position: relative;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.section-header {
    margin-bottom: 60px;
}

.section-header.centered {
    text-align: center;
}

.section-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}

.section-title.big {
    font-size: clamp(2rem, 4vw, 3rem);
    justify-content: center;
}

.title-number {
    font-family: var(--font-mono);
    color: var(--color-primary);
    font-size: 1.2rem;
}

.section-title::after {
    content: '';
    height: 1px;
    flex: 1;
    background: var(--color-surface);
    max-width: 300px;
}

.section-header.centered .section-title::after {
    display: none;
}

.section-overline {
    font-family: var(--font-mono);
    color: var(--color-primary);
    font-size: 1rem;
    margin-bottom: 10px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 60px;
    align-items: start;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.link-accent {
    color: var(--color-primary);
    text-decoration: none;
    position: relative;
    transition: var(--transition-base);
}

.link-accent:hover {
    color: var(--color-primary);
}

.link-accent::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.link-accent:hover::after {
    width: 100%;
}

.skills-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 40px;
    list-style: none;
    margin-top: 20px;
}

.skills-list li {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    position: relative;
    padding-left: 20px;
}

.skills-list li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.image-wrapper img {
    width: 100%;
    border-radius: 8px;
    filter: grayscale(100%);
    transition: var(--transition-base);
}

.image-wrapper:hover img {
    filter: grayscale(0%);
}

.image-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--color-primary);
    border-radius: 8px;
    z-index: -1;
    transition: var(--transition-base);
}

.image-wrapper:hover .image-overlay {
    top: 10px;
    left: 10px;
}

/* Work Section */
.work-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
}

.work-tabs {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tab-button {
    background: none;
    border: none;
    border-left: 2px solid var(--color-surface);
    padding: 15px 20px;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    text-align: left;
    cursor: pointer;
    transition: var(--transition-base);
}

.tab-button:hover {
    background: var(--color-surface);
    color: var(--color-primary);
}

.tab-button.active {
    border-left-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(var(--color-primary-rgb), 0.1);
}

.work-panels {
    position: relative;
}

.work-panel {
    display: none;
    animation: fadeIn 0.5s ease;
}

.work-panel.active {
    display: block;
}

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

.work-panel h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
}

.company {
    color: var(--color-primary);
}

.date {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
}

.work-panel ul {
    list-style: none;
}

.work-panel li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.work-panel li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

/* Projects Section */
.projects-grid {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.project-card:nth-child(even) {
    direction: rtl;
}

.project-card:nth-child(even) > * {
    direction: ltr;
}

.project-content {
    position: relative;
    z-index: 2;
}

.project-overline {
    font-family: var(--font-mono);
    color: var(--color-primary);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.project-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--color-text);
}

.project-description {
    background: var(--color-surface);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.project-description p {
    color: var(--color-text-secondary);
    line-height: 1.8;
}

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

.project-tech-list li {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

.project-links {
    display: flex;
    gap: 20px;
}

.project-links a {
    color: var(--color-text-secondary);
    font-size: 1.3rem;
    transition: var(--transition-base);
}

.project-links a:hover {
    color: var(--color-primary);
    transform: translateY(-3px);
}

.project-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(var(--color-primary-rgb), 0.2);
    mix-blend-mode: multiply;
    transition: var(--transition-base);
    z-index: 1;
}

.project-image:hover::before {
    background: transparent;
}

.project-image img {
    width: 100%;
    height: auto;
    filter: grayscale(100%);
    transition: var(--transition-base);
}

.project-image:hover img {
    filter: grayscale(0%);
}

.placeholder-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-bg-secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-mono);
    border-radius: 8px;
}

/* Other Projects */
.other-projects {
    margin-top: 100px;
}

.other-projects-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 40px;
}

.project-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.project-card-small {
    background: var(--color-surface);
    padding: 30px;
    border-radius: 8px;
    transition: var(--transition-base);
    cursor: pointer;
}

.project-card-small:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -15px rgba(0, 0, 0, 0.3);
}

.project-card-small:hover .project-title {
    color: var(--color-primary);
}

.project-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.folder {
    font-size: 2.5rem;
    color: var(--color-primary);
}

.project-card-small .project-links {
    gap: 15px;
}

.project-card-small .project-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    transition: var(--transition-base);
}

.project-card-small .project-description {
    background: none;
    padding: 0;
    box-shadow: none;
    margin-bottom: 30px;
}

.project-card-small .project-description p {
    font-size: 0.95rem;
}

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

/* Footer */
.footer {
    padding: 40px 0;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.social-links a {
    color: var(--color-text-secondary);
    font-size: 1.3rem;
    transition: var(--transition-base);
}

.social-links a:hover {
    color: var(--color-primary);
    transform: translateY(-3px);
}

.footer-text {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--color-text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
        margin-bottom: 40px;
    }
    
    .work-content {
        grid-template-columns: 1fr;
    }
    
    .work-tabs {
        flex-direction: row;
        overflow-x: auto;
        border-bottom: 2px solid var(--color-surface);
    }
    
    .tab-button {
        border-left: none;
        border-bottom: 2px solid transparent;
        white-space: nowrap;
    }
    
    .tab-button.active {
        border-bottom-color: var(--color-primary);
    }
    
    .project-card {
        grid-template-columns: 1fr;
    }
    
    .project-card:nth-child(even) {
        direction: ltr;
    }
    
    .project-image {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--navbar-height);
        width: 100%;
        height: calc(100vh - var(--navbar-height));
        background: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .container {
        padding: 0 20px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-name {
        font-size: 3rem;
    }
    
    .hero-tagline {
        font-size: 1.5rem;
    }
    
    .skills-list {
        grid-template-columns: 1fr;
    }
    
    .project-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations on scroll */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}