/* ============================================================
   BOOT & BARREL — CONTACT PAGE STYLES
   Add to: /wp-content/themes/boot-barrel/assets/css/contact-page.css
   Enqueue in functions.php alongside main.css
   ============================================================ */

/* ── Shared tokens (mirrors main.css variables) ─────────────── */
.bb-contact-page {
  --brown:     #2C1810;
  --gold:      #C8860A;
  --parchment: #F5ECD0;
  --cream:     #FAF6EE;
  --white:     #ffffff;
  --radius:    6px;
  --shadow:    0 4px 24px rgba(44,24,16,.12);
}

/* ── Honeypot — must stay invisible to humans ───────────────── */
.bbc-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

/* ════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════ */
.bbc-hero {
  position: relative;
  min-height: 25vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;

  /*
   * SWAP THIS URL for your own background photo.
   * Ideal shot: wide landscape of your tent/ranch, golden hour.
   * Upload to Media Library and paste the URL below.
   */
  background-image:
    url('/wp-content/uploads/2026/07/Northcrest-High-Peak-Tent-Sunset.png');
  background-size: cover;
  background-position: center 65%;
}

.bbc-hero__overlay {
  position: absolute;
  inset: 0;
  /* warm gradient overlay — deepens toward bottom for text legibility */
  background: linear-gradient(
    to bottom,
    rgba(44,24,16,.55) 0%,
    rgba(44,24,16,.72) 60%,
    rgba(44,24,16,.82) 100%
  );
}

.bbc-hero__content {
  position: relative;
  z-index: 2;
  padding: 4rem 1.5rem;
  max-width: 700px;
}

.bbc-hero__eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1rem;
}

.bbc-hero__heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--parchment);
  line-height: 1.15;
  margin: 0 0 1.2rem;
}

.bbc-hero__sub {
  font-family: 'Lato', sans-serif;
  font-size: 1.1rem;
  color: rgba(245,236,208,.85);
  margin: 0;
  line-height: 1.65;
}

/* ════════════════════════════════════════════════════════════
   SPLIT PANEL
════════════════════════════════════════════════════════════ */
.bbc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 680px;
}

/* ── Left: info panel ─────────────────────────────────────── */
.bbc-split__info {
  background-color: var(--brown);
  /*
   * Background image for the left panel (landscape/ranch photo).
   * Use a different photo from the hero — ideally horses or open field.
   */
  background-image:
    linear-gradient(rgba(44,24,16,.78), rgba(44,24,16,.88)),
	url('/wp-content/uploads/2026/07/boot-barrel-wedding-bride-horse-cleburne-tx.jpg');
    //url('/wp-content/themes/boot-barrel/assets/images/contact-panel.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.bbc-split__info-inner {
  padding: 4rem 3rem;
  max-width: 480px;
}

.bbc-info__heading {
  font-family: 'Cinzel', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--parchment);
  margin: 0 0 .75rem;
}

.bbc-info__intro {
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  color: rgba(245,236,208,.75);
  line-height: 1.7;
  margin: 0 0 2.5rem;
}

/* Contact list */
.bbc-contact-list {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.bbc-contact-list__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.bbc-contact-list__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  color: var(--gold);
}

.bbc-contact-list__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.bbc-contact-list__label {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .2rem;
}

.bbc-contact-list__value {
  display: block;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: var(--parchment);
  text-decoration: none;
  line-height: 1.4;
  transition: color .2s;
}

a.bbc-contact-list__value:hover {
  color: var(--gold);
}

/* Social */
.bbc-social__label {
  font-family: 'Lato', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .85rem;
}

.bbc-social__links {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.bbc-social__link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-family: 'Lato', sans-serif;
  font-size: .875rem;
  font-weight: 600;
  color: rgba(245,236,208,.8);
  text-decoration: none;
  border: 1px solid rgba(245,236,208,.22);
  border-radius: 100px;
  padding: .45rem .9rem .45rem .75rem;
  transition: color .2s, border-color .2s, background .2s;
}

.bbc-social__link svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.bbc-social__link:hover {
  color: var(--brown);
  background: var(--gold);
  border-color: var(--gold);
}

/* ── Right: form panel ────────────────────────────────────── */
.bbc-split__form {
  background-color: var(--cream);
  display: flex;
  align-items: center;
}

.bbc-split__form-inner {
  padding: 4rem 3rem;
  width: 100%;
  max-width: 560px;
}

.bbc-form__heading {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--brown);
  margin: 0 0 .5rem;
}

.bbc-form__sub {
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  color: rgba(44,24,16,.65);
  margin: 0 0 2rem;
  line-height: 1.6;
}

/* Form layout */
.bbc-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.bbc-form__row {
  display: flex;
  gap: 1rem;
}

.bbc-form__row--half > .bbc-form__field {
  flex: 1;
  min-width: 0;
}

.bbc-form__field {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.bbc-form__label {
  font-family: 'Lato', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brown);
}

.bbc-required {
  color: var(--gold);
}

.bbc-form__input {
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  color: var(--brown);
  background: var(--white);
  border: 1.5px solid rgba(44,24,16,.2);
  border-radius: var(--radius);
  padding: .7rem .9rem;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}

.bbc-form__input::placeholder {
  color: rgba(44,24,16,.35);
}

.bbc-form__input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(200,134,10,.15);
}

.bbc-form__select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C1810' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px;
  padding-right: 2.5rem;
  cursor: pointer;
}

.bbc-form__textarea {
  resize: vertical;
  min-height: 120px;
}

.bbc-form__submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  font-family: 'Cinzel', serif;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--parchment);
  background: var(--brown);
  border: none;
  border-radius: var(--radius);
  padding: .9rem 2rem;
  cursor: pointer;
  transition: background .2s, transform .15s;
  align-self: flex-start;
}

.bbc-form__submit svg {
  width: 16px;
  height: 16px;
}

.bbc-form__submit:hover {
  background: var(--gold);
  transform: translateY(-1px);
}

.bbc-form__submit:active {
  transform: translateY(0);
}

.bbc-form__note {
  font-family: 'Lato', sans-serif;
  font-size: .8rem;
  color: rgba(44,24,16,.5);
  margin: 0;
  line-height: 1.6;
}

.bbc-form__note a {
  color: var(--gold);
  text-decoration: none;
}

/* Success state */
.bbc-form-success {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #edf7ed;
  border: 1.5px solid #4caf50;
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  color: #1b5e20;
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  line-height: 1.6;
}

.bbc-form-success svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #4caf50;
  margin-top: 2px;
}

.bbc-form-success strong {
  display: block;
  margin-bottom: .25rem;
}

.bbc-form-success a {
  color: #2e7d32;
}

/* Error state */
.bbc-form-error {
  background: #fdf0ef;
  border: 1.5px solid #c62828;
  border-radius: var(--radius);
  padding: .85rem 1.1rem;
  font-family: 'Lato', sans-serif;
  font-size: .9rem;
  color: #c62828;
}

/* ════════════════════════════════════════════════════════════
   FAQ ACCORDION
════════════════════════════════════════════════════════════ */
.bbc-faq {
  background: var(--parchment);
  padding: 6rem 1.5rem;
}

.bbc-faq__container {
  max-width: 900px;
  margin: 0 auto;
}

.bbc-faq__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.bbc-faq__eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 .75rem;
}

.bbc-faq__heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--brown);
  margin: 0;
}

/* FAQ grid — 2 columns on desktop */
.bbc-faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
}

.bbc-faq__item {
  border-bottom: 1px solid rgba(44,24,16,.14);
}

.bbc-faq__item:last-child,
.bbc-faq__item:nth-last-child(2):nth-child(odd) {
  border-bottom: none;
}

.bbc-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  text-align: left;
  font-family: 'Lato', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  color: var(--brown);
  background: none;
  border: none;
  padding: 1.25rem 0;
  cursor: pointer;
  transition: color .2s;
  line-height: 1.45;
}

.bbc-faq__question:hover {
  color: var(--gold);
}

.bbc-faq__question[aria-expanded="true"] {
  color: var(--gold);
}

.bbc-faq__chevron {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--gold);
  transition: transform .25s;
}

.bbc-faq__chevron svg {
  width: 100%;
  height: 100%;
  display: block;
}

.bbc-faq__question[aria-expanded="true"] .bbc-faq__chevron {
  transform: rotate(180deg);
}

.bbc-faq__answer {
  overflow: hidden;
}

.bbc-faq__answer[hidden] {
  display: block; /* keep in DOM for animation */
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
}

.bbc-faq__answer:not([hidden]) {
  max-height: 600px;
  visibility: visible;
  transition: max-height .35s ease;
}

.bbc-faq__answer p {
  font-family: 'Lato', sans-serif;
  font-size: .93rem;
  color: rgba(44,24,16,.75);
  line-height: 1.75;
  margin: 0 0 1.25rem;
  padding-right: 1rem;
}

/* ════════════════════════════════════════════════════════════
   CTA BAND
════════════════════════════════════════════════════════════ */
.bbc-cta-band {
  background: var(--brown);
  padding: 5rem 1.5rem;
  text-align: center;
}

.bbc-cta-band__inner {
  max-width: 640px;
  margin: 0 auto;
}

.bbc-cta-band__heading {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--parchment);
  margin: 0 0 .75rem;
}

.bbc-cta-band__sub {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  color: rgba(245,236,208,.75);
  margin: 0 0 2rem;
  line-height: 1.65;
}

.bbc-cta-band__btn {
  display: inline-block;
  font-family: 'Cinzel', serif;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--brown);
  background: var(--gold);
  border-radius: var(--radius);
  padding: .9rem 2.25rem;
  text-decoration: none;
  transition: background .2s, transform .15s;
}

.bbc-cta-band__btn:hover {
  background: var(--parchment);
  transform: translateY(-1px);
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .bbc-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .bbc-split__info {
    min-height: 380px;
  }

  .bbc-split__info-inner,
  .bbc-split__form-inner {
    padding: 3rem 2rem;
    max-width: 100%;
  }

  .bbc-faq__grid {
    grid-template-columns: 1fr;
  }

  .bbc-faq__item:last-child {
    border-bottom: none;
  }

  .bbc-faq__item:nth-last-child(2):nth-child(odd) {
    border-bottom: 1px solid rgba(44,24,16,.14);
  }
}

@media (max-width: 600px) {
  .bbc-hero {
    min-height: 44vh;
  }

  .bbc-form__row--half {
    flex-direction: column;
    gap: 1.25rem;
  }

  .bbc-split__info-inner,
  .bbc-split__form-inner {
    padding: 2.5rem 1.25rem;
  }

  .bbc-faq {
    padding: 4rem 1.25rem;
  }

  .bbc-social__links {
    gap: .5rem;
  }

  .bbc-form__submit {
    width: 100%;
  }
}

/* ── Reduced motion ───────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .bbc-faq__answer:not([hidden]),
  .bbc-faq__chevron,
  .bbc-form__submit,
  .bbc-cta-band__btn,
  .bbc-social__link,
  .bbc-form__input {
    transition: none;
  }
}
