/* Buttons */
.bf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: var(--bf-radius);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.2;
  transition: background-color 150ms, color 150ms, opacity 150ms, transform 150ms;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
}
.bf-btn--lg { padding: 0.9rem 1.5rem; font-size: 1rem; }
.bf-btn--block { width: 100%; }
.bf-btn--primary  { background: var(--bf-accent); color: #fff; }
.bf-btn--primary:hover { background: #d8a3b1; color: #fff; }
.bf-btn--secondary { background: var(--bf-primary); color: var(--bf-primary-fg); }
.bf-btn--secondary:hover { background: #efc6d2; color: var(--bf-primary-fg); }
.bf-btn--outline {
  background: transparent;
  border-color: var(--bf-accent);
  color: var(--bf-accent-fg);
}
.bf-btn--outline:hover { background: rgba(230, 184, 195, 0.12); color: var(--bf-accent-fg); }
.bf-btn--ghost-light {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.7);
  backdrop-filter: blur(6px);
}
.bf-btn--ghost-light:hover { background: rgba(255,255,255,0.22); color: #fff; }

/* Card */
.bf-card {
  background: var(--bf-card);
  border-radius: var(--bf-radius-2xl);
  border: 1px solid var(--bf-border);
  overflow: hidden;
  box-shadow: var(--bf-shadow-sm);
  transition: box-shadow 200ms ease, transform 200ms ease;
  display: flex;
  flex-direction: column;
}
.bf-card:hover { box-shadow: var(--bf-shadow-lg); }
.bf-card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.bf-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms ease; }
.bf-card:hover .bf-card__media img { transform: scale(1.05); }
.bf-card__body { padding: 1.5rem; }
.bf-card__title { font-size: 1.125rem; margin-bottom: 0.5rem; }
.bf-card__desc { color: var(--bf-muted-fg); font-size: 0.9rem; margin-bottom: 1rem; }
.bf-card__meta { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }
.bf-card__meta-label { font-size: 0.8rem; color: var(--bf-muted-fg); margin: 0; }
.bf-card__price { font-size: 1.125rem; color: var(--bf-accent-fg); margin: 0; }
.bf-card__duration { color: var(--bf-muted-fg); font-size: 0.85rem; }

/* Hero slideshow */
.bf-slideshow {
  position: relative;
  height: 85vh;
  min-height: 36rem;
  overflow: hidden;
  background: #2d2d2d;
}
.bf-slideshow__track { position: absolute; inset: 0; }
.bf-slideshow__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transform: translateX(60px);
  transition: opacity 850ms cubic-bezier(0.4, 0, 0.2, 1), transform 850ms cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.bf-slideshow__slide.is-active {
  opacity: 1; transform: translateX(0);
  pointer-events: auto;
}
.bf-slideshow__slide.is-leaving {
  opacity: 0; transform: translateX(-60px);
}
.bf-slideshow__image {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.bf-slideshow__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(0,0,0,0.55), rgba(0,0,0,0.30) 60%, transparent),
    linear-gradient(to top, rgba(0,0,0,0.40), transparent 50%);
  pointer-events: none;
}
.bf-slideshow__content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center;
}
.bf-slideshow__content-inner {
  width: 100%; max-width: var(--bf-content);
  margin-inline: auto;
  padding-inline: 1.5rem;
  color: #fff;
}
@media (min-width: 1024px) { .bf-slideshow__content-inner { padding-inline: 3rem; } }
.bf-slideshow__caption { max-width: 36rem; }
.bf-slideshow__tag {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(255,255,255,0.4);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(6px);
  border-radius: var(--bf-radius-full);
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.9);
}
.bf-slideshow__title {
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  letter-spacing: 0.04em;
  white-space: pre-line;
  margin-bottom: 1rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.45);
  line-height: 1.3;
}
.bf-slideshow__description {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.35);
  white-space: pre-line;
}
@media (min-width: 640px) { .bf-slideshow__description { font-size: 1.125rem; } }
.bf-slideshow__ctas { display: flex; flex-direction: column; gap: 0.75rem; }
@media (min-width: 640px) { .bf-slideshow__ctas { flex-direction: row; gap: 1rem; } }

.bf-slideshow__arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 2.5rem; height: 2.5rem;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--bf-radius-full);
  background: rgba(255,255,255,0.2);
  color: #fff;
  backdrop-filter: blur(6px);
  transition: background-color 150ms;
}
.bf-slideshow__arrow:hover { background: rgba(255,255,255,0.35); }
.bf-slideshow__arrow--prev { left: 1.5rem; }
.bf-slideshow__arrow--next { right: 1.5rem; }
@media (max-width: 640px) {
  .bf-slideshow__arrow { top: auto; bottom: 3.5rem; transform: none; }
  .bf-slideshow__arrow--prev { left: 1rem; }
  .bf-slideshow__arrow--next { right: 1rem; }
}

.bf-slideshow__dots {
  position: absolute;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; gap: 0.5rem;
}
.bf-slideshow__dot {
  width: 0.625rem; height: 0.625rem;
  border-radius: var(--bf-radius-full);
  background: rgba(255,255,255,0.45);
  transition: width 250ms ease, background-color 250ms ease;
}
.bf-slideshow__dot:hover { background: rgba(255,255,255,0.7); }
.bf-slideshow__dot.is-active { width: 2rem; background: #fff; }

.bf-slideshow__counter {
  position: absolute;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 3;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  font-variant-numeric: tabular-nums;
}

/* Forms (search) */
.bf-input {
  display: block;
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--bf-border);
  background: var(--bf-input-bg);
  border-radius: var(--bf-radius);
  font: inherit;
  color: inherit;
  transition: border-color 150ms, box-shadow 150ms;
}
.bf-input:focus {
  outline: none; border-color: var(--bf-accent);
  box-shadow: 0 0 0 3px rgba(230, 184, 195, 0.25);
}

/* Pill / badge */
.bf-pill {
  display: inline-block;
  border-radius: var(--bf-radius-full);
  background: rgba(244, 212, 220, 0.5);
  color: var(--bf-accent-fg);
  font-size: 0.75rem;
  padding: 0.2rem 0.7rem;
  margin-left: 0.5rem;
}
.bf-pill--note { background: rgba(244, 212, 220, 0.7); color: var(--bf-primary-fg); }

/* Decorative gradient panels */
.bf-panel-soft {
  background: linear-gradient(135deg, rgba(244,212,220,0.6), rgba(230,184,195,0.4));
  border-radius: var(--bf-radius-2xl);
  padding: 2.5rem;
  color: var(--bf-primary-fg);
}
.bf-panel-soft h3 { color: var(--bf-primary-fg); }

/* CTA panel */
.bf-cta-panel {
  background: linear-gradient(135deg, var(--bf-primary), rgba(230,184,195,0.55), var(--bf-primary));
  border-radius: 1.75rem;
  padding: 3rem 1.5rem;
  text-align: center;
  color: var(--bf-primary-fg);
  box-shadow: var(--bf-shadow-lg);
}
.bf-cta-panel h2 { color: var(--bf-primary-fg); }
.bf-cta-panel p { color: rgba(93, 78, 81, 0.85); }
