/* =============================================
   Δημήτρης Τζάνης — Under Construction
   Artistic & Premium Design System
   ============================================= */

/* --- CSS Custom Properties --- */
:root {
    /* Color Palette — Warm Artistic Tones */
    --color-bg-deep:       #0D0B0A;
    --color-bg:            #1A1614;
    --color-bg-elevated:   #241F1B;
    --color-surface:       #2E2722;
    
    --color-ochre:         #C8956C;
    --color-ochre-light:   #D4A574;
    --color-sienna:        #8B4513;
    --color-burgundy:      #6B1D2A;
    --color-burgundy-deep: #4A1019;
    --color-gold:          #C9A96E;
    --color-gold-light:    #E0C992;
    --color-cream:         #F5E6D3;
    --color-warm-white:    #FAF3EB;
    
    --color-text-primary:  #FAF3EB;
    --color-text-secondary:#C8B8A8;
    --color-text-muted:    #8A7B6B;
    
    /* Typography */
    --font-display: 'Cormorant Garamond', 'Georgia', serif;
    --font-body:    'Inter', -apple-system, sans-serif;
    
    /* Spacing */
    --space-xs:  0.25rem;
    --space-sm:  0.5rem;
    --space-md:  1rem;
    --space-lg:  1.5rem;
    --space-xl:  2.5rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    
    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --transition-base: 0.3s var(--ease-out-expo);
    --transition-slow: 0.8s var(--ease-out-expo);
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-deep);
    color: var(--color-text-primary);
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

a {
    color: var(--color-ochre);
    text-decoration: none;
    transition: color var(--transition-base);
}

a:hover {
    color: var(--color-gold-light);
}

/* --- Paint Canvas Background --- */
.paint-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.paint-stroke {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0;
    animation: strokeReveal 3s var(--ease-out-expo) forwards;
}

.stroke-1 {
    width: 600px;
    height: 200px;
    background: linear-gradient(135deg, var(--color-sienna), var(--color-burgundy));
    top: 10%;
    left: -10%;
    transform: rotate(-15deg);
    animation-delay: 0.2s;
}

.stroke-2 {
    width: 500px;
    height: 180px;
    background: linear-gradient(135deg, var(--color-ochre), var(--color-sienna));
    top: 60%;
    right: -8%;
    transform: rotate(20deg);
    opacity: 0.6;
    animation-delay: 0.6s;
}

.stroke-3 {
    width: 400px;
    height: 150px;
    background: linear-gradient(135deg, var(--color-burgundy-deep), var(--color-burgundy));
    bottom: 15%;
    left: 20%;
    transform: rotate(-8deg);
    animation-delay: 1s;
}

.stroke-4 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--color-ochre) 0%, transparent 70%);
    top: 30%;
    right: 25%;
    animation-delay: 1.4s;
}

.stroke-5 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, var(--color-gold) 0%, transparent 70%);
    bottom: 30%;
    left: 60%;
    opacity: 0.4;
    animation-delay: 1.8s;
}

@keyframes strokeReveal {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(var(--rotation, 0deg));
    }
    100% {
        opacity: 0.15;
        transform: scale(1) rotate(var(--rotation, 0deg));
    }
}

/* --- Paint Splatters --- */
.paint-splatter {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    animation: splatterPulse 8s ease-in-out infinite;
}

.splatter-1 {
    width: 150px;
    height: 150px;
    background: var(--color-burgundy);
    top: 20%;
    right: 15%;
    opacity: 0.1;
    animation-delay: 0s;
}

.splatter-2 {
    width: 100px;
    height: 100px;
    background: var(--color-ochre);
    bottom: 25%;
    left: 10%;
    opacity: 0.08;
    animation-delay: 3s;
}

.splatter-3 {
    width: 120px;
    height: 120px;
    background: var(--color-gold);
    top: 50%;
    left: 40%;
    opacity: 0.06;
    animation-delay: 5s;
}

@keyframes splatterPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.08;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.15;
    }
}

/* --- Floating Particles --- */
.particles {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--color-gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 12s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 14s; }
.particle:nth-child(2) { left: 25%; animation-delay: 2s; animation-duration: 11s; }
.particle:nth-child(3) { left: 40%; animation-delay: 4s; animation-duration: 13s; }
.particle:nth-child(4) { left: 55%; animation-delay: 1s; animation-duration: 15s; }
.particle:nth-child(5) { left: 70%; animation-delay: 3s; animation-duration: 10s; }
.particle:nth-child(6) { left: 85%; animation-delay: 5s; animation-duration: 12s; }
.particle:nth-child(7) { left: 15%; animation-delay: 6s; animation-duration: 16s; }
.particle:nth-child(8) { left: 65%; animation-delay: 7s; animation-duration: 11s; }

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.2;
    }
    100% {
        transform: translateY(-20vh) scale(1);
        opacity: 0;
    }
}

/* --- Hero Content --- */
.hero {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: var(--space-xl);
    text-align: center;
}

.hero-content {
    max-width: 600px;
    animation: contentFadeIn 1.5s var(--ease-out-expo) 0.5s both;
}

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

/* --- Artist Portrait --- */
.artist-portrait {
    display: flex;
    justify-content: center;
    margin: 0 auto var(--space-xl);
    opacity: 0;
    animation: portraitReveal 1.2s var(--ease-out-expo) 0.8s both;
}

.portrait-frame {
    width: 180px;
    height: 180px;
    flex-shrink: 0;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(200, 149, 108, 0.3);
    box-shadow:
        0 0 30px rgba(200, 149, 108, 0.15),
        0 0 60px rgba(139, 69, 19, 0.1);
    position: relative;
    isolation: isolate;
    animation: portraitGlow 6s ease-in-out infinite 2s;
}

.portrait-frame img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
    filter: saturate(0.85) contrast(1.05);
    transition: all 0.6s var(--ease-out-expo);
}

.portrait-frame:hover img {
    transform: scale(1.05);
    filter: saturate(1) contrast(1);
}

@keyframes portraitReveal {
    from {
        opacity: 0;
        transform: scale(0.7);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes portraitGlow {
    0%, 100% {
        box-shadow:
            0 0 30px rgba(200, 149, 108, 0.15),
            0 0 60px rgba(139, 69, 19, 0.1);
    }
    50% {
        box-shadow:
            0 0 40px rgba(200, 149, 108, 0.25),
            0 0 80px rgba(139, 69, 19, 0.15);
    }
}

/* --- Artist Name --- */
.artist-name {
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1;
    letter-spacing: 0.08em;
    margin-bottom: var(--space-lg);
}

.name-line {
    display: block;
    opacity: 0;
    animation: nameSlideIn 1s var(--ease-out-expo) both;
}

.name-first {
    font-size: clamp(2.5rem, 8vw, 5rem);
    color: var(--color-cream);
    animation-delay: 1s;
}

.name-last {
    font-size: clamp(3rem, 10vw, 6.5rem);
    font-weight: 600;
    background: linear-gradient(135deg, var(--color-ochre), var(--color-gold-light), var(--color-ochre-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 1.2s;
    margin-top: -0.1em;
}

@keyframes nameSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- Divider --- */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
    opacity: 0;
    animation: fadeIn 1s var(--ease-out-expo) 1.6s both;
}

.divider-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-ochre), transparent);
}

.divider-dot {
    width: 6px;
    height: 6px;
    background: var(--color-ochre);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(200, 149, 108, 0.5);
}

/* --- Subtitle --- */
.subtitle {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    font-weight: 300;
    font-style: italic;
    color: var(--color-text-secondary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeIn 1s var(--ease-out-expo) 1.8s both;
}

/* --- Coming Soon --- */
.coming-soon {
    margin-top: var(--space-3xl);
    opacity: 0;
    animation: fadeIn 1s var(--ease-out-expo) 2.2s both;
}

.coming-soon-text {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    display: block;
    margin-bottom: var(--space-md);
}

.progress-bar {
    width: 200px;
    height: 2px;
    background: var(--color-surface);
    border-radius: 2px;
    margin: 0 auto;
    overflow: hidden;
}

.progress-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-ochre), var(--color-gold));
    border-radius: 2px;
    animation: progressGrow 3s var(--ease-out-expo) 2.8s both;
    position: relative;
}

.progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: -2px;
    width: 6px;
    height: 6px;
    background: var(--color-gold-light);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-gold);
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes progressGrow {
    to { width: 35%; }
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 10px var(--color-gold); }
    50% { box-shadow: 0 0 20px var(--color-gold), 0 0 30px var(--color-ochre); }
}

/* --- Contact Hint --- */
.contact-hint {
    margin-top: var(--space-xl);
    opacity: 0;
    animation: fadeIn 1s var(--ease-out-expo) 2.6s both;
}

.contact-hint p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    font-weight: 300;
}

.contact-hint a {
    color: var(--color-ochre);
    font-weight: 400;
    position: relative;
}

.contact-hint a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-gold-light);
    transition: width var(--transition-base);
}

.contact-hint a:hover::after {
    width: 100%;
}

/* --- Grain Overlay --- */
.grain-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    pointer-events: none;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* --- Utility Animation --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .paint-stroke {
        filter: blur(60px);
    }
    
    .stroke-1 { width: 350px; height: 120px; }
    .stroke-2 { width: 300px; height: 100px; }
    .stroke-3 { width: 250px; height: 90px; }
    .stroke-4 { width: 200px; height: 200px; }
    .stroke-5 { width: 150px; height: 150px; }
    
    .hero {
        padding: var(--space-lg);
    }
    
    .portrait-frame {
        width: 140px;
        height: 140px;
    }
    
    .divider-line {
        width: 40px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: var(--space-md);
    }
    
    .coming-soon {
        margin-top: var(--space-2xl);
    }
    
    .progress-bar {
        width: 150px;
    }
}
