/**
 * Brameijsenring - ACF Gutenberg Blocks Stylesheet
 * Block-specifieke stijlen die niet in stylesheet.css thuishoren.
 * Animaties, carousel, hero-media en utilities staan in stylesheet.css.
 */

/* ============================================
   Orange Gradient Utilities — globaal nodig voor
   headings (span), buttons, icons en overlays
   ============================================ */

.text-gradient-orange {
    background: linear-gradient(135deg, #EB8900 0%, #FFA726 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-orange {
    background: linear-gradient(135deg, #EB8900 0%, #FFA726 100%);
}

.bg-gradient-orange-hover:hover {
    background: linear-gradient(135deg, #F09E26 0%, #FFB74D 100%);
}

/* Gradient border voor outline button (hero secundaire knop) */
.border-gradient-orange {
    border: 2px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(135deg, #EB8900 0%, #FFA726 100%);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.hover-gradient-fill:hover {
    background-image: linear-gradient(135deg, #EB8900 0%, #FFA726 100%);
    color: white !important;
}

/* SVG gradient icon (USP bullets in hero) */
.icon-gradient {
    fill: url(#iconGradient);
}

/* ============================================
   Animated gradient background
   Gedeeld door hero, about-teaser en recent-videos.
   Staat ook in stylesheet.css (frontend), maar hier
   nodig voor de Gutenberg editor (enqueue_assets).
   ============================================ */

@keyframes gradientFloat {
    0%   { background-position: 0% 20%; }
    25%  { background-position: 70% 40%; }
    50%  { background-position: 30% 80%; }
    75%  { background-position: 90% 30%; }
    100% { background-position: 0% 20%; }
}

.subtle-gradient-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(235, 137, 0, 0.12) 0%,
        rgba(255, 167, 38, 0.15) 25%,
        rgba(253, 243, 230, 0.08) 50%,
        rgba(255, 167, 38, 0.15) 75%,
        rgba(235, 137, 0, 0.12) 100%
    );
    background-size: 400% 400%;
    animation: gradientFloat 30s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* ============================================
   Hero Block
   ============================================ */

.hero-video {
    object-fit: cover;
    object-position: center center;
}

.hero-image {
    object-fit: cover;
    object-position: center top;
}

/* ============================================
   Client Logos Carousel Block
   ============================================ */

.client-logo {
    filter: grayscale(100%);
    opacity: 1;
    transition: all 0.3s ease;
}

.client-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Infinite scroll — translateX(-50%) omdat track gedupliceerd is */
@keyframes scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.logo-carousel {
    display: flex;
    gap: 3rem;
    animation: scroll 20s linear infinite;
}

.logo-carousel:hover {
    animation-play-state: paused;
}

.logo-track {
    display: flex;
    gap: 3rem;
}

/* ============================================
   Recent Videos Block
   ============================================ */

/* Portfolio card: scale-up bij hover */
.portfolio-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.portfolio-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* ============================================
   Video Archive Filter Buttons
   ============================================ */

.video-filter-btn {
    display: inline-block;
    padding: 0.625rem 1.5rem;
    border-radius: 9999px;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    border: 2px solid rgba(235, 137, 0, 0.35);
    background: rgba(255, 255, 255, 0.7);
    color: #6b7280;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.video-filter-btn:hover {
    border-color: #EB8900;
    color: #EB8900;
    background: rgba(235, 137, 0, 0.06);
    box-shadow: 0 2px 8px rgba(235, 137, 0, 0.12);
}

.video-filter-btn.active {
    background: linear-gradient(135deg, #EB8900 0%, #FFA726 100%);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(235, 137, 0, 0.3);
}

#video-grid {
    transition: opacity 0.2s ease;
}

/* Lichte kaarten op lichte achtergrond — witte kaart met shadow voor diepte */
#video-grid .portfolio-item {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

#video-grid .portfolio-item:hover {
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}

#video-grid .portfolio-item h3 {
    color: #1a1a1a;
}

#video-grid .portfolio-item:hover h3 {
    color: #EB8900;
}

#video-grid .portfolio-item p {
    color: #6b7280;
}

/* ============================================
   Audio Archive — lichte kaarten op witte achtergrond
   ============================================ */

/* Override donkere hover-shadow uit style.css voor lichte context */
.audio-item-light {
    transition: all 0.3s ease;
}

.audio-item-light:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border-color: rgba(235, 137, 0, 0.3) !important;
    transform: translateY(-2px);
}

.audio-item-light h3 {
    color: #1a1a1a;
}

.audio-item-light p {
    color: #6b7280;
}

/* ============================================
   CTA Block
   ============================================ */

/* Witte button met oranje tekst op oranje gradient achtergrond */
.cta-btn-white {
    display: inline-block;
    background: #ffffff;
    color: #EB8900;
    padding: 1.25rem 2.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: background 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.cta-btn-white:hover {
    background: #f3f4f6;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    color: #EB8900;
    text-decoration: none;
}

/* ============================================
   Contact Info & Form block — Formidable submit
   Zelfde stijl als 'Bekijk alle video's' button
   ============================================ */
.frm_submit button[type="submit"],
.frm_submit input[type="submit"],
.frm_submit input[type="button"] {
    background: linear-gradient(135deg, #EB8900 0%, #FFA726 100%) !important;
    color: #fff !important;
    padding: 1rem 2rem !important;
    border-radius: 0.5rem !important;
    font-family: 'Outfit', sans-serif !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    width: 100% !important;
    box-shadow: none !important;
}

/* ============================================
   KLM Hero Block
   ============================================ */

.klm-hero-section {
    background-color: #1A1A1A;
}

.klm-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 50px;
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 1;
}

.klm-hero-image {
    width: 12rem;
    height: auto;
}

/* ============================================
   KLM Quotes Block
   ============================================ */

.klm-quotes-section {
    background-color: #F5F5F5;
    padding-top: 4rem;
    padding-bottom: 5rem;
}

@media (min-width: 1024px) {
    .klm-quotes-section {
        padding-top: 5rem;
        padding-bottom: 6rem;
    }
}

.klm-quotes-wave-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 50px;
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: 100% 100%;
    pointer-events: none;
    z-index: 1;
}

.klm-quote-card {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.klm-quote-card:hover {
    box-shadow: 0 4px 16px rgba(235, 137, 0, 0.12);
}

/* ============================================
   KLM Testimonials Block
   ============================================ */

.klm-testimonials-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

@media (min-width: 1024px) {
    .klm-testimonials-section {
        padding-top: 5rem;
        padding-bottom: 6rem;
    }
}

.klm-carousel-slide {
    box-sizing: border-box;
}

.klm-carousel-track {
    display: flex;
}

/* ============================================
   KLM CTA Block (KLM-variant van bestaande CTA)
   ============================================ */

.klm-cta-whatsapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #ffffff;
    color: #EB8900;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: background 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.klm-cta-whatsapp-btn:hover {
    background: #f3f4f6;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    color: #EB8900;
    text-decoration: none;
}

.frm_submit button[type="submit"]:hover,
.frm_submit input[type="submit"]:hover,
.frm_submit input[type="button"]:hover {
    background: linear-gradient(135deg, #F09E26 0%, #FFB74D 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(235, 137, 0, 0.4) !important;
}
