/* SoulBridge static site — small additions on top of style.css (the original Tailwind build) */

/* Links that used to be <button>s keep the button look; in the base layer so Tailwind utilities still win */
@layer base {
  a.sb-btnlink { display: inline-block; text-align: center; cursor: pointer; }
  a.sb-blocklink { display: block; }
  html { scroll-behavior: smooth; }
  [id^="category-"] { scroll-margin-top: 120px; }
}

.sb-hide { display: none !important; }
[data-href] { cursor: pointer; }

/* Hero slider (replaces react-slick, same fade + dots look) */
.sb-track { display: grid; }
.sb-slide { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility 0s linear .8s; }
.sb-slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity .8s ease; }
@media (prefers-reduced-motion: reduce) { .sb-slide, .sb-slide.is-active { transition: none; } }

/* Image that failed to load */
img.sb-img-error { object-fit: none !important; background: #f3f4f6; }

/* ---------- Contact / booking form ---------- */
.sb-form { display: grid; gap: 1.1rem; color: #3e2723; }
.sb-form .sb-row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) { .sb-form .sb-row { grid-template-columns: 1fr 1fr; } }
.sb-form label { display: block; font-size: .95rem; font-weight: 500; margin-bottom: .4rem; }
.sb-form .sb-req { color: #DF744A; }
.sb-form input, .sb-form select, .sb-form textarea {
  width: 100%; box-sizing: border-box; border: 1px solid #d6d3d1; border-radius: .6rem;
  padding: .75rem .9rem; font: inherit; font-size: 1rem; color: #3e2723; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.sb-form textarea { min-height: 140px; resize: vertical; }
.sb-form select { appearance: none; -webkit-appearance: none; padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%233e2723' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .9rem center; }
.sb-form input:focus, .sb-form select:focus, .sb-form textarea:focus {
  outline: none; border-color: #DCB239; box-shadow: 0 0 0 3px rgba(220, 178, 57, .25);
}
.sb-form .sb-invalid { border-color: #dc2626; }
.sb-form .sb-hint { font-size: .8rem; color: rgba(62, 39, 35, .6); margin-top: .3rem; }
.sb-form .sb-hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.sb-form .sb-check { display: flex; gap: .6rem; align-items: flex-start; font-size: .9rem; font-weight: 400; }
.sb-form .sb-check input { width: auto; margin-top: .2rem; accent-color: #DCB239; }
.sb-submit {
  width: 100%; border: 0; border-radius: .6rem; padding: 1rem 1.5rem; font: inherit; font-size: 1.1rem;
  font-weight: 600; color: #fff; background: #DCB239; cursor: pointer; transition: background .15s, transform .15s;
}
.sb-submit:hover { background: #c9a234; }
.sb-submit:disabled { opacity: .7; cursor: wait; }
.sb-alert { border-radius: .75rem; padding: 1rem 1.1rem; margin-bottom: 1.25rem; font-size: .98rem; line-height: 1.5; }
.sb-alert ul { margin: .4rem 0 0 1.1rem; list-style: disc; }
.sb-alert-ok { background: #ecfdf3; border: 1px solid #86efac; color: #14532d; }
.sb-alert-err { background: #fef2f2; border: 1px solid #fca5a5; color: #7f1d1d; }
