/* =========================================
   FRANK HERBERT - SPECIAL THEME
   ========================================= */

:root {
    --bg-dark: #050505;
    --spice-orange: #FF8C00;
    --spice-gold: #FFD700;
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Manrope', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-dark);
    color: #e0e0e0;
    font-family: var(--font-sans);
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* POZADÍ - ATMOSFÉRA ARRAKISU */
body::before {
    content: '';
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 140, 0, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 215, 0, 0.03) 0%, transparent 50%);
    z-index: -1;
    pointer-events: none;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; display: block; border-radius: 4px; }

/* KONTEJNERY */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* TLAČÍTKO ZPĚT */
.back-nav { padding: 30px 40px; position: absolute; top: 0; left: 0; z-index: 100; }
.btn-back { 
    color: #888; text-transform: uppercase; font-size: 0.8rem; 
    letter-spacing: 2px; font-weight: 700; display: flex; align-items: center; gap: 10px; 
}
.btn-back:hover { color: var(--spice-orange); transform: translateX(-5px); }

/* HERO SEKCE */
.philosopher-hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
}

.label {
    display: block; font-family: var(--font-sans); font-size: 0.9rem;
    text-transform: uppercase; letter-spacing: 3px; margin-bottom: 20px;
    font-weight: 700;
}

h1 {
    font-family: var(--font-serif);
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 30px;
    color: #fff;
}

.lead-text {
    font-size: 1.3rem; color: #bbb; max-width: 600px; margin-bottom: 30px; border-left: 2px solid var(--spice-orange); padding-left: 20px;
}

/* OBRÁZEK S EFEKTEM */
.hero-img-wrapper {
    position: relative;
    box-shadow: 0 0 50px rgba(255, 140, 0, 0.1);
}
.hero-img-wrapper::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, transparent 0%, var(--bg-dark) 100%);
}

/* EFEKT LÁVOVÉHO TEXTU (Gradient) */
.text-lava-gradient {
    background: linear-gradient(90deg, #FF8C00, #FFD700, #FF4500);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 20px rgba(255, 140, 0, 0.2));
}

/* LITANY BOX (Citát) */
.litany-box {
    margin: 100px 0;
    padding: 60px;
    border: 1px solid rgba(255, 140, 0, 0.2);
    background: rgba(20, 20, 20, 0.4);
    text-align: center;
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-style: italic;
    color: #fff;
    position: relative;
    backdrop-filter: blur(5px);
}
.litany-box::before {
    content: '“'; font-size: 8rem; position: absolute; top: -20px; left: 20px; 
    color: var(--spice-orange); opacity: 0.2; font-family: sans-serif;
}

/* KARTY KONCEPTŮ */
.section-title { font-family: var(--font-serif); font-size: 3rem; text-align: center; margin-bottom: 60px; }

.concept-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px;
}

.concept-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.concept-card:hover {
    transform: translateY(-10px);
    border-color: var(--spice-orange);
    box-shadow: 0 10px 40px rgba(186, 74, 0, 0.15);
    background: rgba(255, 140, 0, 0.05);
}

.concept-card i { font-size: 2.5rem; color: var(--spice-orange); margin-bottom: 25px; display: block; }
.concept-card h3 { font-family: var(--font-serif); font-size: 1.5rem; margin-bottom: 15px; color: #fff; }
.concept-card p { font-size: 0.95rem; color: #999; }

/* LÉTAJÍCÍ KOŘENÍ (Částice) */
#spice-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 999; overflow: hidden;
}
.spice-particle {
    position: absolute; border-radius: 50%;
    background: var(--spice-orange);
    box-shadow: 0 0 6px var(--spice-gold);
    opacity: 0; animation: float-up linear infinite;
}
@keyframes float-up {
    0% { transform: translateY(110vh) scale(0); opacity: 0; }
    20% { opacity: 0.6; }
    80% { opacity: 0.6; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* PATIČKA */
footer { text-align: center; padding: 60px 0; color: #555; font-size: 0.8rem; border-top: 1px solid #111; margin-top: 100px; }

/* RESPONZIVITA */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-img-wrapper { order: -1; margin-bottom: 40px; }
    .lead-text { margin: 0 auto 30px auto; }
    .concept-grid { grid-template-columns: 1fr; }
    h1 { font-size: 3.5rem; }
}

/* =========================================
   HERBERT - LOGO NA POZADÍ (FIX PRO matoustlamkaM.png)
   ========================================= */
.background-logo-glow {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Vycentrování */
    width: 85vw;
    height: 85vh;
    max-width: 800px;
    z-index: -2; /* Úplně vespod */
    opacity: 0.1; /* Velmi jemné, aby to nerušilo text */
    pointer-events: none;
    mix-blend-mode: screen; /* Splynutí s černým pozadím */
}

.background-logo-glow img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    
    /* MAGIE BAREV PRO BÍLÉ LOGO:
       1. sepia(1): Změní bílou/šedou na nažloutlou.
       2. saturate(5): Napálí sytost barev.
       3. hue-rotate(-30deg): Posune žlutou do oranžova.
       4. drop-shadow: Přidá záři.
    */
    filter: sepia(1) saturate(5) hue-rotate(-30deg) drop-shadow(0 0 50px rgba(255, 140, 0, 0.5));
    
    /* Pomalé dýchání */
    animation: subtle-glow-pulse 10s infinite alternate ease-in-out;
}

@keyframes subtle-glow-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.05); opacity: 1; }
}