/* Strona główna — wideo hero, .section-tiles-3 (szablon homepage / statyczna strona główna).
 * Reszta witryny: style.css + header.css; dopiski podstron: pages.css.
 */

/* Hero – przycisk play/pause */
.hero-video-control {
    position: absolute;
    bottom: 4rem;
    right: 2%;
    z-index: 3;
    width: var(--size-48);
    height: var(--size-48);
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-sm);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.hero-video-control:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: #ffffff;
}

.hero-video-control svg {
    width: var(--size-16);
    height: var(--size-16);
}

.hero-video-control .icon-pause { display: none; }
.hero-video-control .icon-play { display: block; }

.hero-video-control.is-playing .icon-pause { display: block; }
.hero-video-control.is-playing .icon-play { display: none; }

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
}

section.section-tiles-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--spacing-section) 8%;
    padding-top: 0;
}

@media (max-width: 768px) {
    .hero-video-control {
        right: 5%;
        bottom: 2.5rem;
        width: var(--size-40);
        height: var(--size-40);
    }

    section.section-tiles-3 {
        padding: var(--spacing-section) 5%;
        padding-top: 2rem;
        gap: 0;
    }

    body.hgv-home-shell .hero-content {
        padding: 2.5rem 0 10rem;
    }
}
