@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;800&display=swap');

/* --- PREMENNÉ --- */
:root {
    --primary: #4f46e5;
    --accent: #10b981;  
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-soft: #f8fafc;
    --bg-white: #ffffff;
    --border: #e2e8f0;
    --gradient-hero: radial-gradient(circle at top, #f5f3ff 0%, #ffffff 100%);
}

/* --- ZÁKLAD --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Plus Jakarta Sans', sans-serif; 
    color: var(--text-dark); 
    background: var(--bg-white); 
    line-height: 1.6; 
}


.logo { 
    font-size: 1.4rem; 
    font-weight: 800; 
    color: var(--primary); 
    text-decoration: none; 
}

nav {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 18px 0; 
}

.nav-menu { 
    display: flex; 
    gap: 30px; 
    list-style: none; 
}

.nav-menu a { 
    text-decoration: none; 
    color: var(--text-dark); 
    font-weight: 600; 
    font-size: 0.95rem; 
    transition: 0.2s; 
}

.nav-menu a:hover { 
    color: var(--primary); 
}

.nav-menu .nav-highlight { 
    color: var(--danger); 
}

.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: transparent;
  border: none;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background-color: var(--primary);
  margin: 4px 0;
  transition: 0.3s;
}

.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 0 24px; 
}

.text-center { 
    text-align: center;
    margin-bottom: 60px;
 }

.mt-large { margin-top: 60px; }

/* --- HEADER --- */
header { 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border); 
    position: sticky; 
    top: 0; 
    z-index: 100; 
}

.header-container nav { display: flex; justify-content: space-between; align-items: center; }


/* --- HERO --- */
.story-hero { 
    margin-bottom: 50px;
    padding: 100px 0 60px; 
    text-align: center; 
    background: var(--gradient-hero); 
}

.story-hero h1 { 
    font-size: clamp(2.5rem, 6vw, 4rem); 
    font-weight: 800; 
    letter-spacing: -2px; 
    line-height: 1.1; 
    margin-bottom: 20px; 
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
}

.highlight-text { color: var(--primary); }

.badge-red { 
    background: #fee2e2; 
    color: #b91c1c; 
    padding: 6px 15px; 
    border-radius: 50px; 
    font-weight: 800; 
    font-size: 0.8rem; 
    text-transform: uppercase; 
    margin-bottom: 15px; 
    display: inline-block; 
}

/* --- SEKCIE VŠEOBECNÉ --- */
.lead-text { 
    color: var(--text-light); 
    font-size: 1.2rem; 
    max-width: 800px; 
    margin: 0 auto; 
}

h2 { 
    font-size: 2rem; 
    margin-bottom: 20px; 
    font-weight: 800; 
}

/* --- GRID SYSTÉM (OBRÁZOK + TEXT) --- */
.story-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 40px; 
    align-items: center; 
}

.visual-card {
    border-radius: 32px;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 20px;
}

.visual-card.dark {
    background: var(--text-dark);
    color: white;
}

.icon-large { font-size: 6rem; color: var(--primary); margin-bottom: 20px; }
.visual-label { font-weight: 800; text-transform: uppercase; letter-spacing: 1px; text-align: center; }

/* --- STRIPY (FILOZOFIA) --- */
.philosophy-strip { 
    background: var(--primary); 
    color: white; 
    padding: 60px; 
    border-radius: 40px; 
    margin: 80px 0; 
    position: relative; 
    overflow: hidden; 
}

.strip-content { position: relative; z-index: 2; max-width: 800px; }
.philosophy-strip p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 0; }
.bg-icon { 
    position: absolute; 
    right: -20px; bottom: -20px; 
    font-size: 15rem; 
    opacity: 0.1; 
    z-index: 1;
}

/* --- QUOTE BOX --- */
.quote-section { margin: 60px auto; }
.quote-box {
    max-width: 750px;
    margin: 0 auto;
    background: var(--bg-soft);
    padding: 30px;
    border-radius: 20px;
    border-left: 6px solid var(--primary);
}
.quote-box p { font-size: 1.1rem; font-weight: 500; margin: 0; }

/* --- GRID PRE PUBLIKUM --- */
.audience-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.audience-card {
    background: var(--bg-soft);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border);
    transition: transform 0.2s;
}

.audience-card:hover { transform: translateY(-5px); }
.audience-card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 15px; color: var(--text-dark); }
.audience-card p { color: var(--text-light); margin-bottom: 0; }

/* --- FINAL BOX & JOKE --- */
.final-box { 
    text-align: center; 
    padding: 80px 0; 
    border-top: 1px solid var(--bg-soft); 
}

.btc-joke { 
    background: #fff7ed; 
    border: 2px dashed #fb923c; 
    padding: 40px; 
    border-radius: 32px; 
    margin: 40px auto; 
    max-width: 700px; 
}

.joke-header { 
    font-weight: 800; 
    color: #9a3412; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-bottom: 10px; 
}

.joke-footer { 
    margin-top: 20px; 
    font-weight: 800; 
    color: var(--accent); 
    font-size: 1.3rem; 
}

.btn-cta {
    background: var(--primary);
    color: white;
    padding: 20px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    display: inline-block;
    transition: transform 0.2s, background 0.2s;
}

.btn-cta:hover { transform: scale(1.05); background: #4338ca; }

/* šipka */
#scrollToTopBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    border: none;
    outline: none;
    background-color: var(--primary);
    color: #e2e8f0;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    font-size: 15px;
    transition: 0.3s;
    transform: rotate(-90deg); /* Otočí prvok o 90 stupňov doľava */
}

html {
    scroll-behavior: smooth;
}


/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .story-grid { grid-template-columns: 1fr; }
    .visual-card { order: -1; height: 300px; }
    .audience-grid { grid-template-columns: 1fr; }
    .philosophy-strip { padding: 40px; }
    .bg-icon { display: none; } /* Na mobile skryjeme obrovskú ikonu */

    /*Menu*/
    .menu-toggle {
        display: flex;/* Zobrazit hamburger*/
    }

    .nav-menu {
        display: none; /* Skryjeme klasické odkazy */
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 60px;
        left: 0;
        background-color: rgb(255, 255, 255);
        text-align: center;
        padding: 15px;
    }
    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        padding: 15px;
    }

    /*Otvorenie menu*/
    .nav-menu.active {
        display: flex;
    }
}