/* ===========================
   CSS RESET & VARIABLES
   =========================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --primary: #667eea;
    --primary-dark: #5568d3;
    --secondary: #764ba2;
    --accent: #f093fb;
    --text-dark: #1a202c;
    --text-light: #718096;
    --text-white: #ffffff;
    --bg-light: #f5f3f0;
    --bg-warm: #faf8f5;
    --bg-dark: #0f0f0f;
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.6s ease;
    
    /* Z-index */
    --z-cursor: 10000;
    --z-nav: 1000;
    --z-overlay: 100;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--bg-warm);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ===========================
   CUSTOM CURSOR
   =========================== */

.cursor,
.cursor-follower {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: var(--z-cursor);
    transition: transform 0.2s ease, opacity 0.3s ease;
}

.cursor {
    width: 10px;
    height: 10px;
    background: var(--primary);
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 2px solid var(--primary);
    transform: translate(-50%, -50%);
    transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1),
                opacity 0.3s ease,
                width 0.3s ease,
                height 0.3s ease;
}

body:hover .cursor,
body:hover .cursor-follower {
    opacity: 1;
}

/* Hide cursor on touch devices */
@media (hover: none) {
    .cursor,
    .cursor-follower {
        display: none;
    }
}

/* ===========================
   NAVIGATION
   =========================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: var(--z-nav);
    transition: background 0.3s ease, padding 0.3s ease;
}

.nav.scrolled {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 3rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.nav-logo {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-sub {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    gap: 2.5rem;
}

.nav-menu a {
    position: relative;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition-normal);
    overflow: hidden;
}

.nav-menu a::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    overflow: hidden;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: width 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.nav-menu a:hover::before {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 0.4rem;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* ===========================
   HERO SECTION
   =========================== */

.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 100%);
    will-change: transform;
    transition: transform 0.1s ease-out;
}

#canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--text-white);
    padding: 2rem;
    will-change: transform, opacity;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.hero-title .line {
    display: block;
    overflow: hidden;
}

.hero-title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: slideUp 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.hero-title .line:nth-child(1) .word:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-title .line:nth-child(1) .word:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-title .line:nth-child(2) .word:nth-child(1) {
    animation-delay: 0.6s;
}

.hero-title .line:nth-child(2) .word:nth-child(2) {
    animation-delay: 0.8s;
}

.hero-title .line:nth-child(3) .word {
    animation-delay: 1s;
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.2s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.5s;
}

.mouse {
    width: 28px;
    height: 45px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0%, 20% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateX(-50%) translateY(15px);
        opacity: 0;
    }
}

/* Floating Music Notes */
.music-notes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.note {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
    animation: float 15s infinite ease-in-out;
}

.note:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.note:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: 2s;
}

.note:nth-child(3) {
    top: 40%;
    right: 15%;
    animation-delay: 4s;
}

.note:nth-child(4) {
    top: 70%;
    right: 25%;
    animation-delay: 1s;
}

.note:nth-child(5) {
    top: 30%;
    left: 70%;
    animation-delay: 3s;
}

.note:nth-child(6) {
    top: 80%;
    left: 50%;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) rotate(10deg);
        opacity: 0.6;
    }
}

/* ===========================
   CONTAINER & SECTIONS
   =========================== */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-light);
    margin-bottom: 3rem;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

/* ===========================
   ABOUT SECTION
   =========================== */

.about {
    position: relative;
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
    overflow: hidden;
    will-change: transform, opacity;
    transition: transform 0.15s ease-out, opacity 0.15s ease-out;
}

#canvas-about {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.about-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.image-wrapper {
    position: relative;
    padding-bottom: 120%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-photo {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.image-wrapper:hover .about-photo {
    transform: scale(1.05);
}

.image-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-1);
    transition: transform 0.5s ease;
}

.image-wrapper:hover .image-placeholder {
    transform: scale(1.05);
}

.about-content {
    padding: 2rem;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ===========================
   PIANO SECTION
   =========================== */

.piano-section {
    position: relative;
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 100%);
    overflow: hidden;
    will-change: transform, opacity;
    transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.15s ease-out;
    opacity: 0;
    perspective: 1500px;
    transform-style: preserve-3d;
    transform-origin: left center;
}

#canvas-piano-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.4;
}

.piano-bg-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    perspective: 1000px;
    z-index: 1;
    overflow: hidden;
}

/* 3D Grid Background */
.grid-3d {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.1) 2px, transparent 2px);
    background-size: 100px 100px;
    transform: translate(-50%, -50%) rotateX(60deg) translateZ(-200px);
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        transform: translate(-50%, -50%) rotateX(60deg) translateZ(-200px) translateY(0);
    }
    100% {
        transform: translate(-50%, -50%) rotateX(60deg) translateZ(-200px) translateY(100px);
    }
}

/* Floating 3D Cubes */
.floating-cubes {
    position: absolute;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.cube {
    position: absolute;
    width: 100px;
    height: 100px;
    transform-style: preserve-3d;
    animation: cubeFloat 15s ease-in-out infinite;
}

.cube-1 {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
    animation-duration: 12s;
}

.cube-2 {
    top: 60%;
    right: 20%;
    animation-delay: 2s;
    animation-duration: 15s;
}

.cube-3 {
    bottom: 25%;
    left: 60%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.cube-4 {
    top: 40%;
    right: 40%;
    animation-delay: 6s;
    animation-duration: 20s;
}

.cube-face {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.front  { transform: rotateY(0deg) translateZ(50px); }
.back   { transform: rotateY(180deg) translateZ(50px); }
.right  { transform: rotateY(90deg) translateZ(50px); }
.left   { transform: rotateY(-90deg) translateZ(50px); }
.top    { transform: rotateX(90deg) translateZ(50px); }
.bottom { transform: rotateX(-90deg) translateZ(50px); }

@keyframes cubeFloat {
    0%, 100% {
        transform: translateY(0) rotateX(0deg) rotateY(0deg) rotateZ(0deg);
    }
    25% {
        transform: translateY(-30px) rotateX(90deg) rotateY(90deg) rotateZ(0deg);
    }
    50% {
        transform: translateY(0) rotateX(180deg) rotateY(180deg) rotateZ(90deg);
    }
    75% {
        transform: translateY(30px) rotateX(270deg) rotateY(270deg) rotateZ(180deg);
    }
}

/* Light Beams */
.light-beams {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.beam {
    position: absolute;
    width: 2px;
    height: 150%;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 20%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    transform-origin: top center;
    animation: beamRotate 25s linear infinite;
    filter: blur(2px);
}

.beam-1 {
    left: 20%;
    animation-delay: 0s;
}

.beam-2 {
    left: 50%;
    animation-delay: 8s;
}

.beam-3 {
    left: 80%;
    animation-delay: 16s;
}

@keyframes beamRotate {
    0% {
        transform: rotateZ(0deg);
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: rotateZ(360deg);
        opacity: 0.3;
    }
}

.piano-section .container {
    position: relative;
    z-index: 2;
}

.piano-section .section-header {
    color: var(--text-white);
}

.piano-section .section-title {
    color: var(--text-white);
}

.piano-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}



.piano-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.piano-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.piano-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.piano-visual {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.youtube-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.piano-card:hover .youtube-thumbnail {
    transform: scale(1.05);
}

.thumbnail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.4);
    transition: background 0.3s ease;
}

.piano-card:hover .thumbnail-overlay {
    background: rgba(26, 26, 46, 0.2);
}

.waveform-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

.waveform {
    width: 100%;
    height: 100%;
}

.play-button {
    position: relative;
    z-index: 2;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.play-button svg {
    width: 30px;
    height: 30px;
    stroke-width: 2;
    color: var(--text-white);
    transition: transform 0.3s ease;
}

.piano-card:hover .play-button {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.piano-card:hover .play-button svg {
    transform: translateX(3px);
}

.piano-info {
    padding: 2rem;
}

.piano-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.piano-composer {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.piano-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* ===========================
   ORCHESTRA SECTION
   =========================== */

.orchestra-section {
    position: relative;
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
    overflow: hidden;
}

#canvas-orchestra {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.orchestra-timeline {
    position: relative;
    z-index: 2;
    padding-left: 3rem;
}

.orchestra-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
}

.orchestra-item {
    position: relative;
    margin-bottom: 4rem;
}

.timeline-marker {
    position: absolute;
    left: -3rem;
    top: 2rem;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--text-white);
    border: 3px solid var(--primary);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
}

.orchestra-card {
    background: var(--bg-warm);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-left: 2rem;
}

.orchestra-card:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.orchestra-year {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-1);
    color: var(--text-white);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.orchestra-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.orchestra-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.orchestra-details {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--text-light);
}

.detail-item svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    color: var(--primary);
}

.btn-listen {
    padding: 0.8rem 2rem;
    background: var(--gradient-1);
    color: var(--text-white);
    border-radius: 30px;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-listen:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* ===========================
   WEBSITES SECTION
   =========================== */

.websites-section {
    position: relative;
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #16213e 100%);
    overflow: hidden;
}

.websites-section .section-header,
.websites-section .section-title,
.websites-section .section-subtitle {
    color: var(--text-white);
}

.websites-section .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

#canvas-websites-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
}

.websites-bg-3d {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    perspective: 1200px;
    z-index: 1;
    overflow: hidden;
}

/* Code Rain Effect */
.code-rain {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.code-column {
    position: absolute;
    top: -100%;
    width: 2px;
    height: 100px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(102, 126, 234, 0.8),
        transparent
    );
    animation: rainFall 8s linear infinite;
    filter: blur(1px);
}

@keyframes rainFall {
    0% {
        top: -100%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Floating Browser Windows */
.floating-windows {
    position: absolute;
    width: 100%;
    height: 100%;
}

.browser-window {
    position: absolute;
    width: 200px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.window-1 {
    top: 15%;
    left: 10%;
    animation: floatWindow1 20s ease-in-out infinite;
    transform: rotateY(20deg) rotateX(10deg);
}

.window-2 {
    top: 50%;
    right: 15%;
    animation: floatWindow2 18s ease-in-out infinite;
    transform: rotateY(-15deg) rotateX(-5deg);
}

.window-3 {
    bottom: 20%;
    left: 50%;
    animation: floatWindow3 22s ease-in-out infinite;
    transform: rotateY(10deg) rotateX(15deg);
}

.window-header {
    height: 25px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    padding: 0 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.window-dots {
    display: flex;
    gap: 5px;
}

.window-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.window-dots span:nth-child(1) {
    background: rgba(255, 95, 86, 0.5);
}

.window-dots span:nth-child(2) {
    background: rgba(255, 189, 46, 0.5);
}

.window-dots span:nth-child(3) {
    background: rgba(39, 201, 63, 0.5);
}

.window-content {
    height: calc(100% - 25px);
    background: 
        linear-gradient(90deg, rgba(102, 126, 234, 0.1) 1px, transparent 1px),
        linear-gradient(rgba(102, 126, 234, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: contentScroll 10s linear infinite;
}

@keyframes contentScroll {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 20px 20px;
    }
}

@keyframes floatWindow1 {
    0%, 100% {
        transform: translateY(0) translateX(0) rotateY(20deg) rotateX(10deg);
    }
    50% {
        transform: translateY(-30px) translateX(20px) rotateY(-20deg) rotateX(-10deg);
    }
}

@keyframes floatWindow2 {
    0%, 100% {
        transform: translateY(0) translateX(0) rotateY(-15deg) rotateX(-5deg);
    }
    50% {
        transform: translateY(40px) translateX(-30px) rotateY(15deg) rotateX(5deg);
    }
}

@keyframes floatWindow3 {
    0%, 100% {
        transform: translateY(0) translateX(0) rotateY(10deg) rotateX(15deg);
    }
    50% {
        transform: translateY(-25px) translateX(25px) rotateY(-10deg) rotateX(-15deg);
    }
}

/* Tech Symbols */
.tech-symbols {
    position: absolute;
    width: 100%;
    height: 100%;
}

.symbol {
    position: absolute;
    font-size: 3rem;
    font-weight: bold;
    color: rgba(102, 126, 234, 0.3);
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
    animation: symbolFloat 15s ease-in-out infinite;
}

.symbol-html {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.symbol-css {
    top: 30%;
    right: 25%;
    animation-delay: 2s;
}

.symbol-js {
    bottom: 30%;
    left: 15%;
    animation-delay: 4s;
}

.symbol-react {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.symbol-node {
    bottom: 15%;
    right: 40%;
    animation-delay: 3s;
}

@keyframes symbolFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-40px) rotate(180deg);
        opacity: 0.6;
    }
}

/* Hologram Grid */
.hologram-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(102, 126, 234, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 126, 234, 0.05) 1px, transparent 1px);
    background-size: 50px 50px;
    transform: perspective(500px) rotateX(60deg);
    transform-origin: center center;
    animation: gridPulse 4s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
}

.websites-section .container {
    position: relative;
    z-index: 2;
}

.websites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.website-card {
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.website-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.website-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.website-placeholder {
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.website-card:hover .website-placeholder {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.website-card:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
}

.btn-view {
    padding: 0.8rem 2rem;
    background: var(--bg-warm);
    color: var(--text-dark);
    border-radius: 30px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.btn-view:hover {
    transform: scale(1.05);
}

.tech-stack {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tech {
    padding: 0.3rem 0.8rem;
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    border-radius: 15px;
    font-size: 0.8rem;
    backdrop-filter: blur(10px);
}

.website-info {
    padding: 2rem;
}

.website-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.website-description {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.website-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    padding: 0.4rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary);
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* ===========================
   CONTACT SECTION
   =========================== */

.contact-section {
    padding: var(--spacing-xl) 0;
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-info {
    padding: 2rem 0;
}

.contact-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    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;
    font-size: 1rem;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
    color: var(--primary);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-link svg {
    width: 20px;
    height: 20px;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.social-link:hover {
    background: var(--gradient-1);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.social-link:hover svg {
    color: var(--text-white);
}

.contact-form-wrapper {
    background: var(--bg-warm);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-messages {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    font-weight: 500;
    animation: slideDown 0.3s ease;
}

.form-messages.success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
    border: 2px solid #4CAF50;
    color: #2e7d32;
}

.form-messages.error {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.1) 0%, rgba(244, 67, 54, 0.05) 100%);
    border: 2px solid #f44336;
    color: #c62828;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-group {
    position: relative;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    background: transparent;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--text-light);
    pointer-events: none;
    transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group input:valid + label,
.form-group textarea:focus + label,
.form-group textarea:valid + label,
.form-group.focused label {
    top: -0.75rem;
    left: 0.75rem;
    font-size: 0.85rem;
    background: var(--bg-warm);
    padding: 0 0.5rem;
    color: var(--primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.btn-submit {
    padding: 1rem 2.5rem;
    background: var(--gradient-1);
    color: var(--text-white);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    align-self: flex-start;
    cursor: pointer;
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-submit svg {
    width: 20px;
    height: 20px;
    stroke-width: 2;
    transition: transform 0.3s ease;
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-submit:hover:not(:disabled) svg {
    transform: translateX(5px);
}

.loading-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ===========================
   FOOTER
   =========================== */

.footer {
    padding: 3rem 0;
    background: var(--text-dark);
    color: var(--text-white);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-text {
    max-width: 500px;
    color: rgba(255, 255, 255, 0.7);
    margin: 1rem 0;
}

.footer-copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.admin-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.admin-login-btn svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.admin-login-btn:hover {
    background: rgba(102, 126, 234, 0.1);
    border-color: rgba(102, 126, 234, 0.3);
    color: #667eea;
    transform: translateY(-2px);
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */

@media (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .websites-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem 2rem;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-warm);
        flex-direction: column;
        padding: 5rem 2rem;
        gap: 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: clamp(2rem, 6vw, 4rem);
    }
    
    .piano-grid {
        grid-template-columns: 1fr;
    }
    
    .orchestra-timeline {
        padding-left: 2rem;
    }
    
    .orchestra-card {
        margin-left: 1rem;
        padding: 2rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .section-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    
    .websites-grid {
        grid-template-columns: 1fr;
    }
    
    .orchestra-details {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ===========================
   UTILITY CLASSES
   =========================== */

.text-gradient {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   YOUTUBE MODAL
   =========================== */

.youtube-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.youtube-modal.active {
    opacity: 1;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    z-index: 10001;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.youtube-modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text-white);
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* Custom Audio Player Styles */
#progressBar::-webkit-slider-thumb,
#volumeBar::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.5);
}

#progressBar::-moz-range-thumb,
#volumeBar::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.5);
}

#progressBar::-webkit-slider-runnable-track,
#volumeBar::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
}

#volumeBar::-webkit-slider-runnable-track {
    height: 6px;
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
    }
    
    .modal-close {
        top: -40px;
        width: 35px;
        height: 35px;
        font-size: 1.5rem;
    }
}
