/* Reset a základy */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a1a1a;
    --secondary: #2a2a2a;
    --accent: #5d4410;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, 
        #f8f9fa 0%,           /* Světlý vrchol */
        #e9ecef 50%,          /* Světle šedá - ještě více prodlouženo */
        #6c757d 85%,          /* Střední šedá - posunuto ještě níž */
        #343a40 95%,          /* Tmavě šedá - velmi ostrý přechod */
        #1a1a1a 100%          /* Původní tmavá */
    );
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Celopodkladové pozadí s jemnými efekty */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 10%, rgba(255, 107, 53, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Kontejner */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Header sekce s logem */
.header {
    padding: 4rem 0 2rem;
    text-align: center;
    position: relative;
}

.logo-container {
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    z-index: 2;
}

.logo-svg {
    width: min(500px, 70vw);
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.1));
}

/* SVG Logo animace - obrys pak výplň */
.logo-svg path {
    opacity: 0;
}

.logo-svg .stroke-path {
    fill: none !important;
    stroke: #ffffff;
    stroke-width: 1px;
    stroke-linecap: round;
    stroke-linejoin: round;
    opacity: 1;
    animation: drawStroke 1.5s ease-out forwards;
}

.logo-svg .fill-path {
    opacity: 0;
    animation: fillShape 0.5s ease-out forwards;
}

@keyframes drawStroke {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fillShape {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Hlavní obsah */
.main-content {
    text-align: center;
    padding: 2rem 0 4rem;
}

.tagline {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 300;
    color: #2c3e50;  /* Tmavá barva pro světlé pozadí */
    margin-bottom: 2rem;
    line-height: 1.3;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 2.5s forwards;
    text-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #495057;  /* Tmavě šedá pro čitelnost */
    max-width: 600px;
    margin: 0 auto 4rem;
    line-height: 1.6;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 3s forwards;
}

/* Efekt zrodu produktu */
.product-birth {
    text-align: center;
    margin: 4rem 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 3.5s forwards;
}

.planet-birth-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.2);
}

#birthCanvas {
    display: block;
    border-radius: 50%;
    filter: blur(0.5px);
    box-shadow: 0 0 50px rgba(255, 107, 53, 0.3);
}

.birth-text {
    text-align: center;
    margin: 3rem auto 2rem;
    max-width: 500px;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 2rem 3rem;
    border-radius: 20px;
    position: relative;
    
    /* Zemitá hnědá - přírodní a teplá */
    background-color: #3e3529 !important;
    
    /* Glassmorphism efekt */
    backdrop-filter: blur(15px);
    border: 2px solid rgba(45, 36, 26, 0.4);
    
    /* Stíny a glow v zemité paletě */
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(45, 36, 26, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
        
    /* Jemná animace */
    animation: subtleGlow 3s ease-in-out infinite alternate;
    
    /* Bílý text pro lepší čitelnost */
    color: #ffffff;
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 40px rgba(255, 255, 255, 0.6);
}

@keyframes subtleGlow {
    0% {
        box-shadow: 
            0 20px 40px rgba(0, 0, 0, 0.3),
            0 0 60px rgba(74, 158, 255, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    100% {
        box-shadow: 
            0 20px 40px rgba(0, 0, 0, 0.3),
            0 0 80px rgba(74, 158, 255, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.15);
    }
}

.birth-text::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 1px;
}

.birth-text::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 1px;
}

/* Kontakty */
.contact {
    padding: 4rem 0 2rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 4s forwards;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    margin: 2rem auto 0;
}

.contact-item {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 107, 53, 0.05);
    border-color: rgba(255, 107, 53, 0.2);
    transform: translateY(-5px);
}

.contact-label {
    font-size: 0.8rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.contact-value {
    font-size: 1.1rem;
    color: var(--text-primary);
    font-weight: 500;
}

/* Animace fade in up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responzivní design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    .header {
        padding: 2rem 0 1rem;
    }
    
    .planet-birth-container {
        width: 200px;
        height: 200px;
    }
    
    #birthCanvas {
        width: 200px;
        height: 200px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}
