/* ========================================
   iOS Developer Portfolio - Styles
   Modern, Sleek, Professional Design
======================================== */

/* CSS Variables */
:root {
    --bg-primary: #000000;
    --bg-secondary: #111111;
    --bg-card: #1A1A1A;
    --text-primary: #FFFFFF;
    --text-secondary: #AAAAAA;
    --accent: #6366F1;
    --accent-light: #8B5CF6;
    --accent-pink: #EC4899;
    --border: #333333;
    --success: #10B981;
    --error: #EF4444;
    
    --ease-dramatic: cubic-bezier(0.87, 0, 0.13, 1);
    --ease-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --ease-expo-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    
    --font-display: 'Inter Tight', sans-serif;
    --font-script: 'Meow Script', cursive;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-display);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   Navigation
======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    z-index: 1000;
    transition: all 0.4s var(--ease-smooth);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: 70px;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    transition: color 0.25s var(--ease-smooth);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: all 0.25s var(--ease-smooth);
    transform: translateX(-50%);
}

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

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

.nav-cta {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s var(--ease-elastic);
}

.nav-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s var(--ease-smooth);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s var(--ease-expo-out);
}

.mobile-menu.active {
    transform: translateY(0);
    opacity: 1;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-menu a {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.25s;
}

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

/* ========================================
   Hero Section
======================================== */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(236, 72, 153, 0.05) 0%, transparent 70%);
    animation: bgPulse 15s ease-in-out infinite;
}

@keyframes bgPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title .line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s var(--ease-expo-out) forwards;
}

.hero-title .line:nth-child(1) { animation-delay: 0.3s; }
.hero-title .line:nth-child(2) { animation-delay: 0.5s; }
.hero-title .line:nth-child(3) { 
    animation-delay: 0.7s;
    background: linear-gradient(135deg, var(--accent), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 0.6s var(--ease-smooth) 0.9s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeIn 0.6s var(--ease-smooth) 1.1s forwards;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s var(--ease-elastic);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(99, 102, 241, 0.5);
}

.btn-primary svg {
    transition: transform 0.3s var(--ease-smooth);
}

.btn-primary:hover svg {
    transform: translateX(5px);
}

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

.btn-secondary:hover {
    border-color: var(--accent);
    background: rgba(99, 102, 241, 0.1);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
    opacity: 0;
    animation: fadeIn 0.6s var(--ease-smooth) 1.3s forwards;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-suffix {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-container {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.image-glow {
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light), var(--accent-pink));
    border-radius: 30px;
    filter: blur(40px);
    opacity: 0.3;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.05); }
}

.profile-img {
    width: 100%;
    border-radius: 20px;
    position: relative;
    z-index: 1;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s var(--ease-smooth);
}

.image-container:hover .profile-img {
    transform: scale(1.02) rotateY(3deg);
}

/* Floating Shapes */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    z-index: 2;
}

.shape-1 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    top: -30px;
    right: -20px;
    animation: float 6s ease-in-out infinite;
}

.shape-2 {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-light), var(--accent-pink));
    bottom: 50px;
    left: -20px;
    animation: float 5s ease-in-out infinite 1s;
}

.shape-3 {
    width: 30px;
    height: 30px;
    background: var(--accent);
    bottom: -10px;
    right: 50px;
    animation: float 4s ease-in-out infinite 0.5s;
}

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

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fadeIn 0.6s var(--ease-smooth) 1.5s forwards;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.5; }
}

.scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ========================================
   Section Headers
======================================== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

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

/* ========================================
   Projects Section
======================================== */
.projects {
    padding: 8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.projects-container {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.project-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s var(--ease-expo-out);
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

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

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

/* Project Slider */
.project-slider {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
    box-shadow: 0 10px 50px -12px rgba(0, 0, 0, 0.5);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 280px;
    overflow: hidden;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s var(--ease-expo-out);
}

.slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0;
}

/* iPhone Mockup */
.iphone-mockup {
    position: relative;
    width: 100%;
    padding: 8px;
}

.iphone-frame {
    position: relative;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 
        0 0 0 2px #333,
        0 25px 50px -12px rgba(0, 0, 0, 0.8),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.iphone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 28px;
    background: #1a1a1a;
    border-radius: 0 0 20px 20px;
    z-index: 10;
}

.iphone-screen {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: #000;
    aspect-ratio: 9/19.5;
}

.iphone-screen img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s var(--ease-smooth);
}

.project-slider:hover .iphone-screen img {
    transform: scale(1.02);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 10;
}

.slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--border);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    backdrop-filter: blur(10px);
}

.slider-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
}

.slider-dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

.slider-hint {
    position: absolute;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
    z-index: 10;
}

/* Project Info */
.project-info {
    padding: 1rem 0;
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.project-category {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-pill {
    padding: 0.4rem 0.8rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-smooth);
}

.tech-pill:hover {
    border-color: var(--accent);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.project-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.project-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.project-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--accent);
    transition: all 0.3s var(--ease-smooth);
}

.project-link svg {
    transition: transform 0.3s var(--ease-smooth);
}

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

.project-link:hover svg {
    transform: translateX(5px);
}

/* ========================================
   Experience Section
======================================== */
.experience {
    padding: 8rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline-line {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent), var(--accent-light), var(--accent-pink));
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-bottom: 3rem;
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.7s var(--ease-expo-out);
}

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

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -2rem;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border-radius: 50%;
    transform: translateX(-5px);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
    animation: dotPulse 3s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.5); }
    50% { box-shadow: 0 0 30px rgba(99, 102, 241, 0.8); }
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    margin-left: 1.5rem;
    transition: all 0.3s var(--ease-smooth);
}

.timeline-card:hover {
    border-color: var(--accent);
    transform: translateX(5px);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.1);
}

.timeline-header {
    margin-bottom: 1rem;
}

.timeline-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.timeline-company {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 600;
}

.timeline-period {
    display: block;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.timeline-description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.timeline-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.highlight {
    padding: 0.4rem 0.8rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    transition: all 0.3s var(--ease-smooth);
}

.highlight:hover {
    background: rgba(99, 102, 241, 0.2);
    transform: scale(1.05);
}

/* ========================================
   Skills Section
======================================== */
.skills {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.skills-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.skill-category {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2rem;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s var(--ease-expo-out);
}

.skill-category.visible {
    opacity: 1;
    transform: translateY(0);
}

.skill-category:hover {
    border-color: var(--accent);
}

.category-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.skill-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.skill-level {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
}

.skill-bar {
    height: 8px;
    background: var(--bg-secondary);
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 4px;
    width: 0;
    transition: width 1.5s var(--ease-expo-out);
    position: relative;
    overflow: hidden;
}

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

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

/* ========================================
   Contact Section
======================================== */
.contact {
    padding: 8rem 2rem;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-info .section-label {
    display: block;
    text-align: left;
    margin-bottom: 1rem;
}

.contact-info .section-title {
    text-align: left;
    margin-bottom: 1rem;
}

.contact-description {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    transition: all 0.3s var(--ease-smooth);
}

.contact-item:hover .contact-icon {
    border-color: var(--accent);
    transform: scale(1.1);
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.contact-text a,
.contact-text span:last-child {
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.25s;
}

.contact-text a:hover {
    color: var(--accent);
}

.availability {
    color: var(--success) !important;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-elastic);
}

.social-link:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-5px) rotate(5deg);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--border);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s var(--ease-smooth);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.form-group label {
    position: absolute;
    left: 0;
    top: 1rem;
    color: var(--text-secondary);
    pointer-events: none;
    transition: all 0.3s var(--ease-smooth);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
    top: -0.5rem;
    font-size: 0.8rem;
    color: var(--accent);
}

/* ========================================
   Footer
======================================== */
.footer {
    padding: 3rem 2rem;
    border-top: 1px solid var(--border);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright,
.credit {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    position: relative;
    transition: color 0.25s;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: all 0.25s var(--ease-smooth);
    transform: translateX(-50%);
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-links a:hover::after {
    width: 100%;
}

/* ========================================
   Responsive Design
======================================== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .image-container {
        max-width: 300px;
    }
    
    .project-card {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-card:nth-child(even) {
        direction: ltr;
    }
    
    .slider-container {
        max-width: 240px;
    }
    
    .project-slider {
        padding: 1.5rem;
    }
    
    .skills-container {
        grid-template-columns: 1fr;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat {
        align-items: center;
    }
    
    .timeline {
        padding-left: 1.5rem;
    }
    
    .timeline-card {
        margin-left: 0.5rem;
        padding: 1.5rem;
    }
    
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
