/* =========================================================
   LIGHT THEME — BLOCK OVERRIDES
   Applied when <html data-theme="light"> (toggled in header.js).
   header.css and footer.css are intentionally NOT touched here —
   the header/footer keep their dark look in both themes.

   Elements whose text sits on a real photo (hero copy, carousel
   slide captions, the cards.teams hover overlay) are left white —
   the page theme doesn't change the photo, so white-with-shadow
   stays the correct choice there.
========================================================= */

html[data-theme="light"] {
  --theme-text-soft: rgb(33 22 15 / 68%);
}

/* Global default for every <p> in light mode. Zero-specificity wrapper so
   any block's own (more specific) paragraph color — accents, faded
   secondary text, etc. — still wins over this baseline. */
:where(html[data-theme="light"]) p {
  color: #211d17;
}

/* =========================================================
   HERO — LANDING (glass card, not a photo background —
   unlike .hero.custom/.hero.service which stay white-on-photo)
========================================================= */

html[data-theme="light"] .hero.landing {
  background:
    linear-gradient(
      135deg,
      rgb(0 0 0 / 5%) 0%,
      rgb(0 0 0 / 2%) 45%,
      rgb(0 0 0 / 1%) 100%
    );
  border-color: rgb(0 0 0 / 15%);
}

html[data-theme="light"] .hero.landing::before {
  background-image:
    linear-gradient(rgb(0 0 0 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(0 0 0 / 4%) 1px, transparent 1px);
}

html[data-theme="light"] .hero.landing::after {
  background:
    radial-gradient(circle at 72% 52%, rgb(251 144 134 / 14%) 0, transparent 32%),
    radial-gradient(circle at 18% 20%, rgb(240 201 135 / 14%) 0, transparent 28%);
}

html[data-theme="light"] .hero.landing > div > div > ul:first-child > li:first-child {
  color: #3a2a12;
}

html[data-theme="light"] .hero.landing h1,
html[data-theme="light"] .hero.landing .hero-title-static {
  color: var(--text-color);
  text-shadow: none;
}

html[data-theme="light"] .hero.landing > div > div > ul:last-child > li:first-child {
  color: rgb(33 22 15 / 78%);
}

html[data-theme="light"] .hero.landing > div > div > ul:last-child > li:last-child a {
  color: #3a2a12;
}

/* =========================================================
   CAROUSEL
========================================================= */

html[data-theme="light"] .carousel .carousel-slide .carousel-slide-content {
  color: var(--text-color);
}

html[data-theme="light"] .carousel .carousel-slide .carousel-slide-content p a[href] {
  color: #3a2a12;
}

html[data-theme="light"] .carousel .carousel-slide .carousel-slide-content p a[href]:hover,
html[data-theme="light"] .carousel .carousel-slide .carousel-slide-content p a[href]:focus-visible {
  color: #3a2a12;
}

/* =========================================================
   SCROLL ANIMATION
========================================================= */

html[data-theme="light"] .scrollanimation-callout-text {
  color: var(--text-color);
}

/* =========================================================
   COLUMNS
========================================================= */

html[data-theme="light"] .columns.home h2:first-child { color: rgb(33 22 15 / 92%); }
html[data-theme="light"] .columns.home p { color: var(--theme-text-soft); }

html[data-theme="light"] .columns.home p:last-child a[href],
html[data-theme="light"] .columns.button p a[href] {
  color: #3a2a12;
}

html[data-theme="light"] .columns.flotleft,
html[data-theme="light"] .columns.paragraph p,
html[data-theme="light"] .columns.serviceparagraph p {
  color: var(--text-color);
}

/* =========================================================
   STICKY BAR
========================================================= */

html[data-theme="light"] .sticky > div {
  background: linear-gradient(135deg, rgb(0 0 0 / 5%), rgb(0 0 0 / 2%));
}

html[data-theme="light"] .sticky > div > div p:first-child { color: rgb(33 22 15 / 55%); }
html[data-theme="light"] .sticky > div > div p:nth-child(2) { color: rgb(33 22 15 / 88%); }
html[data-theme="light"] .sticky > div > div:nth-child(2) p:nth-child(2) { color: rgb(33 22 15 / 78%); }
html[data-theme="light"] .sticky > div > div:last-child a { color: #3a2a12; }

/* =========================================================
   CHOOSE
========================================================= */

html[data-theme="light"] .choose-wrapper {
  background: rgb(0 0 0 / 3%);
}

html[data-theme="light"] .choose h2,
html[data-theme="light"] .choose h3 {
  color: var(--text-color);
}

html[data-theme="light"] .choose > div > div:first-child p { color: rgb(33 22 15 / 82%); }
html[data-theme="light"] .choose > div > div:first-child a { color: #3a2a12; }

html[data-theme="light"] .choose > div > div:nth-child(3) ul {
  background: rgb(0 0 0 / 4%);
  border-color: rgb(0 0 0 / 12%);
}

html[data-theme="light"] .choose > div > div:nth-child(3) ul:hover {
  background: rgb(0 0 0 / 7%);
  border-color: rgb(0 0 0 / 18%);
}

html[data-theme="light"] .choose > div > div:nth-child(3) li { color: var(--text-color); }

html[data-theme="light"] .choose > div > div:nth-child(3) li::before {
  background: rgb(0 0 0 / 4%);
  color: #000;
}

/* =========================================================
   COUNTER
========================================================= */

html[data-theme="light"] .counter .counter-item {
  background: linear-gradient(135deg, rgb(0 0 0 / 4%), rgb(0 0 0 / 1%));
  box-shadow:
    inset 0 0 20px rgb(0 0 0 / 3%),
    0 8px 20px rgb(0 0 0 / 8%);
}

html[data-theme="light"] .counter .counter-label { color: var(--theme-text-soft); }

/* =========================================================
   ACCORDION
========================================================= */

html[data-theme="light"] .accordion details {
  border-color: rgb(0 0 0 / 10%);
  background-color: rgb(0 0 0 / 3%);
}

html[data-theme="light"] .accordion details[open] summary,
html[data-theme="light"] .accordion details summary:focus,
html[data-theme="light"] .accordion details summary:hover {
  background-color: rgb(0 0 0 / 4%);
}

html[data-theme="light"] .accordion details[open] .accordion-item-body {
  border-top-color: rgb(0 0 0 / 10%);
}

/* =========================================================
   TESTIMONIALS
========================================================= */

html[data-theme="light"] .testimonials-intro { color: var(--theme-text-soft); }

html[data-theme="light"] .testimonial-card {
  box-shadow:
    inset 0 1px 0 rgb(0 0 0 / 6%),
    0 8px 25px rgb(0 0 0 / 10%);
}

html[data-theme="light"] .testimonial-avatar { background-color: rgb(0 0 0 / 5%); }
html[data-theme="light"] .testimonial-role { color: rgb(33 22 15 / 55%); }
html[data-theme="light"] .testimonial-message { color: rgb(33 22 15 / 75%); }
html[data-theme="light"] .testimonial-arrow { color: #3a2a12; }
html[data-theme="light"] .testimonials-progress-track { background-color: rgb(0 0 0 / 10%); }
html[data-theme="light"] .testimonial-dot { background-color: rgb(0 0 0 / 12%); }

/* =========================================================
   CARDS (non-photo surfaces only)
========================================================= */

html[data-theme="light"] .cards.service .cards-card-image {
  border-color: rgb(0 0 0 / 12%);
  background-color: rgb(0 0 0 / 4%);
  box-shadow: inset 0 0 20px rgb(0 0 0 / 4%), 0 4px 12px rgb(0 0 0 / 10%);
}

html[data-theme="light"] .cards.teams > ul > li {
  border-color: rgb(0 0 0 / 10%);
  background-color: rgb(0 0 0 / 4%);
}

html[data-theme="light"] .cards.teams .cards-card-body .icon {
  border-color: rgb(0 0 0 / 15%);
}

/* POPUP intentionally excluded — pinned to always-dark in popup.css
   itself, regardless of the site-wide theme toggle. */

/* =========================================================
   FULLIMAGE (CTA + booking modal)
========================================================= */

html[data-theme="light"] .fullimage ul > li:first-child { color: var(--text-color); }
html[data-theme="light"] .fullimage ul > li:last-child a { color: #3a2a12; }

html[data-theme="light"] .booking-modal { color: var(--text-color); }
html[data-theme="light"] .booking-form .hint { color: rgb(33 22 15 / 55%); }

html[data-theme="light"] .booking-close,
html[data-theme="light"] .booking-form input {
  background-color: rgb(0 0 0 / 5%);
  border-color: rgb(0 0 0 / 15%);
  color: var(--text-color);
}

html[data-theme="light"] .booking-submit,
html[data-theme="light"] .record-btn,
html[data-theme="light"] .submit-btn {
  color: #3a2a12;
}

html[data-theme="light"] .booking-success-popup,
html[data-theme="light"] .popup-success-popup {
  color: var(--text-color);
}
