/* ============================================
   Alex Chen Portfolio - Styles
   ============================================ */

/* CSS Custom Properties */
:root {
    --color-bg: #0a0a0f;
    --color-bg-secondary: #12121a;
    --color-bg-tertiary: #1a1a24;
    --color-text: #f0f0f5;
    --color-text-muted: #8888a0;
    --color-accent: #ff6b35;
    --color-accent-secondary: #f7931e;
    --color-accent-glow: rgba(255, 107, 53, 0.3);
    --color-border: rgba(255, 255, 255, 0.08);
    
    --font-display: 'Syne', sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
    --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);
    
    --nav-height: 80px;
}

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

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

body {
    font-family: var(--font-mono);
    font-weight: 300;
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--color-accent);
    color: var(--color-bg);
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* Cursor Glow Effect */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.6;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    mix-blend-mode: screen;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    z-index: 1000;
    background: linear-gradient(to bottom, var(--color-bg), transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    gap: 2px;
}

.logo-art {
    color: var(--color-accent);
}

.logo-eng {
    color: var(--color-text);
}

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

.nav-link {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

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

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s ease;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: var(--color-bg-secondary);
    padding: 2rem;
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s var(--ease-out-expo);
}

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

.mobile-link {
    font-size: 1.25rem;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: calc(var(--nav-height) + 4rem) 5% 4rem;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.grid-lines {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

.floating-shapes {
    position: absolute;
    inset: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--color-accent);
    top: 10%;
    right: 20%;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--color-accent-secondary);
    bottom: 20%;
    left: 10%;
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: #7b68ee;
    top: 50%;
    left: 30%;
    animation-delay: -10s;
}

.shape-4 {
    width: 250px;
    height: 250px;
    background: #20b2aa;
    bottom: 10%;
    right: 30%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.1); }
    50% { transform: translate(-20px, 20px) scale(0.9); }
    75% { transform: translate(-30px, -20px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tag-line {
    width: 60px;
    height: 1px;
    background: var(--color-accent);
}

.tag-text {
    font-size: 0.85rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.title-line {
    display: block;
}

.title-accent {
    color: var(--color-accent);
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    border-radius: 4px;
    transition: all 0.3s var(--ease-out-expo);
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-bg);
}

.btn-primary:hover {
    background: var(--color-accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--color-accent-glow);
}

.btn-secondary {
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.btn-secondary:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-frame {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
}

.visual-inner {
    width: 100%;
    height: 100%;
    background: var(--color-bg-secondary);
    border-radius: 8px;
    overflow: hidden;
}

#hero-canvas {
    width: 100%;
    height: 100%;
}

.frame-corner {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--color-accent);
}

.frame-tl {
    top: -10px;
    left: -10px;
    border-right: none;
    border-bottom: none;
}

.frame-tr {
    top: -10px;
    right: -10px;
    border-left: none;
    border-bottom: none;
}

.frame-bl {
    bottom: -10px;
    left: -10px;
    border-right: none;
    border-top: none;
}

.frame-br {
    bottom: -10px;
    right: -10px;
    border-left: none;
    border-top: none;
}

/* Canvas Controls */
.canvas-controls {
    position: absolute;
    bottom: 15px;
    right: 15px;
    z-index: 10;
}

.control-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.control-toggle:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
}

.control-toggle.active {
    background: var(--color-accent);
    color: var(--color-bg);
}

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

.control-toggle.active .toggle-icon {
    transform: rotate(90deg);
}

.controls-panel {
    position: absolute;
    bottom: 50px;
    right: 0;
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 1rem;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s var(--ease-out-expo);
}

.controls-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.control-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.control-group label {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    min-width: 70px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.control-group input[type="range"] {
    flex: 1;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--color-bg-tertiary);
    border-radius: 2px;
    cursor: pointer;
}

.control-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    background: var(--color-accent);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.control-group input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.control-group input[type="range"]::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--color-accent);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.control-value {
    font-size: 0.75rem;
    color: var(--color-accent);
    min-width: 25px;
    text-align: right;
    font-family: var(--font-mono);
}

.control-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--color-border);
}

.ctrl-btn {
    flex: 1;
    padding: 0.5rem 0.25rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ctrl-btn:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
}

.ctrl-btn.active {
    background: var(--color-accent);
    color: var(--color-bg);
    border-color: var(--color-accent);
}

@media (max-width: 768px) {
    .canvas-controls {
        bottom: 10px;
        right: 10px;
    }
    
    .controls-panel {
        min-width: 180px;
        padding: 0.75rem;
    }
    
    .control-group label {
        min-width: 60px;
        font-size: 0.65rem;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 5%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--color-text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* Section Common Styles */
section {
    padding: 8rem 5%;
    position: relative;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 4rem;
}

.section-number {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-accent);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
}

.section-line {
    flex: 1;
    height: 1px;
    background: var(--color-border);
}

/* About Section */
.about {
    background: var(--color-bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    aspect-ratio: 3/4;
    background: var(--color-bg-tertiary);
    border-radius: 8px;
    overflow: hidden;
    max-width: 350px;
}

.image-overlay-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: grayscale(20%);
    transition: filter 0.4s ease, transform 0.4s ease;
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(128, 128, 128, 0.25);
    pointer-events: none;
    transition: background 0.4s ease;
    z-index: 1;
}

.image-overlay-wrapper:hover .profile-photo {
    filter: grayscale(0%);
    transform: scale(1.15);
}

.image-overlay-wrapper:hover .image-overlay {
    background: rgba(128, 128, 128, 0.1);
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-bg-tertiary), var(--color-bg));
}

.portrait-svg {
    width: 60%;
    height: 60%;
    opacity: 0.8;
}

.name-avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.3);
}

.avatar-letter {
    font-size: 5rem;
    color: var(--color-bg);
    font-weight: 700;
    font-family: var(--font-serif);
}

.image-decoration {
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 1px solid var(--color-accent);
    border-radius: 8px;
    z-index: -1;
}

.about-text {
    color: var(--color-text-muted);
}

.about-lead {
    font-size: 1.4rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.about-lead strong {
    color: var(--color-accent);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-stats {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-border);
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
}

.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Projects Section */
.projects {
    background: var(--color-bg);
}

.projects-filter {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    border: 1px solid var(--color-border);
    border-radius: 100px;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    color: var(--color-bg);
    background: var(--color-accent);
    border-color: var(--color-accent);
}

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

.project-card {
    background: var(--color-bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
}

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

.project-media {
    aspect-ratio: 16/10;
    overflow: hidden;
    max-height: 300px;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease-out-expo);
}

.project-card:hover .project-image {
    transform: scale(1.05);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.project-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        hsl(var(--hue, 25), 80%, 20%),
        hsl(var(--hue, 25), 60%, 10%)
    );
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-icon {
    font-size: 4rem;
    position: relative;
    z-index: 1;
    filter: grayscale(0.3);
    transition: transform 0.4s var(--ease-out-expo), filter 0.4s ease;
}

.project-card:hover .project-icon {
    transform: scale(1.1);
    filter: grayscale(0);
}

.project-media {
    position: relative;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s var(--ease-out-expo), filter 0.4s ease;
    transform: scale(1.1);
    filter: grayscale(15%);
}

.project-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(128, 128, 128, 0.25);
    pointer-events: none;
    transition: background 0.4s ease;
    z-index: 1;
}

.project-card:hover .project-image {
    transform: scale(1.15);
    filter: grayscale(0%);
}

.project-card:hover .project-image-overlay {
    background: rgba(128, 128, 128, 0.1);
}

.placeholder-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.3;
}

.pattern-1 {
    background: repeating-conic-gradient(from 0deg, transparent 0deg 30deg, rgba(255,255,255,0.1) 30deg 60deg);
}

.pattern-2 {
    background: 
        linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.1) 40%, rgba(255,255,255,0.1) 60%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(255,255,255,0.1) 40%, rgba(255,255,255,0.1) 60%, transparent 60%);
    background-size: 30px 30px;
}

.pattern-3 {
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15) 2px, transparent 2px),
                radial-gradient(circle at 70% 70%, rgba(255,255,255,0.15) 2px, transparent 2px);
    background-size: 20px 20px;
}

.pattern-4 {
    background: linear-gradient(90deg, rgba(255,255,255,0.05) 50%, transparent 50%);
    background-size: 10px 100%;
}

.pattern-5 {
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 10px,
        rgba(255,255,255,0.05) 10px,
        rgba(255,255,255,0.05) 20px
    );
}

.pattern-6 {
    background: 
        conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(255,255,255,0.1) 90deg, transparent 90deg);
    background-size: 40px 40px;
}

.project-content {
    padding: 2rem;
}

.project-tags {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    font-size: 0.7rem;
    padding: 0.3rem 0.8rem;
    background: var(--color-bg-tertiary);
    color: var(--color-text-muted);
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.project-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

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

.project-link:hover {
    gap: 1rem;
}

.project-link-muted {
    color: var(--color-text-muted);
    cursor: default;
}

.project-link-muted:hover {
    gap: 0.5rem;
}

/* Sculpture Timeline Section */
.sculpture-timeline {
    background: var(--color-bg);
    padding: 8rem 5%;
}

.timeline-intro {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

.timeline {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding-left: 3rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-accent), var(--color-accent-secondary), transparent);
}

.timeline-item {
    position: relative;
    margin-bottom: 6rem;
    padding-left: 4rem;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -1.5rem;
    top: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 3px solid var(--color-bg);
    box-shadow: 0 0 0 2px var(--color-accent);
}

.timeline-year {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    position: relative;
}

.timeline-content {
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.4s var(--ease-out-expo);
}

.timeline-item:hover .timeline-content {
    border-color: var(--color-accent);
    box-shadow: 0 10px 40px rgba(255, 107, 53, 0.1);
    transform: translateX(10px);
}

.timeline-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.timeline-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
}

.timeline-image-wrapper:hover {
    transform: scale(1.08);
    z-index: 10;
    border-color: var(--color-accent);
    box-shadow: 0 15px 50px rgba(255, 107, 53, 0.3);
}

.timeline-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.6s var(--ease-out-expo), filter 0.4s ease;
    transform-origin: center center;
    will-change: transform;
    transform: scale(1.1);
    filter: grayscale(15%);
}

.timeline-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(128, 128, 128, 0.25);
    pointer-events: none;
    transition: background 0.4s ease;
    z-index: 1;
}

.timeline-image-wrapper:hover .timeline-image {
    transform: scale(1.3);
    filter: brightness(1.15) contrast(1.1) grayscale(0%);
}

.timeline-image-wrapper:hover .timeline-image-overlay {
    background: rgba(128, 128, 128, 0.1);
}

.timeline-description {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .timeline {
        padding-left: 2rem;
    }
    
    .timeline-item {
        padding-left: 2rem;
    }
    
    .timeline-item::before {
        left: -1rem;
    }
    
    .timeline-year {
        font-size: 2rem;
    }
    
    .timeline-images {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 0.5rem;
    }
    
    .project-media {
        max-height: 250px;
    }
    
    .image-wrapper {
        max-width: 280px;
    }
    
    .timeline-content {
        padding: 1.5rem;
    }
    
    .timeline-image-wrapper:hover .timeline-image {
        transform: scale(1.2);
    }
}

/* Lightbox Modal */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
    animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-bg);
    transform: scale(1.1);
}

.lightbox-close {
    top: 2rem;
    right: 2rem;
    font-size: 2rem;
    line-height: 1;
}

.lightbox-prev {
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-prev:hover,
.lightbox-next:hover {
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .lightbox-prev {
        left: 1rem;
    }
    
    .lightbox-next {
        right: 1rem;
    }
}

/* Sculptures Gallery Page */
.sculptures-gallery {
    background: var(--color-bg);
    padding: calc(var(--nav-height) + 4rem) 5% 8rem;
    min-height: 100vh;
}

.gallery-intro {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    text-align: center;
    max-width: 600px;
    margin: 0 auto 4rem;
    line-height: 1.8;
}

.sculptures-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.sculpture-item {
    position: relative;
}

.sculpture-image-wrapper {
    position: relative;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-bg-tertiary);
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: all 0.4s var(--ease-out-expo);
}

.sculpture-image-wrapper:hover {
    transform: translateY(-8px);
    border-color: var(--color-accent);
    box-shadow: 0 15px 50px rgba(255, 107, 53, 0.3);
    z-index: 10;
}

.sculpture-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.6s var(--ease-out-expo), filter 0.4s ease;
    transform-origin: center center;
    will-change: transform;
    transform: scale(1.1);
    filter: grayscale(15%);
}

.sculpture-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(128, 128, 128, 0.25);
    pointer-events: none;
    transition: background 0.4s ease;
    z-index: 1;
}

.sculpture-image-wrapper:hover .sculpture-image {
    transform: scale(1.3);
    filter: brightness(1.15) contrast(1.1) grayscale(0%);
}

.sculpture-image-wrapper:hover .sculpture-image-overlay {
    background: rgba(128, 128, 128, 0.1);
}

@media (max-width: 768px) {
    .sculptures-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .sculpture-image-wrapper:hover .sculpture-image {
        transform: scale(1.2);
    }
}

/* Skills Section */
.skills {
    background: var(--color-bg-secondary);
}

.skills-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.skills-category {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.category-icon {
    color: var(--color-accent);
    font-size: 1.5rem;
}

.skills-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.skill-name {
    font-size: 0.9rem;
    color: var(--color-text);
}

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

.skill-progress {
    height: 100%;
    width: var(--progress);
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-secondary));
    border-radius: 2px;
    transform-origin: left;
    animation: skillFill 1.5s var(--ease-out-expo) forwards;
}

@keyframes skillFill {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.skills-tools {
    grid-column: 1 / -1;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--color-border);
}

.tools-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
}

.tools-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.tool-item {
    padding: 0.75rem 1.5rem;
    background: var(--color-bg-tertiary);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    transition: all 0.3s ease;
}

.tool-item:hover {
    background: var(--color-accent);
    color: var(--color-bg);
}

/* Contact Section */
.contact {
    background: var(--color-bg);
    position: relative;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.contact-gradient {
    position: absolute;
    bottom: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 150%;
    height: 100%;
    background: radial-gradient(ellipse, var(--color-accent-glow), transparent 60%);
    opacity: 0.3;
}

.contact-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-lead {
    font-size: 1.5rem;
    color: var(--color-text);
    line-height: 1.5;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

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

.contact-location {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.link-icon {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

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

.social-link:hover {
    background: var(--color-accent);
    color: var(--color-bg);
    transform: translateY(-3px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* Contact Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    position: relative;
}

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

.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.form-group select option {
    background: var(--color-bg-secondary);
    color: var(--color-text);
}

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

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -0.75rem;
    font-size: 0.75rem;
    color: var(--color-accent);
}

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

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s var(--ease-out-expo);
}

.form-group input:focus ~ .input-line,
.form-group select:focus ~ .input-line,
.form-group textarea:focus ~ .input-line {
    width: 100%;
}

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

.btn-submit {
    align-self: flex-start;
    margin-top: 1rem;
}

/* Footer */
.footer {
    padding: 3rem 5%;
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-copy {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-style: italic;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 4rem;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-visual {
        order: 1;
    }
    
    .hero-tag {
        justify-content: center;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .skills-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .mobile-menu {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    section {
        padding: 4rem 5%;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .section-line {
        width: 100%;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Animation utilities */
.fade-in {
    animation: fadeIn 0.6s var(--ease-out-expo) forwards;
}

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

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