/* ══════════════════════════════════════════════
   BE WEISZ — Preferred Vendors Page Styles
   ══════════════════════════════════════════════ */

/* ── Page Hero ── */
.page-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 24px 80px;
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgb(201, 168, 76, 0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 20%, rgb(201, 168, 76, 0.05) 0%, transparent 50%), var(--black);
  z-index: 0;
}

.page-hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.page-hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.page-hero-sub {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--grey-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Floating particles ── */
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  background: var(--gold);
  border-radius: 50%;
  opacity: 0;
  box-shadow:
    0 0 12px 4px rgb(201, 168, 76, 0.6),
    0 0 30px 8px rgb(201, 168, 76, 0.25);
  animation: floatUp ease-in-out infinite;
}

.particle:nth-child(1) {
  left: 5%;
  width: 8px;
  height: 8px;
  animation-delay: 0s;
  animation-duration: 12s;
}

.particle:nth-child(2) {
  left: 15%;
  width: 10px;
  height: 10px;
  animation-delay: 2s;
  animation-duration: 14s;
}

.particle:nth-child(3) {
  left: 25%;
  width: 7px;
  height: 7px;
  animation-delay: 4s;
  animation-duration: 11s;
}

.particle:nth-child(4) {
  left: 35%;
  width: 12px;
  height: 12px;
  animation-delay: 1s;
  animation-duration: 15s;
}

.particle:nth-child(5) {
  left: 45%;
  width: 9px;
  height: 9px;
  animation-delay: 3s;
  animation-duration: 13s;
}

.particle:nth-child(6) {
  left: 55%;
  width: 7px;
  height: 7px;
  animation-delay: 5.5s;
  animation-duration: 14.5s;
}

.particle:nth-child(7) {
  left: 65%;
  width: 9px;
  height: 9px;
  animation-delay: 0.5s;
  animation-duration: 11.5s;
}

.particle:nth-child(8) {
  left: 75%;
  width: 13px;
  height: 13px;
  animation-delay: 2.5s;
  animation-duration: 16s;
}

.particle:nth-child(9) {
  left: 85%;
  width: 8px;
  height: 8px;
  animation-delay: 4.5s;
  animation-duration: 12s;
}

.particle:nth-child(10) {
  left: 92%;
  width: 10px;
  height: 10px;
  animation-delay: 1.5s;
  animation-duration: 14s;
}

.particle:nth-child(11) {
  left: 10%;
  width: 9px;
  height: 9px;
  animation-delay: 6s;
  animation-duration: 11s;
}

.particle:nth-child(12) {
  left: 50%;
  width: 11px;
  height: 11px;
  animation-delay: 3.5s;
  animation-duration: 13s;
}

@keyframes floatUp {
  0% {
    bottom: -5%;
    opacity: 0;
    transform: translateX(0) scale(0.3);
  }

  8% {
    opacity: 1;
    transform: scale(1);
  }

  25% {
    opacity: 1;
    transform: translateX(12px);
  }

  50% {
    opacity: 0.9;
    transform: translateX(-8px);
  }

  75% {
    opacity: 0.7;
    transform: translateX(15px);
  }

  92% {
    opacity: 0.3;
  }

  100% {
    bottom: 105%;
    opacity: 0;
    transform: translateX(-5px) scale(0.5);
  }
}

/* ── Nav active state ── */
.nav-links a.active {
  color: var(--gold);
}

.nav-links a.active::after {
  width: 100%;
}

/* ── Intro Section ── */
.vendors-intro {
  padding: 80px 24px 40px;
  background: var(--black);
  text-align: center;
}

.vendors-intro .ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.ornament-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.ornament-line:last-child {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.ornament-diamond {
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.vendors-intro p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--grey-light);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  font-weight: 300;
}

/* ── Vendor Categories Grid ── */
.vendors-section {
  padding: 40px 24px 100px;
  background: var(--black);
}

.vendors-container {
  max-width: 1100px;
  margin: 0 auto;
}

.vendors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

/* Center last item if alone in its row */
.vendors-grid .vendor-card:nth-last-child(1):nth-child(3n + 1) {
  grid-column: 2;
}

.vendor-card {
  position: relative;
  background: var(--black-soft);
  border: 1px solid var(--charcoal);
  border-radius: 12px;
  padding: 48px 28px 40px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
  cursor: default;
}

.vendor-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transition: width 0.5s ease;
}

.vendor-card:hover::before {
  width: 100%;
}

.vendor-card:hover {
  border-color: rgb(201, 168, 76, 0.3);
  transform: translateY(-4px);
  box-shadow:
    0 12px 40px rgb(0, 0, 0, 0.4),
    0 0 30px var(--gold-glow);
}

.vendor-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--charcoal);
  border-radius: 50%;
  transition: all 0.4s ease;
}

.vendor-card:hover .vendor-icon {
  border-color: var(--gold);
  box-shadow: 0 0 20px var(--gold-glow);
}

.vendor-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: stroke 0.3s ease;
}

.vendor-card:hover .vendor-icon svg {
  stroke: var(--gold-light);
}

.vendor-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.03em;
  margin-bottom: 10px;
  transition: color 0.3s ease;
}

.vendor-card:hover h3 {
  color: var(--gold-light);
}

.vendor-card p {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--grey);
  line-height: 1.6;
  font-weight: 300;
}

/* ── Coming Soon Badge ── */
.coming-soon-badge {
  display: inline-block;
  margin-top: 16px;
  padding: 5px 16px;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgb(201, 168, 76, 0.3);
  border-radius: 20px;
}

/* ── View Vendors Link (on category card) ── */
.view-vendors-link {
  display: inline-block;
  margin-top: 16px;
  padding: 5px 18px;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-vendors-link:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  box-shadow: 0 0 20px var(--gold-glow);
}

/* ── Vendor Listings ── */
.vendor-listings {
  margin-bottom: 40px;
}

.vendor-listing-group {
  margin-bottom: 64px;
  scroll-margin-top: 100px;
}

.vendor-listing-group:last-child {
  margin-bottom: 0;
}

.listing-group-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 36px;
}

.listing-group-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 300;
  color: var(--white);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.listing-group-header .ornament-line {
  flex: 1;
  max-width: 120px;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.vendor-listing {
  position: relative;
  background: var(--black-soft);
  border: 1px solid var(--charcoal);
  border-radius: 12px;
  padding: 32px 28px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.vendor-listing::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--gold), transparent);
  transition: height 0.5s ease;
}

.vendor-listing:hover::before {
  height: 100%;
}

.vendor-listing:hover {
  border-color: rgb(201, 168, 76, 0.3);
  transform: translateY(-4px);
  box-shadow:
    0 12px 40px rgb(0, 0, 0, 0.4),
    0 0 30px var(--gold-glow);
}

.vendor-listing h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 6px;
  transition: color 0.3s ease;
}

.vendor-listing:hover h3 {
  color: var(--gold-light);
}

.vendor-tagline {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.vendor-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--grey-light);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 18px;
}

.vendor-location {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--grey);
}

.vendor-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.vendor-contact a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  padding: 7px 16px;
  border: 1px solid rgb(201, 168, 76, 0.3);
  border-radius: 20px;
  transition: all 0.3s ease;
}

.vendor-contact a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

/* ── Apply CTA Section ── */
.vendor-cta {
  text-align: center;
  padding: 60px 24px 0;
}

.vendor-cta-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 48px 40px;
  border: 1px solid var(--charcoal);
  border-radius: 16px;
  background: var(--black-rich);
  position: relative;
  overflow: hidden;
}

.vendor-cta-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.vendor-cta-inner h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
}

.vendor-cta-inner p {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--grey-light);
  line-height: 1.7;
  margin-bottom: 28px;
  font-weight: 300;
}

/* ── Note ── */
.vendor-note {
  text-align: center;
  padding: 60px 24px 80px;
  background: var(--black);
}

.vendor-note p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--grey);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Responsive ── */
@media (width <= 992px) {
  .vendors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .vendors-grid .vendor-card:nth-last-child(1):nth-child(3n + 1) {
    grid-column: auto;
  }

  .vendors-grid .vendor-card:nth-last-child(1):nth-child(2n + 1) {
    grid-column: 1 / -1;
    max-width: 380px;
    margin: 0 auto;
  }
}

@media (width <= 768px) {
  .page-hero {
    min-height: 38vh;
    padding: 140px 20px 60px;
  }

  .vendors-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 50px;
  }

  .vendors-grid .vendor-card:nth-last-child(1):nth-child(2n + 1) {
    grid-column: auto;
    max-width: none;
  }

  .vendor-card {
    padding: 36px 24px 32px;
  }

  .listing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .listing-group-header .ornament-line {
    max-width: 40px;
  }

  .vendor-cta-inner {
    padding: 36px 24px;
  }
}
