/* ========================================
   ULTRA PREMIUM PORTFOLIO - $100B EXECUTIVE STYLE
   Minimalist | Elegant | Powerful
   ======================================== */

/* CSS Variables - Luxury Color Palette */
:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --accent-gold: #c9a962;
    --accent-gold-light: #e8d5a3;
    --accent-platinum: #e5e4e2;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(201, 169, 98, 0.3);
    --gradient-gold: linear-gradient(135deg, #c9a962 0%, #f0e68c 50%, #c9a962 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0a 0%, #111111 100%);
    --shadow-luxury: 0 25px 80px rgba(0, 0, 0, 0.5);
    --shadow-gold: 0 20px 60px rgba(201, 169, 98, 0.15);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar - Ultra Minimal */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-gold);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold-light);
}

/* Selection */
::selection {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

/* ========================================
   NAVIGATION - Ultra Minimal
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: all 0.4s var(--transition-smooth);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.nav-logo h3:hover {
    color: var(--accent-gold);
}

.nav-menu {
    display: flex;
    gap: 48px;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-gold);
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

/* ========================================
   HERO SECTION - Statement
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 70% 20%, rgba(201, 169, 98, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, var(--bg-primary), transparent);
    pointer-events: none;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    padding-top: 80px;
}

.hero-content h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.hero-content h1 .highlight {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content h2 {
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 24px;
    letter-spacing: 0.02em;
    min-height: 1.5em;
}

.hero-content > p {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 48px;
    line-height: 1.8;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.4s var(--transition-smooth);
    cursor: pointer;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border: none;
}

.btn-primary:hover {
    background: var(--accent-gold-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.4s var(--transition-smooth);
}

.social-links a:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-3px);
}

/* Hero Image */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
}

.image-placeholder {
    position: relative;
    width: 380px;
    height: 380px;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    inset: -20px;
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
}

.image-placeholder::after {
    content: '';
    position: absolute;
    inset: -40px;
    border: 1px solid rgba(201, 169, 98, 0.1);
    border-radius: 50%;
}

.image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(20%);
    transition: all 0.5s var(--transition-smooth);
}

.image-placeholder:hover img {
    filter: grayscale(0%);
    transform: scale(1.02);
}

/* ========================================
   SECTION STYLES - Consistent
   ======================================== */
section {
    padding: 140px 0;
    position: relative;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 80px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--accent-gold);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
    align-items: start;
}

.about-text > p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 60px;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.skill-category h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 20px;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    padding: 10px 18px;
    border-radius: 4px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.skill-tag:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.skill-tag i {
    font-size: 1rem;
}

.skill-tag.mobile-tag {
    background: linear-gradient(135deg, rgba(201, 169, 98, 0.1), rgba(201, 169, 98, 0.05));
    border-color: rgba(201, 169, 98, 0.2);
}

/* Education Card */
.education-card {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    padding: 48px;
    border-radius: 8px;
    position: sticky;
    top: 120px;
}

.education-card h3 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.education-card h3 i {
    font-size: 1.1rem;
}

.education-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.education-item p {
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.education-item .period {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ========================================
   EXPERIENCE SECTION
   ======================================== */
.experience {
    background: var(--bg-primary);
}

.timeline {
    max-width: 900px;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border-subtle);
}

.timeline-item {
    position: relative;
    padding-left: 60px;
    padding-bottom: 60px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -5px;
    top: 0;
    width: 11px;
    height: 11px;
    background: var(--bg-primary);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    z-index: 1;
}

.timeline-dot.turkcell-dot {
    border-color: #ffc72c;
    box-shadow: 0 0 20px rgba(255, 199, 44, 0.3);
}

.timeline-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    padding: 40px;
    border-radius: 8px;
    transition: all 0.4s var(--transition-smooth);
}

.timeline-content:hover {
    border-color: var(--border-hover);
    transform: translateX(8px);
}

.timeline-content.turkcell-card {
    border-color: rgba(255, 199, 44, 0.2);
    background: linear-gradient(135deg, var(--bg-secondary), rgba(255, 199, 44, 0.03));
}

.timeline-content.turkcell-card:hover {
    border-color: rgba(255, 199, 44, 0.4);
}

.timeline-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.timeline-content h4 {
    font-size: 1rem;
    font-weight: 500;
    color: var(--accent-gold);
    margin-bottom: 12px;
}

.timeline-content .period {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    background: var(--bg-tertiary);
    padding: 6px 14px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.timeline-content ul {
    list-style: none;
    margin-top: 20px;
}

.timeline-content li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.timeline-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 4px;
    height: 4px;
    background: var(--accent-gold);
    border-radius: 50%;
}

.timeline-content.turkcell-card li::before {
    background: #ffc72c;
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.projects {
    background: var(--bg-secondary);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.project-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-subtle);
    padding: 48px;
    border-radius: 8px;
    transition: all 0.4s var(--transition-smooth);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--transition-smooth);
}

.project-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: var(--shadow-luxury);
}

.project-card:hover::before {
    transform: scaleX(1);
}

.project-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 28px;
    transition: all 0.4s ease;
}

.project-card:hover .project-icon {
    background: var(--accent-gold);
    color: var(--bg-primary);
    border-color: var(--accent-gold);
}

/* Specific Project Icons */
.illume-icon {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.1), rgba(156, 39, 176, 0.1));
    border-color: rgba(233, 30, 99, 0.2);
    color: #e91e63;
}

.project-card:hover .illume-icon {
    background: linear-gradient(135deg, #e91e63, #9c27b0);
    color: white;
}

.startup-icon {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.project-card:hover .startup-icon {
    background: #4caf50;
    color: white;
}

.ai-icon {
    background: rgba(33, 150, 243, 0.1);
    border-color: rgba(33, 150, 243, 0.2);
    color: #2196f3;
}

.project-card:hover .ai-icon {
    background: #2196f3;
    color: white;
}

.github-icon {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.project-card:hover .github-icon {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.project-card h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.project-card > p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

/* Project Tech */
.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.project-tech span {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding: 6px 12px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.project-card:hover .project-tech span {
    border-color: var(--border-hover);
    color: var(--text-secondary);
}

/* Project Features */
.project-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.feature-tag {
    font-size: 0.75rem;
    padding: 6px 12px;
    background: rgba(201, 169, 98, 0.1);
    border-radius: 4px;
    color: var(--accent-gold);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.feature-tag i {
    font-size: 0.7rem;
}

/* Project Badge */
.project-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    background: var(--bg-tertiary);
    border-radius: 4px;
    margin-bottom: 12px;
}

.illume-badge {
    background: linear-gradient(135deg, rgba(233, 30, 99, 0.15), rgba(156, 39, 176, 0.15));
    color: #e91e63;
}

.startup-badge {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
}

/* Project Status */
.project-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 6px 14px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 4px;
    color: #ffc107;
}

.wip-status i {
    font-size: 0.7rem;
}

/* Project Date */
.project-date {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* GitHub Card Special */
.github-card {
    background: linear-gradient(135deg, var(--bg-primary), var(--bg-tertiary));
}

.github-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.github-stat {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.github-stat i {
    color: var(--text-secondary);
}

.github-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-top: 8px;
    transition: gap 0.3s ease;
}

.project-card:hover .github-cta {
    gap: 20px;
}

/* Featured Project */
.featured-project {
    grid-column: span 1;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    background: var(--bg-primary);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-info > p {
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.8;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    border-color: var(--border-hover);
    transform: translateX(8px);
}

.contact-item i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--accent-gold);
    font-size: 1.1rem;
}

.contact-item h4 {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-item a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-gold);
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* Contact Form */
.contact-form {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    padding: 48px;
    border-radius: 8px;
}

.form-group {
    margin-bottom: 32px;
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px 0;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--border-subtle);
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.form-group label {
    position: absolute;
    top: 16px;
    left: 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-gold);
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label {
    top: -8px;
    font-size: 0.75rem;
    color: var(--accent-gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form .btn-primary {
    width: 100%;
    padding: 18px;
    font-size: 0.875rem;
    margin-top: 16px;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--bg-secondary);
    padding: 60px 0;
    border-top: 1px solid var(--border-subtle);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-info h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-info p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 16px;
}

.footer-links a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-subtle);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border-subtle);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .education-card {
        position: static;
    }
}

@media (max-width: 992px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 24px;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 40px 24px;
        gap: 24px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s ease;
        border-bottom: 1px solid var(--border-subtle);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 24px;
    }
    
    .hero-content {
        padding-top: 120px;
    }
    
    .hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .hero-image {
        padding-top: 40px;
        order: -1;
    }
    
    .image-placeholder {
        width: 280px;
        height: 280px;
    }
    
    .section-title {
        margin-bottom: 60px;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .timeline::before {
        left: 4px;
    }
    
    .timeline-dot {
        left: 0;
    }
    
    .timeline-item {
        padding-left: 40px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 100px 0;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 0.8125rem;
    }
    
    .project-card {
        padding: 32px;
    }
    
    .timeline-content {
        padding: 28px;
    }
    
    .contact-form {
        padding: 32px;
    }
}

/* ========================================
   ANIMATIONS & EFFECTS
   ======================================== */
/* Fade In Up Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.8s var(--transition-smooth) forwards;
}

/* Reveal on Scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--transition-smooth);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Children */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
}

.stagger-children.active > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.active > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.active > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.active > *:nth-child(4) { transition-delay: 0.4s; }

.stagger-children.active > * {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s var(--transition-smooth);
}

/* Subtle Glow */
@keyframes subtleGlow {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

/* Line Animation */
@keyframes lineExpand {
    from {
        transform: scaleX(0);
    }
    to {
        transform: scaleX(1);
    }
}

/* Loading State */
.loading {
    position: fixed;
    inset: 0;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-subtle);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Grain Texture Overlay */
.grain-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Startup Section - Legacy Support (Hidden) */
.startup {
    display: none;
}

.startup-content,
.startup-card,
.startup-header,
.startup-icon,
.startup-subtitle,
.startup-description,
.startup-features {
    display: none;
}
