/*
Theme Name: LimitlessDetails
Theme URI: https://limitlessdetails.nl
Author: LimitlessDetails
Description: Luxe, mobielvriendelijk WordPress-thema voor LimitlessDetails in Wateringen.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: limitlessdetails
*/

:root {
  --ld-black: #090a0b;
  --ld-charcoal: #111315;
  --ld-panel: #17191c;
  --ld-panel-soft: #1e2124;
  --ld-gold: #d8b45f;
  --ld-gold-light: #f1d88d;
  --ld-cream: #f7f3e9;
  --ld-muted: #b9bab8;
  --ld-line: rgba(216, 180, 95, .24);
  --ld-radius: 18px;
  --ld-shadow: 0 20px 60px rgba(0, 0, 0, .34);
}

html { scroll-behavior: smooth; }
body {
  background: var(--ld-black);
  color: var(--ld-cream);
  font-family: Inter, "Avenir Next", "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body, button, input, textarea { font-family: inherit; }
a { color: var(--ld-gold-light); text-underline-offset: .18em; }
::selection { background: var(--ld-gold); color: var(--ld-black); }

.wp-site-blocks { overflow: hidden; }
.wp-block-post-content { margin-top: 0; }
.ld-shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.ld-narrow { width: min(790px, calc(100% - 40px)); margin-inline: auto; }
.ld-section { padding: clamp(72px, 9vw, 120px) 0; }
.ld-section-tight { padding: clamp(48px, 7vw, 82px) 0; }
.ld-section-alt { background: linear-gradient(180deg, #111315 0%, #0c0d0e 100%); }

.ld-eyebrow {
  color: var(--ld-gold);
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .18em;
  margin: 0 0 14px;
  text-transform: uppercase;
}
.ld-title, .ld-page-title {
  font-weight: 650;
  letter-spacing: -.045em;
  line-height: 1.05;
  margin: 0;
}
.ld-title { font-size: clamp(2rem, 5vw, 4rem); }
.ld-page-title { font-size: clamp(2.5rem, 7vw, 5.4rem); }
.ld-lead {
  color: #d7d5cf;
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.7;
  max-width: 760px;
}
.ld-copy { color: #cecdc8; font-size: 1.02rem; line-height: 1.78; }
.ld-copy strong { color: var(--ld-cream); }
.ld-muted { color: var(--ld-muted); }

/* Header */
.ld-header {
  backdrop-filter: blur(18px);
  background: rgba(9, 10, 11, .88);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  position: sticky;
  top: 0;
  z-index: 50;
}
.admin-bar .ld-header { top: 32px; }
.ld-header-inner {
  align-items: center;
  display: flex;
  height: 82px;
  justify-content: space-between;
  margin: 0 auto;
  width: min(1240px, calc(100% - 40px));
}
.ld-brand { display: inline-flex; align-items: center; text-decoration: none; }
.ld-logo-wide, .ld-logo-icon, .ld-footer-logo { background-position: center; background-repeat: no-repeat; background-size: contain; display: block; }
.ld-logo-wide { background-image: url("assets/images/logo-wide.png"); height: 58px; width: 248px; }
.ld-logo-icon { background-image: url("assets/images/logo-icon.png"); display: none !important; height: 50px; width: 50px; }
.ld-nav { align-items: center; display: flex; gap: 28px; }
.ld-nav a {
  color: #f4f1e9;
  font-size: .88rem;
  font-weight: 650;
  text-decoration: none;
  transition: color .2s ease;
}
.ld-nav a:hover { color: var(--ld-gold-light); }
.ld-mobile-menu { display: none; }

/* Buttons */
.ld-button,
.wp-block-button__link {
  background: linear-gradient(135deg, var(--ld-gold-light), #bd8f35) !important;
  border: 1px solid rgba(255, 232, 164, .55) !important;
  border-radius: 999px !important;
  box-shadow: 0 0 0 rgba(216, 180, 95, 0), 0 10px 32px rgba(174, 126, 36, .2);
  color: #111 !important;
  display: inline-flex;
  font-size: .94rem !important;
  font-weight: 750 !important;
  gap: 9px;
  justify-content: center;
  padding: 13px 22px !important;
  text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease;
}
.ld-button:hover,
.wp-block-button__link:hover {
  box-shadow: 0 0 26px rgba(216, 180, 95, .26), 0 14px 36px rgba(0, 0, 0, .3);
  transform: translateY(-2px);
}
.ld-button-secondary {
  background: transparent !important;
  border-color: rgba(216, 180, 95, .45) !important;
  color: var(--ld-gold-light) !important;
}

/* Hero */
.ld-hero {
  align-items: center;
  background-image: linear-gradient(90deg, rgba(4, 5, 6, .98) 0%, rgba(4, 5, 6, .76) 40%, rgba(4, 5, 6, .1) 72%), url("assets/images/hero-luxury-interior.jpg");
  background-position: center;
  background-size: cover;
  display: flex;
  min-height: min(790px, calc(100svh - 82px));
  position: relative;
}
.ld-hero:after {
  background: linear-gradient(0deg, var(--ld-black), transparent 22%);
  bottom: 0;
  content: "";
  height: 34%;
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
}
.ld-hero-content { padding: 100px 0 130px; position: relative; z-index: 2; }
.ld-hero h1 {
  font-size: clamp(2.55rem, 6.2vw, 5.4rem);
  font-weight: 620;
  letter-spacing: -.055em;
  line-height: .98;
  margin: 0;
  max-width: 780px;
}
.ld-hero p { color: #d5d3cd; font-size: clamp(1.08rem, 2vw, 1.3rem); line-height: 1.65; max-width: 610px; }
.ld-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ld-trustline { color: #a9aaa8 !important; font-size: .88rem !important; margin-top: 20px; }

/* Cards and grids */
.ld-grid { display: grid; gap: 22px; }
.ld-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ld-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ld-card {
  background: linear-gradient(145deg, rgba(31, 34, 37, .94), rgba(18, 20, 22, .94));
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--ld-radius);
  box-shadow: var(--ld-shadow);
  padding: clamp(25px, 4vw, 38px);
}
.ld-card h3 { font-size: 1.24rem; line-height: 1.25; margin: 0 0 12px; }
.ld-card p { color: #bdbeba; line-height: 1.7; margin-bottom: 0; }
.ld-price { color: var(--ld-gold-light); font-size: clamp(1.85rem, 4vw, 2.65rem); font-weight: 680; letter-spacing: -.04em; margin: 16px 0 2px; }
.ld-price small { color: #bebcb6; font-size: .86rem; font-weight: 500; letter-spacing: 0; }

.ld-feature-card {
  background-position: center;
  background-size: cover;
  border: 1px solid var(--ld-line);
  border-radius: var(--ld-radius);
  box-shadow: var(--ld-shadow);
  color: white;
  display: flex;
  min-height: 390px;
  overflow: hidden;
  padding: 0;
  position: relative;
  text-decoration: none;
}
.ld-feature-card:before {
  background: linear-gradient(0deg, rgba(8, 9, 10, .98), rgba(8, 9, 10, .1) 80%);
  content: "";
  inset: 0;
  position: absolute;
  transition: background .3s ease;
}
.ld-feature-card:hover:before { background: linear-gradient(0deg, rgba(8, 9, 10, .98), rgba(8, 9, 10, .35) 85%); }
.ld-feature-card:nth-child(1) { background-image: url("assets/images/hero-luxury-interior.jpg"); background-position: 65% center; }
.ld-feature-card:nth-child(2) { background-image: linear-gradient(130deg, #2b2d2f, #0b0c0d); }
.ld-feature-card:nth-child(3) { background-image: linear-gradient(130deg, #3d3120, #0b0c0d 68%); }
.ld-feature-content { align-self: flex-end; padding: 30px; position: relative; z-index: 2; }
.ld-feature-content span { color: var(--ld-gold-light); font-size: .78rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.ld-feature-content h3 { font-size: 1.5rem; margin: 8px 0 5px; }
.ld-feature-content p { color: #c7c6c2; margin: 0; }

/* Workflow */
.ld-steps { counter-reset: ld-step; display: grid; gap: 0; margin-top: 48px; }
.ld-step {
  align-items: flex-start;
  border-top: 1px solid rgba(255, 255, 255, .1);
  counter-increment: ld-step;
  display: grid;
  gap: 25px;
  grid-template-columns: 68px 1fr;
  padding: 26px 0;
}
.ld-step:before {
  color: var(--ld-gold);
  content: counter(ld-step, decimal-leading-zero);
  font-size: .85rem;
  font-weight: 800;
  letter-spacing: .12em;
  padding-top: 4px;
}
.ld-step h3 { font-size: 1.14rem; margin: 0 0 7px; }
.ld-step p { color: #bdbeba; line-height: 1.65; margin: 0; }

/* Before/after placeholders */
.ld-photo-pair { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
.ld-photo-placeholder {
  align-items: center;
  aspect-ratio: 4 / 3;
  background: radial-gradient(circle at 70% 25%, rgba(216, 180, 95, .13), transparent 34%), #16181a;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.ld-photo-placeholder:after { border: 1px solid rgba(216, 180, 95, .22); border-radius: 10px; content: ""; inset: 10px; position: absolute; }
.ld-photo-placeholder span { color: #c7c4ba; font-size: .76rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.ld-photo-note { color: #9fa09d; font-size: .82rem; margin-top: 12px; }
.ld-result-pair { background: #121416; border: 1px solid rgba(255,255,255,.08); border-radius: var(--ld-radius); box-shadow: var(--ld-shadow); gap: 12px; margin-bottom: 24px; padding: 18px; }
.ld-result-pair .wp-block-image { margin: 0; }
.ld-result-pair .wp-block-image img { aspect-ratio: 4 / 3; border-radius: 12px; display: block; object-fit: cover; width: 100%; }
.ld-result-pair figcaption { color: var(--ld-gold-light); font-size: .76rem; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }

/* FAQ */
.ld-faq details { border-top: 1px solid rgba(255, 255, 255, .11); padding: 22px 0; }
.ld-faq details:last-child { border-bottom: 1px solid rgba(255, 255, 255, .11); }
.ld-faq summary { color: var(--ld-cream); cursor: pointer; font-size: 1.05rem; font-weight: 650; list-style: none; padding-right: 30px; position: relative; }
.ld-faq summary::-webkit-details-marker { display: none; }
.ld-faq summary:after { color: var(--ld-gold); content: "+"; font-size: 1.35rem; position: absolute; right: 0; top: -5px; }
.ld-faq details[open] summary:after { content: "–"; }
.ld-faq details p { color: #bdbeba; line-height: 1.7; max-width: 760px; }

/* Page hero and legal pages */
.ld-page-hero {
  background: radial-gradient(circle at 80% 10%, rgba(216, 180, 95, .13), transparent 30%), linear-gradient(145deg, #17191c, #090a0b 72%);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  padding: clamp(90px, 13vw, 160px) 0 clamp(65px, 9vw, 110px);
}
.ld-page-hero .ld-lead { margin-bottom: 0; }
.ld-content h2 { font-size: clamp(1.7rem, 4vw, 2.75rem); letter-spacing: -.035em; margin-top: 2.4em; }
.ld-content h3 { font-size: 1.25rem; margin-top: 1.8em; }
.ld-content p, .ld-content li { color: #c9c9c5; line-height: 1.78; }
.ld-content li { margin-bottom: 7px; }
.ld-notice { background: rgba(216, 180, 95, .08); border: 1px solid rgba(216, 180, 95, .25); border-radius: 14px; padding: 22px; }

/* Footer and floating CTA */
.ld-footer { background: #070809; border-top: 1px solid rgba(255, 255, 255, .08); padding: 60px 0 92px; }
.ld-footer-grid { display: grid; gap: 32px; grid-template-columns: 1.4fr 1fr 1fr; }
.ld-footer-logo { background-image: url("assets/images/logo-wide.png"); height: 86px; width: 270px; }
.ld-footer h3 { color: var(--ld-gold-light); font-size: .78rem; letter-spacing: .15em; text-transform: uppercase; }
.ld-footer p, .ld-footer a { color: #aaa; font-size: .9rem; line-height: 1.8; }
.ld-footer a { display: block; text-decoration: none; }
.ld-footer a:hover { color: var(--ld-gold-light); }
.ld-copyright { border-top: 1px solid rgba(255, 255, 255, .07); color: #777; font-size: .78rem; margin-top: 36px; padding-top: 22px; }
.ld-whatsapp-float {
  align-items: center;
  background: linear-gradient(135deg, var(--ld-gold-light), #bd8f35);
  border: 1px solid rgba(255, 238, 185, .65);
  border-radius: 999px;
  bottom: 18px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .4), 0 0 22px rgba(216, 180, 95, .2);
  color: #101112;
  display: none;
  font-size: .85rem;
  font-weight: 800;
  gap: 8px;
  padding: 12px 17px;
  position: fixed;
  right: 16px;
  text-decoration: none;
  z-index: 60;
}
.ld-whatsapp-float svg { height: 18px; width: 18px; }

@media (max-width: 900px) {
  .ld-grid-3 { grid-template-columns: 1fr; }
  .ld-grid-2 { grid-template-columns: 1fr; }
  .ld-footer-grid { grid-template-columns: 1fr 1fr; }
  .ld-footer-grid > :first-child { grid-column: 1 / -1; }
  .ld-nav { display: none; }
  .ld-logo-wide { display: none !important; }
  .ld-logo-icon { display: block !important; height: 52px; width: 52px; }
  .ld-mobile-menu { display: block; position: relative; }
  .ld-mobile-menu summary {
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 999px;
    color: var(--ld-cream);
    cursor: pointer;
    display: flex;
    height: 44px;
    justify-content: center;
    list-style: none;
    width: 44px;
  }
  .ld-mobile-menu summary::-webkit-details-marker { display: none; }
  .ld-mobile-menu summary:before { content: "☰"; font-size: 1.18rem; }
  .ld-mobile-menu[open] summary:before { content: "×"; font-size: 1.55rem; }
  .ld-mobile-menu nav {
    background: rgba(16, 18, 20, .98);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 15px;
    box-shadow: var(--ld-shadow);
    min-width: 245px;
    padding: 12px;
    position: absolute;
    right: 0;
    top: 54px;
  }
  .ld-mobile-menu a { border-radius: 9px; color: white; display: block; font-weight: 650; padding: 12px; text-decoration: none; }
  .ld-mobile-menu a:hover { background: rgba(216, 180, 95, .1); color: var(--ld-gold-light); }
}

@media (max-width: 600px) {
  .admin-bar .ld-header { top: 46px; }
  .ld-shell, .ld-narrow { width: min(100% - 28px, 1180px); }
  .ld-header-inner { height: 68px; width: calc(100% - 28px); }
  .ld-logo-icon { height: 46px; width: 46px; }
  .ld-hero {
    background-image: linear-gradient(0deg, rgba(4, 5, 6, .98) 0%, rgba(4, 5, 6, .62) 58%, rgba(4, 5, 6, .15)), url("assets/images/hero-luxury-interior.jpg");
    background-position: 69% center;
    min-height: calc(100svh - 68px);
  }
  .ld-hero-content { align-self: flex-end; padding: 160px 0 100px; }
  .ld-hero h1 { font-size: clamp(2.55rem, 13vw, 4.1rem); max-width: 9.5em; }
  .ld-hero p { font-size: 1rem; line-height: 1.55; }
  .ld-actions { align-items: stretch; flex-direction: column; }
  .ld-actions .ld-button { width: auto; }
  .ld-card { border-radius: 15px; }
  .ld-feature-card { min-height: 330px; }
  .ld-step { gap: 13px; grid-template-columns: 44px 1fr; }
  .ld-photo-pair { gap: 7px; }
  .ld-footer-grid { grid-template-columns: 1fr; }
  .ld-footer-grid > :first-child { grid-column: auto; }
  .ld-whatsapp-float { display: inline-flex; }
  .ld-footer { padding-bottom: 105px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *:before, *:after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
