.ragunda-hero {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
}

.ragunda-hero__bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-size: cover;
    background-position: center;
}

.ragunda-hero__video {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    object-fit: cover;
    pointer-events: none; /* Verberg alle YouTube controls/hover effecten */
}

/* Als er een video is, moet die altijd boven de achtergrond-afbeelding liggen */
.ragunda-hero.has-video .ragunda-hero__video { z-index: 2; }
.ragunda-hero.has-video .ragunda-hero__bg { z-index: 1; }

/* Perfecte fullscreen video cover voor alle apparaten - geen zwarte randen */
.ragunda-hero__video.ragunda-hero__video--cover {
    /* Bereken de juiste afmetingen voor 16:9 aspect ratio zonder zwarte randen */
    width: 100vw;
    height: 56.25vw; /* 9/16 * 100vw voor 16:9 ratio */
    min-height: 100vh;
    min-width: 177.78vh; /* 16/9 * 100vh voor portrait */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; /* Verberg alle YouTube hover effecten */
}

/* Extra regels om YouTube controls volledig te verbergen */
.ragunda-hero__video--cover:hover {
    pointer-events: none !important;
}

.ragunda-hero__video--cover iframe {
    pointer-events: none !important;
}

.ragunda-hero__content {
    position: relative;
    z-index: 20;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
}

.ragunda-hero__title {
    color: #fff;
    font-size: 6vw;
    font-family: var(--ragunda-font, 'Arial', sans-serif);
    text-align: center;
    text-shadow: 0 2px 16px rgba(0,0,0,0.4);
    margin: 0;
    line-height: 1.7;
    font-weight: 700;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: heroTitleFadeIn 1.2s ease-out 0.3s forwards;
}

@keyframes heroTitleFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.ragunda-hero__breadcrumb-wrap {
    position: absolute;
    left: 0;
    bottom: 40px;
    width: 100vw;
    display: flex;
    justify-content: flex-start;
    pointer-events: none;
    z-index: 30;
}

.ragunda-hero__breadcrumb {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding: 0 1.5rem;
    font-size: 12px;
    display: flex;
    align-items: center;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: heroBreadcrumbFadeIn 1s ease-out 0.8s forwards;
}

@keyframes heroBreadcrumbFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.ragunda-hero__breadcrumb-link {
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.2s, transform 0.2s;
}

.ragunda-hero__breadcrumb-link:hover {
    color: #ffbd00;
    transform: translateX(2px);
}

.ragunda-hero__breadcrumb-sep {
    margin: 0 1.2rem;
    color: #ffbd00;
    font-size: 1.5em;
    display: flex;
    align-items: center;
}

.ragunda-hero__breadcrumb-sep i {
    color: #ffbd00;
    font-size: 1em;
    vertical-align: middle;
}

.ragunda-hero__breadcrumb-current {
    color: #ffbd00;
    font-weight: 600;
}

@media (max-width: 900px) {
    .ragunda-hero__content {
        padding-top: 150px; /* Verminderde padding voor tablet */
    }
    
    .ragunda-hero__title {
        font-size: 10vw;
    }
    
    .ragunda-hero__breadcrumb {
        left: 20px;
        bottom: 20px;
        font-size: 1.2rem;
    }
    
    /* Zorg dat video perfect blijft op tablet */
    .ragunda-hero__video.ragunda-hero__video--cover {
        width: 100vw;
        height: 56.25vw;
        min-height: 100vh;
        min-width: 177.78vh;
    }
}

@media (max-width: 768px) {
    .ragunda-hero__content {
        padding-top: 140px; /* Verminderde padding voor mobile */
    }
    
    .ragunda-hero__title {
        font-size: 12vw;
        padding: 0 1rem;
    }
    
    .ragunda-hero__breadcrumb {
        padding-left: 1rem;
        font-size: 11px;
    }
    
    /* Optimale video sizing voor mobile - geen zwarte randen */
    .ragunda-hero__video.ragunda-hero__video--cover {
        width: 100vw;
        height: 56.25vw;
        min-height: 100vh;
        min-width: 177.78vh;
        transform: translate(-50%, -50%);
    }
}

@media (max-width: 480px) {
    .ragunda-hero__content {
        padding-top: 130px; /* Minimale padding voor kleine schermen */
    }
    
    .ragunda-hero__title {
        font-size: 14vw;
        padding: 0 0.5rem;
    }
    
    .ragunda-hero__breadcrumb {
        padding-left: 0.5rem;
        font-size: 10px;
    }
    
    /* Extra mobile optimalisatie voor zeer kleine schermen */
    .ragunda-hero__video.ragunda-hero__video--cover {
        width: 100vw;
        height: 56.25vw;
        min-height: 100vh;
        min-width: 177.78vh;
        transform: translate(-50%, -50%);
    }
} 