/*
Theme Name: Hemma Child
Description: Motyw potomny dla Hemma
Author: Sebastian
Template: hemma
Version: 1.0
*/

/* =====================================================
   HERO – PROJEKTY (portfolio)
   ===================================================== */

.single-portfolio .hero {
    position: relative;
    min-height: 70vh;
    background-size: cover;
    background-position: center;
}

/* Overlay */
.single-portfolio .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

/* KLUCZ: pionowe + poziome centrowanie */
.single-portfolio .hero-content {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;       /* pion */
    justify-content: center;   /* poziom */

    min-height: 70vh;
    text-align: center;
}

/* Kontener Hemma – bez ograniczeń */
.single-portfolio .hero-content .container {
    max-width: 100%;
}

/* Tekst hero */
.single-portfolio .hero-text {
    text-align: center;
}

/* Tytuł */
.single-portfolio .hero-title {
    margin: 0;
    color: #ffffff;
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.15;
    white-space: normal;
}

/* Podtytuł – jeśli zostanie */
.single-portfolio .hero-subtitle {
    margin-top: 0.5em;
    color: #ffffff;
    font-size: 1.4rem;
}

/* =====================================================
   RESPONSYWNOŚĆ
   ===================================================== */

@media (max-width: 1024px) {
    .single-portfolio .hero,
    .single-portfolio .hero-content {
        min-height: 60vh;
    }

    .single-portfolio .hero-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 600px) {
    .single-portfolio .hero,
    .single-portfolio .hero-content {
        min-height: 50vh;
    }

    .single-portfolio .hero-title {
        font-size: 1.9rem;
    }
}
