/*
Theme Name: LuClean Premium (Oost-Vlaanderen)
Theme URI: https://luclean.be
Author: Nextcode voor LuClean (Luca Vanhove)
Author URI: https://luclean.be
Description: High-End Custom WordPress Thema voor LuClean (Luca Vanhove - Vestiging Lokeren). Inclusief volledige Visuele Customizer (zoals Shopify Theme Editor), Gutenberg Block Patterns, interactieve 4-stappen Offertetool met CRM-opslag & e-mailnotificaties, Voor/Na schuifregelaar, Lokale SEO (JSON-LD) en vloeiende high-end animaties.
Version: 3.3.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: luclean
*/

:root {
  --lc-teal: #106f65;
  --lc-teal-dark: #0c524b;
  --lc-teal-light: #5eead4;
  --lc-dark: #0a0a0a;
  --lc-dark-card: #121716;
  --lc-ivory: #fdfbf7;
  --lc-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --lc-font-serif: 'Playfair Display', Georgia, serif;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--lc-font-sans);
  background-color: var(--lc-ivory);
  color: var(--lc-dark);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--lc-ivory);
  color: var(--lc-dark);
  overflow-x: hidden;
}

.font-serif {
  font-family: var(--lc-font-serif);
}

.font-sans {
  font-family: var(--lc-font-sans);
}

/* ==========================================================================
   HIGH-END ANIMATIONS & INTERACTION EFFECTS
   ========================================================================== */

/* Scroll Reveal Animations */
[data-reveal] {
  opacity: 0;
  will-change: opacity, transform;
  transition:
    opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.85s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  filter: blur(4px);
}

[data-reveal="fade-up"] {
  transform: translate3d(0, 42px, 0);
}

[data-reveal="fade-down"] {
  transform: translate3d(0, -32px, 0);
}

[data-reveal="fade-left"] {
  transform: translate3d(-42px, 0, 0);
}

[data-reveal="fade-right"] {
  transform: translate3d(42px, 0, 0);
}

[data-reveal="scale-up"] {
  transform: scale(0.93) translate3d(0, 24px, 0);
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

/* Stagger delays */
[data-delay="100"] { transition-delay: 0.10s; }
[data-delay="150"] { transition-delay: 0.15s; }
[data-delay="200"] { transition-delay: 0.20s; }
[data-delay="250"] { transition-delay: 0.25s; }
[data-delay="300"] { transition-delay: 0.30s; }
[data-delay="400"] { transition-delay: 0.40s; }
[data-delay="500"] { transition-delay: 0.50s; }

/* Ambient Floating Glow Animation */
@keyframes lcFloatGlow {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.22;
  }
  50% {
    transform: translate3d(25px, -20px, 0) scale(1.08);
    opacity: 0.35;
  }
}

.lc-ambient-orb {
  animation: lcFloatGlow 9s ease-in-out infinite;
}

/* Button Shimmer & Luxury Hover */
.lc-btn-primary {
  position: relative;
  overflow: hidden;
  background-color: var(--lc-teal);
  color: #ffffff;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(16, 111, 101, 0.35);
}

.lc-btn-primary::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -60%;
  width: 45%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transform: rotate(25deg);
  transition: left 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.lc-btn-primary:hover {
  background-color: var(--lc-teal-dark);
  transform: translateY(-3px);
  box-shadow: 0 16px 38px rgba(16, 111, 101, 0.5);
}

.lc-btn-primary:hover::after {
  left: 130%;
}

/* Premium Card Hover Lift */
.lc-card-hover {
  transition:
    transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease;
}

.lc-card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 55px rgba(10, 10, 10, 0.11);
  border-color: rgba(16, 111, 101, 0.45);
}

/* Pulse Ring for Before/After Slider Handle & WhatsApp Float */
@keyframes lcPulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 111, 101, 0.65);
  }
  70% {
    box-shadow: 0 0 0 16px rgba(16, 111, 101, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 111, 101, 0);
  }
}

.lc-pulse-ring {
  animation: lcPulseRing 2.4s infinite;
}

/* Header scroll glassmorphism */
.lc-header {
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lc-header.is-scrolled {
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

/* FAQ Accordion smooth transition */
.lc-faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, padding 0.3s ease;
}

.lc-faq-item.is-open .lc-faq-answer {
  max-height: 360px;
  opacity: 1;
}

.lc-faq-item.is-open {
  background-color: rgba(255, 255, 255, 0.1) !important;
  border-color: var(--lc-teal) !important;
}

/* Floating WhatsApp Button */
.lc-whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lc-whatsapp-float:hover {
  transform: scale(1.07) translateY(-3px);
}

/* WordPress Admin Bar offset when logged in */
body.admin-bar .lc-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar .lc-header {
    top: 46px;
  }
}

/* Gutenberg Content Styling when user adds blocks */
.lc-wp-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Explicit Desktop Navigation & Mega-Menu Dropdown Guarantees */
.lc-dropdown-menu {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  pointer-events: none;
}

.lc-dropdown-wrapper:hover .lc-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.lc-dropdown-wrapper:hover .lc-dropdown-chevron {
  transform: rotate(180deg);
}

/* Explicit Responsive Grid Guarantees (prevents any missing col-span class) */
#lc-mobile-drawer.hidden {
  display: none !important;
}

#lc-mobile-drawer:not(.hidden) {
  display: flex !important;
}

@media (max-width: 1023px) {
  #lc-main-header nav.hidden.lg\:flex,
  #lc-main-header div.hidden.lg\:flex {
    display: none !important;
  }
  #lc-mobile-menu-btn {
    display: flex !important;
  }
}

@media (min-width: 1024px) {
  #lc-main-header nav.hidden.lg\:flex,
  #lc-main-header div.hidden.lg\:flex {
    display: flex !important;
  }
  #lc-mobile-menu-btn,
  #lc-mobile-menu {
    display: none !important;
  }
  .lg\:grid-cols-12 {
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  }
  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .lg\:col-span-3 {
    grid-column: span 3 / span 3 !important;
  }
  .lg\:col-span-4 {
    grid-column: span 4 / span 4 !important;
  }
  .lg\:col-span-5 {
    grid-column: span 5 / span 5 !important;
  }
  .lg\:col-span-6 {
    grid-column: span 6 / span 6 !important;
  }
  .lg\:col-span-7 {
    grid-column: span 7 / span 7 !important;
  }
  .lg\:col-span-8 {
    grid-column: span 8 / span 8 !important;
  }
  .lg\:col-span-12 {
    grid-column: span 12 / span 12 !important;
  }
}

/* ==========================================================================
   STICKY BOTTOM BAR (Bellen | WhatsApp | Offerte gratis & vrijblijvend)
   ========================================================================== */
.lc-sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9990;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid #e2e8f0;
  box-shadow: 0 -8px 30px rgba(10, 10, 10, 0.1);
  padding: 0.55rem 0.75rem calc(0.55rem + env(safe-area-inset-bottom, 0px)) 0.75rem;
}

.lc-sticky-bottom-inner {
  max-width: 620px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1.15fr;
  gap: 0.6rem;
  align-items: stretch;
}

.lc-sticky-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 14px;
  padding: 0.5rem 0.4rem;
  min-height: 60px;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.lc-sticky-btn:hover {
  transform: translateY(-1px);
}

.lc-sticky-btn-light {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  color: #0f172a;
}

.lc-sticky-btn-light:hover {
  background: #f0f7f6;
  border-color: #106f65;
}

.lc-sticky-icon {
  margin-bottom: 0.2rem;
  flex-shrink: 0;
}

.lc-sticky-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.lc-sticky-btn-primary {
  background: linear-gradient(135deg, #14887b 0%, #106f65 100%);
  border: 1.5px solid #106f65;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(16, 111, 101, 0.28);
}

.lc-sticky-btn-primary:hover {
  background: linear-gradient(135deg, #106f65 0%, #0c524b 100%);
  box-shadow: 0 8px 22px rgba(16, 111, 101, 0.38);
}

.lc-sticky-cta-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.lc-sticky-cta-sub {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.15;
  margin-top: 0.15rem;
  white-space: nowrap;
}

@media (max-width: 380px) {
  .lc-sticky-label {
    font-size: 0.82rem;
  }
  .lc-sticky-cta-title {
    font-size: 0.95rem;
  }
  .lc-sticky-cta-sub {
    font-size: 0.65rem;
  }
}

