/*
Theme Name: DJ Erik
Theme URI: https://dj-erik.nl/
Description: Subthema van Twenty Twenty-Five voor DJ Erik.
Author: DJ Erik
Template: twentytwentyfive
Version: 1.0.8
Requires at least: 6.7
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: dj-erik
*/

.dje-section { padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.dje-hero h1, .dje-hero p { color: #fff; }
.dje-lead { font-size: 1.2rem; }

/* Navigatie: opvallende offerteknop */
.wp-block-navigation .is-cta > a { background: var(--wp--preset--color--accent-1); color: #fff !important; padding: .55rem 1.2rem; border-radius: 999px; font-weight: 600; }
.wp-block-navigation .is-cta > a:hover { background: var(--wp--preset--color--accent-2); }

/* Tabellen en FAQ */
.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table th, .wp-block-table td { border: 1px solid #d9e0e0; padding: .65rem .85rem; text-align: left; }
.wp-block-table thead th { background: var(--wp--preset--color--surface); }
.wp-block-details { border-bottom: 1px solid #d9e0e0; padding: 1rem 0; margin: 0; }
.wp-block-details summary { font-weight: 600; cursor: pointer; }
.wp-block-details p { margin-top: .6rem; }

/* Pakketkaarten */
.dje-card { background: #fff; border: 1px solid #d9e0e0; border-radius: 12px; padding: 1.5rem; height: 100%; }
.dje-price { font-size: 1.6rem; font-weight: 700; color: var(--wp--preset--color--accent-1); margin: .2rem 0 1rem; }

/* Reviews */
.wp-block-quote { border-left: 4px solid var(--wp--preset--color--accent-1); padding-left: 1.25rem; }
.wp-block-quote cite { font-style: normal; font-weight: 600; }

/* Footer */
.dje-footer a { color: #fff; }
.dje-footer h2 { font-size: 1.1rem; color: #fff; }
.dje-footer .wp-block-column p { margin: .2rem 0; }

/* Vaste contactbalk op mobiel */
.dje-contactbar { display: none; }
@media (max-width: 781px) {
  .dje-contactbar { display: flex; gap: .5rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; background: #1f1f1e; padding: .5rem .5rem calc(.5rem + env(safe-area-inset-bottom)); }
  .dje-contactbar a { flex: 1; text-align: center; color: #fff; text-decoration: none; font-weight: 600; padding: .75rem .5rem; border-radius: 999px; background: #3a3a39; }
  .dje-contactbar a.wa { background: #1d7a49; }
  .dje-contactbar a.cta { background: var(--wp--preset--color--accent-1); }
  body { padding-bottom: 4.75rem; }
}

/* Hero */
.wp-block-cover.dje-hero { padding: clamp(2.5rem, 6vw, 5rem) max(1.25rem, 5vw); }
.dje-hero .wp-block-cover__inner-container { max-width: 1140px; margin: 0 auto; }
.dje-hero .wp-block-cover__inner-container > * { margin-left: 0 !important; margin-right: 0 !important; max-width: 46rem; }

/* Formulier */
.wpcf7 label { display: block; font-weight: 600; margin-bottom: 1rem; }
.wpcf7 input:not([type=submit]), .wpcf7 select, .wpcf7 textarea { display: block; width: 100%; margin-top: .3rem; padding: .7rem .8rem; border: 1px solid #b9c4c4; border-radius: 8px; font: inherit; font-weight: 400; background: #fff; }
.wpcf7 textarea { min-height: 8rem; }
.wpcf7 input, .wpcf7 select, .wpcf7 textarea { box-sizing: border-box; max-width: 100%; }
.wpcf7 input[type=submit] { background: var(--wp--preset--color--accent-1); color: #fff; border: 0; border-radius: 999px; padding: .85rem 1.6rem; font: inherit; font-weight: 600; cursor: pointer; }
.wpcf7 input[type=submit]:hover { background: var(--wp--preset--color--accent-2); }

/* sticky header */
header.wp-block-template-part{position:sticky;top:var(--wp-admin--admin-bar--height,0px);z-index:100;}
@media (max-width:600px){header.wp-block-template-part{top:0;}}
.dje-header{padding-top:.6rem !important;padding-bottom:.6rem !important;transition:padding .2s ease, box-shadow .2s ease;}
.dje-header .wp-block-site-logo img{width:120px !important;height:auto;transition:width .2s ease;}
.dje-scrolled .dje-header{padding-top:.35rem !important;padding-bottom:.35rem !important;box-shadow:0 2px 12px rgba(0,0,0,.08);}
.dje-scrolled .dje-header .wp-block-site-logo img{width:90px !important;}
@media (max-width:781px){.dje-header .wp-block-site-logo img{width:100px !important;}.dje-scrolled .dje-header .wp-block-site-logo img{width:80px !important;}}

/* video */
.dje-video-wrap{margin:0 0 var(--wp--preset--spacing--40,1.5rem);}
.dje-video{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:12px;background:#111;}
.dje-video video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.dje-video.is-cropped video{width:123.08%;height:123.08%;left:-9.62%;top:-5.98%;}
.dje-video__poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:opacity .4s ease;}
.dje-video.is-playing .dje-video__poster{opacity:0;pointer-events:none;}
.dje-video__play{position:absolute;left:1rem;bottom:1rem;width:3.5rem;height:3.5rem;border-radius:50%;border:0;background:var(--wp--preset--color--accent-1);color:#fff;cursor:pointer;display:grid;place-items:center;box-shadow:0 4px 20px rgba(0,0,0,.35);}
.dje-video__play svg{width:1.6rem;height:1.6rem;fill:currentColor;margin-left:.2rem;}
.dje-video__play:hover,.dje-video__play:focus-visible{background:var(--wp--preset--color--accent-2);}
.dje-video.is-playing .dje-video__play{display:none;}
.dje-video__sound{position:absolute;right:.75rem;bottom:.75rem;border:0;border-radius:999px;padding:.45rem .9rem;background:rgba(0,0,0,.6);color:#fff;font:inherit;font-size:.9rem;cursor:pointer;}
.dje-video__sound:hover{background:rgba(0,0,0,.8);}
.dje-video__caption{margin:.5rem 0 0;font-size:.9rem;color:var(--wp--preset--color--accent-3);}

.dje-footer-title{font-family:var(--wp--preset--font-family--archivo, inherit);font-weight:700;font-size:1.25rem;margin-bottom:.5rem;}
