/* ==========================================================================
   Playback Music - Light / Dark theme mode
   --------------------------------------------------------------------------
   Dark  = the Brooklyn theme's own original look (nothing is overridden).
   Light = the palette below, applied only under html[data-pbm-theme="light"].
   Change the colours in the variable block; the rest follows.
   ========================================================================== */

html[data-pbm-theme="light"] {
  color-scheme: light;
  --pbm-bg: #ffffff;        /* page + main sections */
  --pbm-bg-alt: #f4f5f7;    /* alternating sections / cards */
  --pbm-bg-soft: #eceef1;   /* footer */
  --pbm-ink: #14161a;       /* headings */
  --pbm-text: #3a3f45;      /* body copy */
  --pbm-muted: #6a7077;     /* captions, footer text */
  --pbm-line: #dfe3e8;      /* hairlines */
  --pbm-field: #cdd2d8;     /* input borders */
  --pbm-red: #f1001b;       /* brand accent (same as dark) */
  --pbm-red-dark: #c40016;
}
html[data-pbm-theme="dark"] { color-scheme: dark; }

/* smooth switch (class is only present for a moment after a click) */
html.pbm-theme-anim body,
html.pbm-theme-anim .vc_row,
html.pbm-theme-anim .vc_section,
html.pbm-theme-anim #header-section,
html.pbm-theme-anim .footer,
html.pbm-theme-anim .footer-content,
html.pbm-theme-anim .section-title,
html.pbm-theme-anim .lead {
  transition: background-color .3s ease, color .3s ease, border-color .3s ease !important;
}

/* ---------- page surfaces ------------------------------------------------ */
/* ":not(#pbm-x)" lifts specificity above the theme's per-row #id rules */
html[data-pbm-theme="light"] body { background: var(--pbm-bg) !important; color: var(--pbm-text); }
html[data-pbm-theme="light"] .vc_row.vc_row-has-fill:not(#pbm-x),
html[data-pbm-theme="light"] .vc_section.vc_section-has-fill:not(#pbm-x) { background-color: var(--pbm-bg) !important; }
html[data-pbm-theme="light"] .vc_section.vc_section-has-fill:not(#pbm-x),
html[data-pbm-theme="light"] .vc_row.vc_inner.vc_row-has-fill:not(#pbm-x) { background-color: var(--pbm-bg-alt) !important; }

/* ---------- headings + copy --------------------------------------------- */
html[data-pbm-theme="light"] .lead,
html[data-pbm-theme="light"] .lead p { color: var(--pbm-text) !important; }
html[data-pbm-theme="light"] .section-title,
html[data-pbm-theme="light"] .section-title span:not(.themecolor),
html[data-pbm-theme="light"] .section-title a { color: var(--pbm-ink) !important; }
html[data-pbm-theme="light"] .section-title ins,
html[data-pbm-theme="light"] .page-title ins { color: var(--pbm-red) !important; }
html[data-pbm-theme="light"] .wpb_text_column,
html[data-pbm-theme="light"] .wpb_text_column p,
html[data-pbm-theme="light"] .wpb_text_column li { color: var(--pbm-text); }
html[data-pbm-theme="light"] .lead b:not(.themecolor),
html[data-pbm-theme="light"] .lead strong:not(.themecolor),
html[data-pbm-theme="light"] .wpb_text_column b:not(.themecolor),
html[data-pbm-theme="light"] .wpb_text_column strong:not(.themecolor),
html[data-pbm-theme="light"] .entry-content h1,
html[data-pbm-theme="light"] .entry-content h2,
html[data-pbm-theme="light"] .entry-content h3,
html[data-pbm-theme="light"] .entry-content h4,
html[data-pbm-theme="light"] .entry-content h5,
html[data-pbm-theme="light"] .entry-content h6 { color: var(--pbm-ink); }
html[data-pbm-theme="light"] .entry-content a:hover,
html[data-pbm-theme="light"] .wpb_text_column a:hover { color: var(--pbm-red); }
html[data-pbm-theme="light"] table { border-color: var(--pbm-line); }
html[data-pbm-theme="light"] th,
html[data-pbm-theme="light"] td { border-color: var(--pbm-line); color: var(--pbm-text); }
html[data-pbm-theme="light"] blockquote { color: var(--pbm-text); border-color: var(--pbm-red); }
html[data-pbm-theme="light"] hr { border-color: var(--pbm-line); }

/* header (logo bar, dropdowns, mobile menu) deliberately keeps the theme's original dark look in BOTH modes. */


/* ---------- footer ------------------------------------------------------- */
html[data-pbm-theme="light"] .footer,
html[data-pbm-theme="light"] .footer-content { background: var(--pbm-bg-soft) !important; color: var(--pbm-muted) !important; }
html[data-pbm-theme="light"] .footer a,
html[data-pbm-theme="light"] .footer-content a,
html[data-pbm-theme="light"] .footer-content i,
html[data-pbm-theme="light"] .footer-content .fa { color: var(--pbm-text) !important; }
html[data-pbm-theme="light"] .footer a:hover,
html[data-pbm-theme="light"] .footer-content a:hover { color: var(--pbm-red) !important; }

/* back-to-top button: dark square with a white arrow (the footer link colour must not reach it) */
html[data-pbm-theme="light"] a.toTop,
html[data-pbm-theme="light"] .footer a.toTop,
html[data-pbm-theme="light"] .footer-content a.toTop { background: #14161a !important; color: #fff !important; box-shadow: 0 4px 14px rgba(20, 22, 26, .22); }
html[data-pbm-theme="light"] a.toTop i,
html[data-pbm-theme="light"] .footer a.toTop i,
html[data-pbm-theme="light"] .footer-content a.toTop i { color: #fff !important; }
html[data-pbm-theme="light"] a.toTop:hover { background: var(--pbm-red) !important; }

/* contact block (address / phone) */
html[data-pbm-theme="light"] .bizeulasin b,
html[data-pbm-theme="light"] .bizeulasin-left b,
html[data-pbm-theme="light"] .bizeulasin-right b,
html[data-pbm-theme="light"] .bizeulasin-left { color: var(--pbm-ink) !important; }
html[data-pbm-theme="light"] .bizeulasin a:not(.themecolor) { color: var(--pbm-ink); }

/* ---------- forms -------------------------------------------------------- */
html[data-pbm-theme="light"] .wpcf7 label,
html[data-pbm-theme="light"] .wpcf7-form p,
html[data-pbm-theme="light"] label { color: var(--pbm-ink); }
html[data-pbm-theme="light"] .wpcf7 input[type="text"],
html[data-pbm-theme="light"] .wpcf7 input[type="email"],
html[data-pbm-theme="light"] .wpcf7 input[type="tel"],
html[data-pbm-theme="light"] .wpcf7 input[type="url"],
html[data-pbm-theme="light"] .wpcf7 select,
html[data-pbm-theme="light"] .wpcf7 textarea {
  background: #fff !important; color: var(--pbm-ink) !important; border: 1px solid var(--pbm-field) !important;
}
html[data-pbm-theme="light"] .wpcf7 input:focus,
html[data-pbm-theme="light"] .wpcf7 textarea:focus {
  border-color: var(--pbm-red) !important; outline: 0; box-shadow: 0 0 0 3px rgba(241, 0, 27, .12);
}
html[data-pbm-theme="light"] .wpcf7-not-valid-tip { color: var(--pbm-red); }

/* ---------- mode toggle button ------------------------------------------ */
.pbm-mode-btn {
  appearance: none; -webkit-appearance: none;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 32px; width: 32px; min-width: 32px; height: 32px; padding: 0; margin: 0;
  border: 1px solid rgba(255, 255, 255, .45) !important; border-radius: 50% !important;
  background: transparent !important; box-shadow: none; color: #fff; cursor: pointer; line-height: 1; vertical-align: middle;
  transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}
.pbm-mode-btn:hover { color: var(--pbm-red, #f1001b); border-color: var(--pbm-red, #f1001b) !important; }
.pbm-mode-btn:focus-visible { outline: 2px solid var(--pbm-red, #f1001b); outline-offset: 2px; }
.pbm-mode-btn svg { display: block; pointer-events: none; }

/* in the desktop menu */
li.pbm-mode-li { display: block !important; list-style: none; margin: 0 0 0 16px !important; padding: 0 !important; }
li.pbm-mode-li .pbm-mode-btn { vertical-align: middle; }
li.pbm-mode-li::before, li.pbm-mode-li::after { display: none !important; }
/* tablet / phone: sits beside the burger button */
.pbm-mode-btn--mobile { display: none; }
@media (max-width: 1024px) {
  .pbm-has-mode { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
  .pbm-mode-btn--mobile { display: inline-flex; }
}
/* floating fallback */
.pbm-mode-btn--float {
  position: fixed; left: 18px; bottom: 18px; z-index: 9990; width: 42px; height: 42px;
  background: rgba(20, 22, 24, .9) !important; border-color: rgba(255, 255, 255, .3) !important; box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
}
html[data-pbm-theme="light"] .pbm-mode-btn--float { background: rgba(255, 255, 255, .95) !important; color: var(--pbm-ink); border-color: var(--pbm-line) !important; box-shadow: 0 6px 20px rgba(20, 22, 26, .18); }
