/* --- ZÁKLAD (SPOLEČNÉ) --- */
.wedding-hero-section {
    display: flex;
    flex-direction: column; 
    min-height: 600px;
    height: 90vh;
    width: 100%;
    overflow: hidden;
}

/* LEVÁ STRANA (TEXT) */
.hero-content-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px;
    /* Na mobilu se tato barva přebije průhlednou v media query níže */
    background-color: var(--c-primary-dark); 
    color: #fff;
    z-index: 10;
}

.wedding-names-intro {
    font-size: 1.8em;
    margin-bottom: 10px;
    color: var(--c-primary); 
    font-family: var(--font-script);
    font-weight: 500;
}

.wedding-names {
    font-family: var(--font-heading);
    font-size: 4.5em; 
    margin-bottom: 15px;
    line-height: 1.1;
    color: #ffffff; /* Čistě bílá pro čitelnost na fotce */
}

.wedding-names .ampersand {
    font-size: 0.8em;
    vertical-align: super;
    margin: 0 10px;
}

.wedding-date,
.wedding-location {
    font-family: var(--font-body);
    font-size: 1.4em;
    margin-bottom: 10px;
    color: #ffffff;
}

.hero-button {
    background-color: var(--c-accent); 
    color: #fff;
    display: inline-block;
    padding: 15px 35px;
    border: 2px solid var(--c-accent);
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 30px;
}

.hero-button:hover {
    background-color: var(--c-accent-hover); 
    border-color: var(--c-accent-hover);
}

/* PRAVÁ STRANA (FOTKA) */
.hero-image-side {
    flex: 1;
    background-image: url('http://www.taasvatba.cz/wp-content/uploads/2025/12/a4s00750_-_kopie.jpg');
    background-size: cover;
    background-position: center 20%; /* Mírně posunuto dolů, aby byly vidět hlavy */
    position: relative;
}

/* --- DESKTOP ÚPRAVA (OD 1024px) --- */
@media (min-width: 1024px) {
    .wedding-hero-section {
        flex-direction: row; 
        height: 90vh;
    }

    .hero-content-side {
        /* KLÍČOVÉ: Plné krémové pozadí bez průhlednosti */
        background-color: var(--c-bg-soft); 
        color: var(--c-text-main);
        flex: 0 0 50%; /* Zabere přesně půlku obrazovky */
        opacity: 1; /* Reset opacity pro jistotu */
    }

    /* Oprava selektorů (přidány čárky) */
    .hero-content-side .wedding-names,
    .hero-content-side .wedding-date,
    .hero-content-side .wedding-location {
        color: var(--c-primary-dark); 
    }

    .hero-image-side {
        flex: 0 0 50%; 
    }
}

/* --- MOBILNÍ ÚPRAVA --- */
@media (max-width: 1023px) {
    .wedding-hero-section {
        position: relative;
    }
    .hero-image-side {
        position: absolute;
        top: 0; left: 0; width: 100%; height: 100%;
        z-index: 1;
    }
    .hero-content-side {
        position: relative;
        z-index: 2;
        /* Zelený filtr jen na mobilu přes celou fotku */
        background-color: rgba(44, 62, 80, 0.6); 
        height: 100%;
    }
    .wedding-names {
        font-size: 2.8em;
    }
    .wedding-names-intro {
        font-size: 1.4em;
    }
    .wedding-hero-section .hero-content-side .wedding-date,
    .wedding-hero-section .hero-content-side .wedding-location {
        color: #ffffff !important; /* Na mobilu musí být bílá vždy */
        font-size: 1.1em;
    }
}