/**
 * AH – Passie
 * Widget: dc-ah-passie
 *
 * Instelbare waarden komen binnen als custom properties via de Elementor
 * control-selectors; er staat niets inline in de PHP.
 */

/* ── Base ── */
.dc-ah-passie {
    --ps-accent: #c8956c;
    --ps-warm: #e8a86d;
    --ps-bg: #141010;
    position: relative;
    background: var(--ps-bg);
    overflow: hidden;
    color: #fff;
}

/* ── Layout: Split Screen ── */
.dc-ah-passie .ah-ps__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

/* ── LEFT: Media Side ── */
.dc-ah-passie .ah-ps__media-side {
    position: relative;
    overflow: hidden;
}

.dc-ah-passie .ah-ps__media-main {
    position: absolute;
    inset: 0;
}

.dc-ah-passie .ah-ps__media-main img,
.dc-ah-passie .ah-ps__media-main video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease;
}

.dc-ah-passie:hover .ah-ps__media-main img,
.dc-ah-passie:hover .ah-ps__media-main video {
    transform: scale(1.04);
}

/* Vertical gradient overlay on media side */
.dc-ah-passie .ah-ps__media-overlay {
    position: absolute;
    inset: 0;
    background:
    linear-gradient(90deg, transparent 60%, var(--ps-bg) 100%),
    linear-gradient(180deg, rgba(20,16,16,0.1) 0%, rgba(20,16,16,0.4) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Floating detail image */
.dc-ah-passie .ah-ps__detail-float {
    position: absolute;
    bottom: 60px;
    right: 40px;
    width: 220px;
    height: 280px;
    z-index: 5;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
    0 24px 64px rgba(0,0,0,0.5),
    0 0 0 1px rgba(200,149,108,0.15);
    animation: ah-ps-float 6s ease-in-out infinite;
}

.dc-ah-passie .ah-ps__detail-float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes ah-ps-float {
    0%, 100% { transform: translateY(0) rotate(-2deg); }
    50% { transform: translateY(-16px) rotate(0deg); }
}

/* Video Play Overlay */
.dc-ah-passie .ah-ps__play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
}

.dc-ah-passie .ah-ps__play-btn:hover {
    background: var(--ps-accent);
    border-color: var(--ps-accent);
    box-shadow: 0 0 40px rgba(200,149,108,0.3);
    transform: translate(-50%, -50%) scale(1.08);
}

.dc-ah-passie .ah-ps__play-btn svg {
    width: 24px;
    height: 24px;
    color: #fff;
    margin-left: 3px;
}

.dc-ah-passie .ah-ps__play-pulse {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 1px solid rgba(200,149,108,0.3);
    animation: ah-ps-pulse 2.5s ease-in-out infinite;
}

@keyframes ah-ps-pulse {
    0%, 100% { opacity: 0; transform: scale(0.9); }
    50% { opacity: 1; transform: scale(1.15); }
}

/* ── RIGHT: Content Side ── */
.dc-ah-passie .ah-ps__content-side {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(60px, 6vw, 120px) clamp(40px, 5vw, 100px);
    z-index: 5;
}

/* Subtle ambient glow behind content */
.dc-ah-passie .ah-ps__content-glow {
    position: absolute;
    top: 30%;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(200,149,108,0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: ah-ps-glow-drift 8s ease-in-out infinite;
}

@keyframes ah-ps-glow-drift {
    0%, 100% { opacity: 0.5; transform: translate(0, 0); }
    50% { opacity: 1; transform: translate(20px, -20px); }
}

/* Eyebrow */
.dc-ah-passie .ah-ps__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--ps-accent);
    margin-bottom: 32px;
}

.dc-ah-passie .ah-ps__eyebrow::before {
    content: '';
    width: 28px;
    height: 1px;
    background: var(--ps-accent);
}

.dc-ah-passie .ah-ps__eyebrow-flame {
    width: 16px;
    height: 16px;
    color: var(--ps-accent);
    flex-shrink: 0;
    animation: ah-ps-flame 3s ease-in-out infinite;
}

@keyframes ah-ps-flame {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

/* Decorative fire line */
.dc-ah-passie .ah-ps__flame-line {
    width: 2px;
    height: 60px;
    margin-bottom: 32px;
    background: linear-gradient(to bottom, var(--ps-accent), var(--ps-warm), transparent);
    border-radius: 2px;
    position: relative;
    animation: ah-ps-flame-flicker 3s ease-in-out infinite;
}

.dc-ah-passie .ah-ps__flame-line::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--ps-warm);
    box-shadow: 0 0 12px var(--ps-warm);
    animation: ah-ps-flame-dot 2s ease-in-out infinite;
}

@keyframes ah-ps-flame-flicker {
    0%, 100% { opacity: 0.7; height: 60px; }
    33% { opacity: 1; height: 68px; }
    66% { opacity: 0.85; height: 56px; }
}

@keyframes ah-ps-flame-dot {
    0%, 100% { box-shadow: 0 0 8px var(--ps-warm); }
    50% { box-shadow: 0 0 18px var(--ps-warm), 0 0 30px rgba(232,168,109,0.3); }
}

/* Statement */
.dc-ah-passie .ah-ps__statement {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(32px, 3.5vw, 54px);
    font-weight: 400;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 28px;
}

.dc-ah-passie .ah-ps__hl {
    color: var(--ps-accent);
    font-style: italic;
    position: relative;
}

.dc-ah-passie .ah-ps__hl::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--ps-accent), transparent);
}

/* Description */
.dc-ah-passie .ah-ps__desc {
    font-size: 16px;
    line-height: 1.85;
    color: rgba(255,255,255,0.55);
    margin: 0 0 40px;
    max-width: 480px;
}

/* Philosophy Quote */
.dc-ah-passie .ah-ps__philosophy {
    position: relative;
    padding: 28px 0 28px 28px;
    margin-bottom: 40px;
    border-left: 2px solid rgba(200,149,108,0.25);
    max-width: 460px;
}

.dc-ah-passie .ah-ps__philosophy-text {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 15px;
    font-style: italic;
    line-height: 1.8;
    color: rgba(255,255,255,0.65);
    margin: 0 0 12px;
}

.dc-ah-passie .ah-ps__philosophy-author {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--ps-accent);
    margin: 0;
}

/* Decorative big quote mark */
.dc-ah-passie .ah-ps__philosophy::before {
    content: '\201C';
    position: absolute;
    top: 8px;
    right: 0;
    font-family: Georgia, serif;
    font-size: 120px;
    line-height: 1;
    color: var(--ps-accent);
    opacity: 0.06;
    pointer-events: none;
}

/* Stats Row */
.dc-ah-passie .ah-ps__stats {
    display: flex;
    gap: 40px;
    padding-top: 36px;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 40px;
}

.dc-ah-passie .ah-ps__stat {
    flex-shrink: 0;
}

.dc-ah-passie .ah-ps__stat-number {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(28px, 2.5vw, 38px);
    font-weight: 400;
    color: var(--ps-accent);
    line-height: 1.1;
    margin-bottom: 4px;
}

.dc-ah-passie .ah-ps__stat-label {
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    font-weight: 500;
}

/* CTA Button */
.dc-ah-passie .ah-ps__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--ps-accent);
    border: 1px solid rgba(200,149,108,0.3);
    border-radius: 100px;
    background: transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.dc-ah-passie .ah-ps__btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--ps-accent), var(--ps-warm));
    border-radius: 100px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.dc-ah-passie .ah-ps__btn:hover::before {
    opacity: 1;
}

.dc-ah-passie .ah-ps__btn span,
.dc-ah-passie .ah-ps__btn svg {
    position: relative;
    z-index: 1;
}

.dc-ah-passie .ah-ps__btn:hover {
    color: var(--ps-bg);
    border-color: transparent;
    box-shadow: 0 8px 36px rgba(200,149,108,0.3);
    transform: translateY(-2px);
}

.dc-ah-passie .ah-ps__btn svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease;
}

.dc-ah-passie .ah-ps__btn:hover svg {
    transform: translateX(4px);
}

/* ── Floating Particles ── */
.dc-ah-passie .ah-ps__particles {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    overflow: hidden;
}

.dc-ah-passie .ah-ps__ember {
    position: absolute;
    width: var(--sz, 3px);
    height: var(--sz, 3px);
    background: var(--ps-warm);
    border-radius: 50%;
    bottom: -10px;
    opacity: 0;
    filter: blur(0.5px);
    animation: ah-ps-ember var(--dur, 8s) var(--del, 0s) infinite;
}

@keyframes ah-ps-ember {
    0%   { opacity: 0; transform: translateY(0) translateX(0) scale(1); }
    10%  { opacity: 0.7; }
    50%  { opacity: 0.4; }
    100% { opacity: 0; transform: translateY(calc(-100vh - 40px)) translateX(var(--dx, 20px)) scale(0.2); }
}

/* ── Scroll Reveal ── */
.dc-ah-passie .ah-ps__reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.dc-ah-passie .ah-ps__reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Corner Decorations ── */
.dc-ah-passie .ah-ps__corner {
    position: absolute;
    width: 60px;
    height: 60px;
    z-index: 6;
    pointer-events: none;
}

.dc-ah-passie .ah-ps__corner--tl {
    top: 32px;
    left: 32px;
    border-top: 1px solid rgba(200,149,108,0.15);
    border-left: 1px solid rgba(200,149,108,0.15);
}

.dc-ah-passie .ah-ps__corner--br {
    bottom: 32px;
    right: 32px;
    border-bottom: 1px solid rgba(200,149,108,0.15);
    border-right: 1px solid rgba(200,149,108,0.15);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .dc-ah-passie .ah-ps__split {
        grid-template-columns: 1fr;
    }
.dc-ah-passie .ah-ps__media-side {
    min-height: 50vh;
}
.dc-ah-passie .ah-ps__media-overlay {
    background:
    linear-gradient(180deg, transparent 40%, var(--ps-bg) 100%),
    linear-gradient(180deg, rgba(20,16,16,0.1) 0%, rgba(20,16,16,0.3) 100%);
}
.dc-ah-passie .ah-ps__detail-float {
    width: 160px;
    height: 200px;
    bottom: 40px;
    right: 20px;
}
.dc-ah-passie .ah-ps__stats {
    gap: 28px;
    flex-wrap: wrap;
}
}

@media (max-width: 640px) {
    .dc-ah-passie .ah-ps__media-side {
        min-height: 40vh;
    }
.dc-ah-passie .ah-ps__content-side {
    padding: 40px 20px 60px;
}
.dc-ah-passie .ah-ps__detail-float {
    display: none;
}
.dc-ah-passie .ah-ps__play-btn {
    width: 60px;
    height: 60px;
}
.dc-ah-passie .ah-ps__play-btn svg {
    width: 18px;
    height: 18px;
}
.dc-ah-passie .ah-ps__corner {
    width: 32px;
    height: 32px;
}
.dc-ah-passie .ah-ps__corner--tl { top: 16px; left: 16px; }
.dc-ah-passie .ah-ps__corner--br { bottom: 16px; right: 16px; }
.dc-ah-passie .ah-ps__stats {
    gap: 20px;
}
.dc-ah-passie .ah-ps__statement {
    font-size: clamp(26px, 7vw, 36px);
}
.dc-ah-passie .ah-ps__desc {
    font-size: 15px;
}
.dc-ah-passie .ah-ps__btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
}
.dc-ah-passie .ah-ps__stat-number {
    font-size: 28px;
}
}

/* Vonkjes: positie, grootte en timing per vonk. */
.dc-ah-passie .ah-ps__ember:nth-child(1) { left: 18%; --sz: 3px; --dur: 8.7s; --del: 3.2s; --dx: -13px; }
.dc-ah-passie .ah-ps__ember:nth-child(2) { left: 14%; --sz: 5px; --dur: 8.9s; --del: 5.9s; --dx: 37px; }
.dc-ah-passie .ah-ps__ember:nth-child(3) { left: 55%; --sz: 5px; --dur: 11.9s; --del: 1.5s; --dx: -17px; }
.dc-ah-passie .ah-ps__ember:nth-child(4) { left: 33%; --sz: 4px; --dur: 9.2s; --del: 3.3s; --dx: -4px; }
.dc-ah-passie .ah-ps__ember:nth-child(5) { left: 85%; --sz: 3px; --dur: 8s; --del: 7s; --dx: 35px; }
.dc-ah-passie .ah-ps__ember:nth-child(6) { left: 89%; --sz: 4px; --dur: 8s; --del: 0.1s; --dx: 33px; }
.dc-ah-passie .ah-ps__ember:nth-child(7) { left: 13%; --sz: 2px; --dur: 10.8s; --del: 4.3s; --dx: -47px; }
.dc-ah-passie .ah-ps__ember:nth-child(8) { left: 15%; --sz: 4px; --dur: 8.3s; --del: 4.8s; --dx: 1px; }
.dc-ah-passie .ah-ps__ember:nth-child(9) { left: 79%; --sz: 5px; --dur: 12.7s; --del: 7.7s; --dx: -38px; }
.dc-ah-passie .ah-ps__ember:nth-child(10) { left: 87%; --sz: 2px; --dur: 10.7s; --del: 7.5s; --dx: 31px; }
.dc-ah-passie .ah-ps__ember:nth-child(11) { left: 86%; --sz: 4px; --dur: 8.1s; --del: 1.2s; --dx: 45px; }
.dc-ah-passie .ah-ps__ember:nth-child(12) { left: 67%; --sz: 3px; --dur: 8.7s; --del: 5.7s; --dx: 29px; }
.dc-ah-passie .ah-ps__ember:nth-child(13) { left: 32%; --sz: 5px; --dur: 12.1s; --del: 3.6s; --dx: 14px; }
.dc-ah-passie .ah-ps__ember:nth-child(14) { left: 37%; --sz: 2px; --dur: 7.7s; --del: 1.1s; --dx: -15px; }
