/* BASIC RESET */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: #222222;
    background-color: #ffffff;
}

/* HERO */

.hero {
    position: relative;
    min-height: 260px;
    padding: 60px 20px 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    background-image: url("/img/grafika.png");
    background-position: center bottom;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.8),
        rgba(0, 0, 0, 0.35)
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    color: #ffffff;
    padding: 0 20px;
}

.hero-logo {
    width: 200px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 24px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.8));
}

.hero h1 {
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    margin-bottom: 16px;
    font-weight: 700;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 24px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}

/* BUTTONS */

.cta-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 999px;
    background: #ff4bb1;
    color: #ffffff;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

.cta-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.35);
    background: #ff2e9f;
}

.cta-btn-secondary {
    background: #5f2b8c;
}

.cta-btn-secondary:hover {
    background: #4b2170;
}

/* PAGE CONTENT */

.page-wrapper {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 16px 80px;
}

.content h2 {
    font-size: 1.7rem;
    margin-bottom: 16px;
}

.content h3 {
    font-size: 1.3rem;
    margin-top: 28px;
    margin-bottom: 10px;
}

.content h4 {
    font-size: 1.1rem;
    margin-top: 20px;
    margin-bottom: 8px;
}

.content p {
    margin-bottom: 12px;
}

.content ul,
.content ol {
    margin: 8px 0 16px 20px;
    padding-left: 16px;
}

.content li {
    margin-bottom: 6px;
}

.highlight {
    margin: 18px 0;
    padding: 12px 16px;
    border-left: 4px solid #ff4bb1;
    background: #fff5fb;
}

/* BOTTOM CTA */

.bottom-cta {
    margin-top: 40px;
    padding: 24px 20px;
    border-radius: 18px;
    background: #f4ecff;
    text-align: center;
}

.bottom-cta h3 {
    margin-bottom: 8px;
}

.bottom-cta p {
    margin-bottom: 16px;
}

/* RELATED GUIDES */

.related-guides {
    margin-top: 40px;
    padding: 20px 20px 18px;
    border-radius: 18px;
    background: #f4ecff;
}

.related-guides h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.related-guides ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.related-guides li + li {
    margin-top: 6px;
}

.related-guides a {
    text-decoration: none;
    color: #5f2b8c;
    font-weight: 500;
}

.related-guides a:hover {
    text-decoration: underline;
}

/* RESPONSIVE */

@media (max-width: 600px) {
    .hero {
        padding: 55px 16px 70px;
    }

    .hero-logo {
        width: 170px;
    }

    .page-wrapper {
        padding: 32px 14px 60px;
    }
}
/* --- HERO FIX: vertical + horizontal centering --- */
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    margin: 0 auto;

    /* trochu zvedneme obsah nahoru */
    margin-top: -30px;
}

/* --- TITLE FIX: lepší čitelnost --- */
.hero-content h1 {
    color: #ffffff;
    text-shadow: 0 3px 10px rgba(0,0,0,0.55);
    max-width: 700px;
}

/* --- SUBTITLE FIX: zesvětlení + čitelnost + posunutí výš --- */
.hero-subtitle {
    color: rgba(255,255,255,0.92);
    font-size: 1.05rem;
    max-width: 720px;
    margin-top: 12px;

    text-shadow: 0 2px 8px rgba(0,0,0,0.55);
}

/* --- HERO HEIGHT: zvětšený prostor aby text nesjížděl --- */
.hero {
    padding-top: 120px;
    padding-bottom: 120px;
}
