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

:root {
    /* Dark mode (default) */
    --bg-primary: #0a0a0a;
    --bg-secondary: #0f0f0f;
    --bg-tertiary: #1a1a1a;
    --bg-card: #0f0f0f;
    --bg-card-hover: #1a1a1a;
    --text-primary: #e5e7eb;
    --text-secondary: #d1d5db;
    --text-muted: #9ca3af;
    --text-white: #ffffff;
    --border-color: #1a1a1a;
    --border-card: #2a2a2a;
    --shadow-color: rgba(0, 0, 0, 0.5);
    --shadow-hover: rgba(0, 0, 0, 0.6);
    --navbar-bg: rgba(10, 10, 10, 0.95);
    --hero-bg: #0a0a0a;
    --tag-bg: rgba(255, 255, 255, 0.1);
}

[data-theme="light"] {
    /* Light mode */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;
    --bg-card: #ffffff;
    --bg-card-hover: #f8f9fa;
    --text-primary: #212529;
    --text-secondary: #495057;
    --text-muted: #6c757d;
    --text-white: #212529;
    --border-color: #dee2e6;
    --border-card: #e9ecef;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    --navbar-bg: rgba(255, 255, 255, 0.95);
    --hero-bg: #ffffff;
    --tag-bg: rgba(0, 0, 0, 0.1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    transition: all 0.3s ease;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--navbar-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    transition: all 0.3s ease;
}

.nav-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.4s ease;
    background: linear-gradient(45deg, var(--text-white), var(--text-white));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo a:hover {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #ff9ff3, #feca57, #96ceb4, #45b7d1, #4ecdc4, #ff6b6b);
    background-size: 400% 400%;
    animation: gradientShift 4s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.4s ease;
    position: relative;
    background: linear-gradient(45deg, var(--text-muted), var(--text-muted));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link:hover {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #ff9ff3, #feca57, #96ceb4, #45b7d1, #4ecdc4, #ff6b6b);
    background-size: 400% 400%;
    animation: gradientShift 4s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3);
    transition: width 0.4s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--text-white);
    margin: 3px 0;
    transition: all 0.3s ease;
}

.hamburger:hover .bar {
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3);
    background-size: 300% 300%;
    animation: gradientShift 2s ease infinite;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: var(--hero-bg);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease, color 0.3s ease;
    --parallax-offset: 0px;
    transform: translateY(var(--parallax-offset));
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--text-white);
    transition: color 0.3s ease;
}

.highlight {
    color: var(--text-white);
    transition: all 0.4s ease;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #ff9ff3, #feca57, #96ceb4, #45b7d1, #4ecdc4, #ff6b6b);
    background-size: 400% 400%;
    animation: gradientShift 4s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight:hover {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #ff9ff3, #feca57, #96ceb4, #45b7d1, #4ecdc4, #ff6b6b);
    background-size: 400% 400%;
    animation: gradientShift 4s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: var(--text-secondary);
    transition: all 0.4s ease, color 0.3s ease;
}

.hero-subtitle:hover {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #ff9ff3, #feca57, #96ceb4, #45b7d1, #4ecdc4, #ff6b6b);
    background-size: 400% 400%;
    animation: gradientShift 4s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.7;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

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

.btn-primary:hover {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #ff9ff3, #feca57, #96ceb4, #45b7d1, #4ecdc4, #ff6b6b);
    background-size: 400% 400%;
    animation: gradientShift 4s linear infinite;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4);
    border-color: transparent;
    color: #ffffff;
}

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

.btn-secondary:hover {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #ff9ff3, #feca57, #96ceb4, #45b7d1, #4ecdc4, #ff6b6b);
    background-size: 400% 400%;
    animation: gradientShift 4s linear infinite;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    border-color: transparent;
    color: #ffffff;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

[data-theme="light"] .hero-placeholder {
    background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.05) 100%);
    color: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(0, 0, 0, 0.2);
}

.hero-placeholder:hover {
    background: radial-gradient(circle, rgba(255, 107, 107, 0.2) 0%, rgba(78, 205, 196, 0.1) 100%);
    border-color: rgba(255, 107, 107, 0.4);
    color: rgba(255, 107, 107, 0.8);
    transform: scale(1.05);
}

[data-theme="light"] .hero-placeholder:hover {
    background: radial-gradient(circle, rgba(255, 107, 107, 0.2) 0%, rgba(78, 205, 196, 0.1) 100%);
    border-color: rgba(255, 107, 107, 0.4);
    color: rgba(255, 107, 107, 0.8);
}

/* Scroll Arrow */
.scroll-arrow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 2.5rem;
    cursor: pointer;
    transition: all 0.4s ease;
    animation: bounceArrow 2s ease-in-out infinite;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

[data-theme="light"] .scroll-arrow {
    color: rgba(0, 0, 0, 0.6);
}

.scroll-arrow:hover {
    color: rgba(255, 255, 255, 0.9);
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #ff9ff3, #feca57, #96ceb4, #45b7d1, #4ecdc4, #ff6b6b);
    background-size: 400% 400%;
    animation: gradientShift 4s linear infinite, bounceArrow 2s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateX(-50%) scale(1.2);
}

[data-theme="light"] .scroll-arrow:hover {
    color: rgba(0, 0, 0, 0.9);
}

.scroll-label {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.6s ease;
}

[data-theme="light"] .scroll-label {
    color: rgba(0, 0, 0, 0.7);
}

.scroll-label.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-arrow:hover .scroll-label {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #ff9ff3, #feca57, #96ceb4, #45b7d1, #4ecdc4, #ff6b6b);
    background-size: 400% 400%;
    animation: gradientShift 4s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes bounceArrow {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px) scaleY(1.1);
    }
}

/* Section Styles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-white);
    transition: all 0.4s ease, color 0.3s ease;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #ff9ff3, #feca57, #96ceb4, #45b7d1, #4ecdc4, #ff6b6b);
    background-size: 400% 400%;
    animation: gradientShift 4s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title:hover {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #ff9ff3, #feca57, #96ceb4, #45b7d1, #4ecdc4, #ff6b6b);
    background-size: 400% 400%;
    animation: gradientShift 4s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* About Section */
.about {
    padding: 80px 0;
    background-color: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    transition: all 0.3s ease;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    transition: all 0.4s ease, color 0.3s ease;
}

/* .about-text p:hover {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3);
    background-size: 400% 400%;
    animation: gradientShift 3s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
} */

.skills h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    transition: all 0.4s ease, color 0.3s ease;
}

/* .skills h3:hover {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3);
    background-size: 400% 400%;
    animation: gradientShift 3s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
} */

.skills-grid {
    display: grid;
    gap: 2rem;
}

.skill-category h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
    transition: all 0.4s ease, color 0.3s ease;
}

/* .skill-category h4:hover {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3);
    background-size: 400% 400%;
    animation: gradientShift 3s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
} */

.skill-category ul {
    list-style: none;
}

.skill-category li {
    padding: 0.5rem 0;
    color: var(--text-muted);
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.4s ease, color 0.3s ease;
}

/* .skill-category li:hover {
    color: var(--text-white);
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3);
    background-size: 400% 400%;
    animation: gradientShift 3s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
} */

.skill-category li::before {
    content: '▷';
    position: absolute;
    left: 0;
    transition: all 0.4s ease;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #ff9ff3, #feca57, #96ceb4, #45b7d1, #4ecdc4, #ff6b6b);
    background-size: 400% 400%;
    animation: gradientShift 4s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* .skill-category li:hover::before {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3);
    background-size: 400% 400%;
    animation: gradientShift 3s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
} */

/* Projects Section */
.projects {
    padding: 80px 0;
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    transition: all 0.3s ease;
}

.project-card {
    background: linear-gradient(145deg, var(--bg-card) 0%, var(--bg-tertiary) 100%);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 8px 16px var(--shadow-color);
    border: 1px solid var(--border-card);
    transition: all 0.4s ease, background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-hover);
    border: 1px solid transparent;
    background: linear-gradient(145deg, var(--bg-card-hover) 0%, var(--bg-tertiary) 100%);
    background-clip: padding-box;
    position: relative;
}

.project-card:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    padding: 1px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #ff9ff3, #feca57, #96ceb4, #45b7d1, #4ecdc4, #ff6b6b);
    background-size: 400% 400%;
    animation: gradientShift 4s linear infinite;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.project-header h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-white);
    transition: all 0.4s ease, color 0.3s ease;
}

.project-card:hover .project-header h3 {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #ff9ff3, #feca57, #96ceb4, #45b7d1, #4ecdc4, #ff6b6b);
    background-size: 400% 400%;
    animation: gradientShift 4s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.tag {
    background: var(--tag-bg);
    color: var(--text-white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    border: 1px solid transparent;
    transition: all 0.4s ease, color 0.3s ease, background-color 0.3s ease;
}

[data-theme="light"] .tag {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

.tag:hover {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(78, 205, 196, 0.2) 100%);
    color: var(--text-white);
    border-color: rgba(255, 107, 107, 0.4);
    transform: scale(1.05);
}

.project-card:hover .tag {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.2) 0%, rgba(78, 205, 196, 0.2) 100%);
    color: var(--text-white);
    border-color: rgba(255, 107, 107, 0.4);
    transform: scale(1.05);
}

.project-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.project-card:hover .project-description {
    color: var(--text-secondary);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.4s ease, color 0.3s ease;
}

.project-link:hover {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #ff9ff3, #feca57, #96ceb4, #45b7d1, #4ecdc4, #ff6b6b);
    background-size: 400% 400%;
    animation: gradientShift 4s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.contact-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    transition: all 0.4s ease, color 0.3s ease;
}

/* .contact-info p:hover {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3);
    background-size: 400% 400%;
    animation: gradientShift 3s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
} */

.contact-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    transition: all 0.3s ease;
}

.contact-link {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.4s ease, color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid transparent;
}

.contact-link:hover {
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #ff9ff3, #feca57, #96ceb4, #45b7d1, #4ecdc4, #ff6b6b);
    background-size: 400% 400%;
    animation: gradientShift 4s linear infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-color: rgba(255, 107, 107, 0.3);
    transform: scale(1.05);
}

/* Footer */
.footer {
    background-color: var(--bg-secondary);
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Gradient Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--bg-secondary);
        width: 100%;
        text-align: center;
        transition: 0.3s, background-color 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.5);
        padding: 2rem 0;
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        transition: all 0.3s ease;
    }

    .hero-title {
        font-size: 2.5rem;
        transition: color 0.3s ease;
    }

    .hero-placeholder {
        width: 200px;
        height: 200px;
        font-size: 4rem;
        transition: all 0.3s ease;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        transition: all 0.3s ease;
    }

    .projects-grid {
        grid-template-columns: 1fr;
        transition: all 0.3s ease;
    }

    .hero-buttons {
        justify-content: center;
        transition: all 0.3s ease;
    }

    .contact-links {
        flex-direction: column;
        align-items: center;
        transition: all 0.3s ease;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

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

    .project-card {
        padding: 1.5rem;
    }
}

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

.hero-content,
.about-content,
.project-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for older browsers */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 1rem;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

[data-theme="light"] .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.1);
}

.theme-toggle i {
    transition: transform 0.3s ease;
}

[data-theme="light"] .theme-toggle i {
    transform: rotate(180deg);
} 