/* Teljes háttérvideó réteg */
#digitbase-video-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    background: black;
    pointer-events: none; /* ne fogjon el egéreseményeket */
}

/* A videó */
#digitbase-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
}

/* A fallback kép mobilon */
#digitbase-fallback {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    pointer-events: none;
}

/* Mobil változat */
@media (max-width: 768px) {
    #digitbase-video {
        display: none !important;
    }
    #digitbase-fallback {
        display: block !important;
    }
}

/* Desktop: biztosan a videó menjen */
@media (min-width: 769px) {
    #digitbase-fallback {
        display: none !important;
    }
}
/* ===== HERO CTA OVERLAY (főoldal) ===== */

.hero-cta-wrapper {
    position: fixed;
    inset: 0;                      /* teljes ablak */
    z-index: 15;                   /* videó (-1) fölött, header (20) alatt */
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10vw;
    pointer-events: none;          /* alap: ne fogja meg az egeret, csak a gombok */
}

/* Alap gomb stílus */
.hero-cta {
    pointer-events: auto;          /* ezek viszont kattinthatók */
    text-decoration: none;
    color: #fff;
    background: rgba(0, 0, 0, 0.55);
    padding: 1rem 1.75rem;
    border-radius: 999px;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.hero-cta span {
    display: inline-block;
}

/* Ha képet is raksz bele, szép méretezés */
.hero-cta img {
    display: block;
    max-height: 110px;   /* itt tudsz játszani: 90–140 között próbálgasd */
    width: auto;
}


/* Hover effekt desktopon */
.hero-cta:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-2px);
    box-shadow: 0 0 26px rgba(0, 0, 0, 0.9);
}

/* Bal/jobb pozíció finomhangolására külön osztályok – ha később kell */
.hero-cta--left {
    text-align: left;
}

.hero-cta--right {
    text-align: right;
}

/* ===== MOBIL NÉZET ===== */
@media (max-width: 768px) {
    .hero-cta-wrapper {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
        padding: 0 1.5rem;
    }

    .hero-cta {
        width: 100%;
        justify-content: center;
        text-align: center;
        font-size: 0.95rem;
        padding: 0.85rem 1.25rem;
    }
}

/* Háttérvideó mindig hátul */
#digitbase-video-wrapper{
  position: fixed;
  inset: 0;
  z-index: -5 !important;
  pointer-events: none;
}
