/* =============================================================
   Contact section + section base + booking modal (ITEM-193).
   Extracted from home/wildersound.blade.php's inline <style> so
   the homepage AND the standalone /enquiry contact page share one
   source (no drift). Both link this file; the homepage no longer
   defines these rules inline. Plain CSS (was inside @verbatim).
   ============================================================= */

/* ---------- Section base ---------- */
    section.dark-section {
      position: relative;
      padding: 90px 0;
      background: rgba(2,
          2,
          2,
          0.5);
      /* semi-transparent so the fixed tiger bg shows through */
    }

    section.dark-section+section.dark-section {
      /* border-top: 1px solid rgba(255, 255, 255, 0.05); */
    }

    .section-title {
      text-align: center;
      padding-bottom: 50px;
    }

    .section-title .eyebrow {
      display: inline-block;
      font-family: "Raleway", sans-serif;
      font-size: 12px;
      font-weight: 600;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: #ffc451;
      margin-bottom: 12px;
    }

    .section-title h2 {
      font-size: clamp(28px, 3.4vw, 40px);
      font-weight: 800;
      text-transform: uppercase;
      margin: 0 0 16px;
      position: relative;
      color: #fff;
      letter-spacing: 0.04em;
      display: inline-block;
      padding-bottom: 18px;
    }

    .section-title h2::after {
      content: "";
      position: absolute;
      display: block;
      width: 50px;
      height: 3px;
      background: #ffc451;
      bottom: 0;
      left: calc(50% - 25px);
    }

    .section-title p {
      margin: 0 auto;
      max-width: 720px;
      color: rgba(255, 255, 255, 0.7);
      font-size: 15px;
      line-height: 1.7;
    }

    /* ---------- Contact ---------- */
    #contact {
      /* background: rgba(10, 10, 10, 0.82); */
    }

    /* Tiger image removed; the contact form is a single centred column
       with the icons + info stacked above it. */
    #contact .contact-grid {
      max-width: 680px;
      margin: 0 auto;
    }

    #contact .info-row {
      display: grid;
      grid-template-columns: 1fr 1.5fr 1fr;
      gap: 10px;
      margin-bottom: 24px;
    }

    /* The contact-grid is a single centred 680px column at every width (no narrow
       2-col right side any more — the old 2-col "tiger" layout is gone), so the three
       info-boxes stay 3-up right down to the phone breakpoint below. A previous
       992–1199px stack rule (vestigial from that old layout) wrongly stacked them only
       in that one band while they sat in a row both above and below it. */

    /* <768: stack on phones */
    @media (max-width: 767.98px) {
      #contact .info-row {
        grid-template-columns: 1fr;
      }
    }

    #contact .info-box {
      padding: 16px 14px;
      background: #111;
      border: 1px solid rgba(255, 255, 255, 0.08);
      display: flex;
      align-items: center;
      gap: 12px;
      transition: 0.3s;
      text-align: left;
      min-width: 0;
    }

    #contact .info-box:hover {
      border-color: #ffc451;
    }

    #contact .info-box i {
      font-size: 16px;
      color: #151515;
      width: 34px;
      height: 34px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: #ffc451;
      border-radius: 50%;
      flex-shrink: 0;
    }

    #contact .info-box>div {
      min-width: 0;
      flex: 1;
    }

    #contact .info-box h3 {
      margin: 0 0 2px;
      font-size: 10px;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.5);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      white-space: nowrap;
    }

    #contact .info-box a,
    #contact .info-box span {
      color: #fff;
      font-size: 12.5px;
      font-weight: 600;
      text-decoration: none;
      white-space: nowrap;
      display: block;
    }

    #contact .info-box a:hover {
      color: #ffc451;
    }

    #contact form {
      background: #111;
      border: 1px solid rgba(255, 255, 255, 0.08);
      padding: 32px;
      margin: 0;
    }

    #contact .form-row,
    .rb-modal .form-row {
      display: grid;
      gap: 16px;
      grid-template-columns: 1fr 1fr;
      margin-bottom: 16px;
    }

    @media (max-width: 767.98px) {
      #contact .form-row,
    .rb-modal .form-row {
        grid-template-columns: 1fr;
      }
    }

    #contact label,
    .rb-modal label {
      display: block;
      font-size: 12px;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.7);
      margin-bottom: 6px;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    #contact label .req,
    .rb-modal label .req {
      color: #ff6b6b;
    }

    #contact input,
    #contact select,
    #contact textarea,
    .rb-modal input,
    .rb-modal select,
    .rb-modal textarea {
      width: 100%;
      border: 1px solid rgba(255, 255, 255, 0.15);
      background: #0a0a0a;
      padding: 12px 14px;
      font-size: 14.5px;
      font-family: inherit;
      color: #fff;
      border-radius: 0;
      transition:
        border-color 0.2s,
        box-shadow 0.2s;
    }

    #contact input:focus,
    #contact select:focus,
    #contact textarea:focus,
    .rb-modal input:focus,
    .rb-modal select:focus,
    .rb-modal textarea:focus {
      outline: none;
      border-color: #ffc451;
      box-shadow: 0 0 0 3px rgba(255, 196, 81, 0.12);
    }

    #contact select option,
    .rb-modal select option {
      background: #0a0a0a;
      color: #fff;
    }

    #contact textarea,
    .rb-modal textarea {
      min-height: 120px;
      resize: vertical;
    }

    #contact .consent-row,
    .rb-modal .consent-row {
      display: grid;
      grid-template-columns: 24px 1fr;
      gap: 10px;
      padding: 14px 0;
      align-items: start;
    }

    #contact .consent-row input,
    .rb-modal .consent-row input {
      width: 18px;
      height: 18px;
      margin-top: 2px;
      accent-color: #ffc451;
    }

    #contact .consent-row label,
    .rb-modal .consent-row label {
      font-size: 12.5px;
      color: rgba(255, 255, 255, 0.65);
      line-height: 1.55;
      font-weight: 400;
      margin: 0;
      text-transform: none;
      letter-spacing: 0;
    }

    #contact .consent-row label a,
    .rb-modal .consent-row label a {
      color: #ffc451;
      text-decoration: underline;
    }

    /* When the shared dispatcher (csp-helpers) flags the consent checkbox invalid it
       inserts an .invalid-feedback BETWEEN the checkbox and its label. Inside this 2-col
       grid (24px | 1fr) that displaced the label into the 24px checkbox column (cramped /
       broken wrapping). Span the message across both columns on its own row and order it
       last so the checkbox + label stay side-by-side on row 1. */
    #contact .consent-row .invalid-feedback,
    .rb-modal .consent-row .invalid-feedback {
      grid-column: 1 / -1;
      order: 1;
      margin-top: 2px;
      font-size: 12.5px;
    }

    #contact .submit-row,
    .rb-modal .submit-row {
      text-align: center;
      margin-top: 20px;
    }

    #contact button[type="submit"],
    .rb-modal button[type="submit"] {
      background: #ffc451;
      color: #151515;
      border: 2px solid #ffc451;
      padding: 14px 42px;
      font-family: "Raleway", sans-serif;
      font-weight: 700;
      letter-spacing: 0.08em;
      border-radius: 50px;
      cursor: pointer;
      font-size: 14px;
      transition: 0.3s;
      text-transform: uppercase;
    }

    #contact button[type="submit"]:hover,
    .rb-modal button[type="submit"]:hover {
      background: transparent;
      color: #ffc451;
    }

    #contact .form-meta {
      text-align: center;
      font-size: 12px;
      color: rgba(255, 255, 255, 0.45);
      margin-top: 14px;
      line-height: 1.6;
    }

    #contact .form-meta a {
      color: rgba(255, 196, 81, 0.7);
    }

    #contact .alert,
    .rb-modal .alert {
      padding: 12px 16px;
      margin-top: 16px;
      font-size: 14px;
      border-radius: 0;
    }

    #contact .alert-success,
    .rb-modal .alert-success {
      background: rgba(46, 204, 113, 0.12);
      border: 1px solid rgba(46, 204, 113, 0.4);
      color: #6ddc9a;
    }

    #contact .alert-danger,
    .rb-modal .alert-danger {
      background: rgba(231, 76, 60, 0.12);
      border: 1px solid rgba(231, 76, 60, 0.4);
      color: #ff8b80;
    }

    #contact .quick-links {
      margin-bottom: 24px;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
    }

    @media (max-width: 575.98px) {
      #contact .quick-links {
        grid-template-columns: 1fr 1fr;
      }
    }

    #contact .quick-links a {
      justify-content: center;
    }

    #contact .quick-links a {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      color: rgba(255, 255, 255, 0.75);
      font-size: 13.5px;
      text-decoration: none;
      padding: 8px 16px;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-radius: 50px;
      transition: 0.2s;
    }

    #contact .quick-links a:hover {
      color: #ffc451;
      border-color: #ffc451;
    }

/* ---------- Success banner ---------- */
    #successMessage.alert-success:not(.d-none) {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 2000;
      margin: 0;
      border: 0;
      border-bottom: 1px solid rgba(46, 204, 113, 0.40);
      border-radius: 0;
      text-align: center;
      font-weight: 600;
      color: #2ecc71;
      background: rgba(46, 204, 113, 0.10);
      backdrop-filter: blur(6px);
      padding: 1rem 3rem;
      box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
      animation: wsThankYouIn 0.35s ease-out;
    }

    @keyframes wsThankYouIn {
      from {
        transform: translateY(-100%);
        opacity: 0;
      }

      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

    #successMessage .ws-thankyou-close {
      position: absolute;
      top: 0;
      right: 0;
      height: 100%;
      width: 3rem;
      padding: 0;
      border: 0;
      cursor: pointer;
      background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 1.2A6.74 6.74 0 0 0 1.2 8 6.74 6.74 0 0 0 8 14.8 6.74 6.74 0 0 0 14.8 8 6.74 6.74 0 0 0 8 1.2zM0 8c0-4.4 3.6-8 8-8s8 3.6 8 8-3.6 8-8 8-8-3.6-8-8zm10.6-2.6a.61.61 0 0 1 0 .8L8.8 8l1.9 1.9a.61.61 0 0 1 0 .8.61.61 0 0 1-.8 0L8 8.8l-1.9 1.9a.61.61 0 0 1-.8 0 .61.61 0 0 1 0-.8L7.2 8 5.4 6.1a.61.61 0 0 1 0-.8.61.61 0 0 1 .8 0l1.9 1.9L10 5.3c.1-.1.4-.1.6.1z' fill-rule='evenodd' fill='%232ecc71'/%3E%3C/svg%3E") center/1.1em auto no-repeat;
      opacity: 0.55;
      transition: opacity 0.15s ease;
    }

    #successMessage .ws-thankyou-close:hover {
      opacity: 0.9;
    }

    /* Request Booking modal (shared across artist cards) */
    body.rb-modal-open { overflow: hidden; }
    .rb-modal {
      position: fixed;
      inset: 0;
      z-index: 1000;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding: 40px 16px;
      overflow-y: auto;
    }
    .rb-modal.d-none { display: none; }
    .rb-modal__backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.78);
      backdrop-filter: blur(2px);
    }
    .rb-modal__dialog {
      position: relative;
      z-index: 1;
      width: 100%;
      max-width: 680px;
      background: #0d0d0d;
      border: 1px solid rgba(255, 255, 255, 0.12);
      border-top: 3px solid #ffc451;
      border-radius: 6px;
      padding: 32px 28px;
      box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    }
    .rb-modal__close {
      position: absolute;
      top: 10px;
      right: 14px;
      background: none;
      border: 0;
      color: #fff;
      font-size: 28px;
      line-height: 1;
      cursor: pointer;
      opacity: 0.7;
      padding: 4px 8px;
    }
    .rb-modal__close:hover { opacity: 1; color: #ffc451; }
    .rb-modal__title {
      font-family: "Raleway", sans-serif;
      font-weight: 700;
      font-size: 20px;
      color: #fff;
      margin: 0 28px 6px 0;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }
    .rb-modal__title span { color: #ffc451; }
    .rb-modal__sub {
      color: rgba(255, 255, 255, 0.7);
      font-size: 14px;
      margin: 0 0 22px;
    }
    .rb-modal__sub span { color: rgba(255, 255, 255, 0.9); }
    @media (max-width: 575.98px) {
      .rb-modal__dialog { padding: 26px 18px; }
    }

    /* Chrome dark-form fixes. Chrome can't have its :-webkit-autofill
       background set directly — mask it with an inset box-shadow +
       text-fill-color so autofilled/typed fields keep the dark style.
       color-scheme:dark makes Chrome render the native date control
       and its calendar popup dark (Firefox already renders correctly;
       the popup itself is browser-native and only color-scheme can
       darken it). */
    #contact input:-webkit-autofill,
    #contact input:-webkit-autofill:hover,
    #contact input:-webkit-autofill:focus,
    #contact input:-webkit-autofill:active,
    #contact textarea:-webkit-autofill,
    #contact select:-webkit-autofill,
    .rb-modal input:-webkit-autofill,
    .rb-modal input:-webkit-autofill:hover,
    .rb-modal input:-webkit-autofill:focus,
    .rb-modal input:-webkit-autofill:active,
    .rb-modal textarea:-webkit-autofill,
    .rb-modal select:-webkit-autofill {
      -webkit-box-shadow: 0 0 0 1000px #0a0a0a inset;
      box-shadow: 0 0 0 1000px #0a0a0a inset;
      -webkit-text-fill-color: #fff;
      caret-color: #fff;
      transition: background-color 9999s ease-in-out 0s;
    }
    #contact input,
    #contact select,
    #contact textarea,
    .rb-modal input,
    .rb-modal select,
    .rb-modal textarea {
      /* color-scheme:dark already renders the native date control's
         calendar-picker indicator light on the dark field — do NOT add
         filter:invert here, it double-darkens the glyph. */
      color-scheme: dark;
    }
