/* ============================================
   HERO SEKCE – HLAVNÍ + SIMPLE (SJEDNOCENO)
   ============================================ */
/* Společné pozadí pro oba typy hero */
.hero-section,
.hero-section-simple {
    height: 400px;
    padding: 140px 20px 60px;
    box-sizing: border-box;
    /* STEJNÝ GRADIENT + STEJNÝ OBRÁZEK */
    background: linear-gradient(
        180deg,
        rgba(11, 51, 79, 0.15) 0%,
        rgba(10, 45, 69, 0.25) 100%
    ),
    url('../images/pozadi2.jpg') center / cover no-repeat;
    position: relative;
}
/* STEJNÝ OVERLAY PRO OBA */
.hero-section::before,
.hero-section-simple::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* STEJNÝ ODSTÍN JAKO V HERO SIMPLE */
    background: rgba(11, 51, 79, 0.15);
    z-index: 1;
}
/* ============================================
   HERO OBSAH – HLAVNÍ
   ============================================ */
.hero-content,
.hero-content-simple {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
    gap: 40px;
}
.hero-left {
    text-align: center;
    flex: 1;
}
.hero-right {
    flex: 1;
    text-align: right;
    padding-right: 10px;
    margin-bottom: 80px;
}
.hero-logo {
    max-width: 300px;
    height: auto;
    margin-bottom: 10px;
    position: relative;
    top: -30px;
}
.hero-subtitle {
    font-size: 18px;
    color: white;
    letter-spacing: 1px;
    position: relative;
    top: -50px;
}
.hero-subtitle .underline {
    color: #EEB500;
    text-decoration: underline;
    text-decoration-color: #c0392b;
    text-underline-offset: 4px;
}
.hero-description {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
    margin-bottom: 15px;
}
.hero-highlight {
    font-size: 16px;
    color: #EEB500;
    font-weight: 500;
}
/* ============================================
   HERO OBSAH – SIMPLE
   ============================================ */
.hero-content-simple {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2; /* NAD OVERLAYEM */
    gap: 40px;
}
.hero-left-simple {
    flex: 0 0 auto;
}
.hero-rainbow-logo {
    width: 180px;
    height: auto;
}
.hero-right-simple {
    flex: 0 0 auto;
    text-align: center;
}
.hero-subtitle-small {
    font-size: 28px;
    color: #EEB500;
    font-weight: 500;
    letter-spacing: 8px;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.hero-title-large {
    font-size: 72px;
    color: white;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: 2px;
}
.hero-text-medium {
    font-size: 32px;
    color: white;
    margin-bottom: 15px;
}
.hero-text-medium .underline-animated {
    color: #EEB500;
}
.hero-note-small {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
    margin-top: 10px;
}
/* ============================================
   ANIMOVANÉ PODTRŽENÍ
   ============================================ */
.underline-animated {
    position: relative;
    color: #EEB500;
    display: inline-block;
}
.underline-animated::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 8px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M0 8 Q 30 2, 60 8 T 120 8' stroke='%23e74c3c' stroke-width='4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat;
    background-size: 100% 100%;
    transform: scaleX(0);
    transform-origin: left;
    animation: drawUnderline 1s ease-out forwards;
    animation-delay: 0.5s;
}
@keyframes drawUnderline {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
}