/* =============================================
   Page header met NFC animatie
   ============================================= */

.page-header {
    background: #2F2A25;
    border-bottom: 3px solid var(--color-accent);
    padding: 1.75rem 0 2rem;
    overflow: hidden;
}

.page-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.page-header-content {
    flex: 1;
    min-width: 0;
}

/* Breadcrumb in page header */
.page-header .breadcrumb {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 0.75rem;
}

.page-header .breadcrumb ol {
    padding: 0;
    max-width: none;
}

.page-header .breadcrumb a {
    color: #7A818A;
}

.page-header .breadcrumb a:hover {
    color: #A5A8AF;
}

.page-header .bc-current {
    color: #A5A8AF;
}

.page-header .bc-sep {
    color: #4A4F56;
}

.page-header-title {
    color: #FFFFFF;
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    margin: 0 0 0.5rem 0;
    line-height: 1.25;
    letter-spacing: -0.3px;
}

.page-header-desc {
    color: #7A818A;
    font-size: 0.97rem;
    margin: 0;
    max-width: 520px;
    line-height: 1.6;
}

/* =============================================
   NFC Animatie
   ============================================= */

.page-header-visual {
    flex-shrink: 0;
    width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nfc-anim {
    position: relative;
    width: 120px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Telefoon */
.nfc-phone {
    width: 70px;
    height: auto;
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

/* Scherm oplichten bij scan */
.nfc-screen-glow {
    animation: screenGlow 2.4s ease-in-out infinite;
}

@keyframes screenGlow {
    0%, 60%  { opacity: 0; }
    70%      { opacity: 0.18; }
    85%      { opacity: 0.08; }
    100%     { opacity: 0; }
}

/* Data-dots op scherm */
.data-dot {
    animation: dotAppear 2.4s ease-in-out infinite;
}

.d1 { animation-delay: 1.2s; }
.d2 { animation-delay: 1.4s; }
.d3 { animation-delay: 1.5s; }
.d4 { animation-delay: 1.6s; }
.d5 { animation-delay: 1.7s; }

@keyframes dotAppear {
    0%, 55%  { opacity: 0; transform: scale(0); }
    70%      { opacity: 1; transform: scale(1); }
    90%      { opacity: 0.6; }
    100%     { opacity: 0; }
}

/* NFC golven */
.nfc-waves {
    position: absolute;
    top: 58px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 50px;
    z-index: 2;
}

.nfc-wave {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1.5px solid var(--color-accent);
    border-radius: 50%;
    animation: waveRipple 2.4s ease-out infinite;
    opacity: 0;
}

.w1 { width: 24px; height: 24px; animation-delay: 0s; }
.w2 { width: 44px; height: 44px; animation-delay: 0.25s; }
.w3 { width: 64px; height: 64px; animation-delay: 0.5s; }

@keyframes waveRipple {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.4); }
    20%  { opacity: 0.7; }
    60%  { opacity: 0.3; }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.1); }
}

/* NFC tag chip */
.nfc-tag-chip {
    width: 60px;
    margin-top: 4px;
    position: relative;
    z-index: 3;
}

.nfc-tag-chip svg {
    width: 100%;
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}

/* Data pakketjes die omhoog vliegen */
.data-stream {
    position: absolute;
    bottom: 44px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 80px;
    pointer-events: none;
}

.data-packet {
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-accent);
    animation: packetFly 2.4s ease-in infinite;
    opacity: 0;
}

.p1 { animation-delay: 0.1s;  left: 45%; }
.p2 { animation-delay: 0.35s; left: 55%; }
.p3 { animation-delay: 0.6s;  left: 42%; }
.p4 { animation-delay: 0.85s; left: 58%; }

@keyframes packetFly {
    0%   { opacity: 0;   transform: translateY(0)    scale(1); }
    10%  { opacity: 0.9; }
    80%  { opacity: 0.4; transform: translateY(-60px) scale(0.6); }
    100% { opacity: 0;   transform: translateY(-78px) scale(0.2); }
}

/* Verberg animatie op kleine schermen */
@media (max-width: 640px) {
    .page-header-visual { display: none; }
    .page-header { padding: 1.25rem 0 1.5rem; }
}
