/**
 * Banjara Vivaah — Phase 1 visual identity
 * Overrides template pink; works with Active Matrimonial / AIZ theme.
 */

:root {
  --bv-primary: #8b123b;
  --bv-primary-hover: #6e0e2f;
  --bv-accent-gold: #d4a24c;
  --bv-surface: #f8f4ef;
  --bv-surface-raised: #ffffff;
  --bv-text: #2c1810;
  --bv-text-muted: #5c4a42;
  --bv-trust: #1b6b4a;
  --bv-border: #e8ddd4;
  --bv-radius: 12px;
  --bv-shadow: 0 4px 24px rgba(44, 24, 16, 0.08);

  --primary: #8b123b !important;
  --hov-primary: #6e0e2f !important;
  --soft-primary: rgba(139, 21, 56, 0.12) !important;
  --secondary: #c9a227 !important;
  --soft-secondary: rgba(201, 162, 39, 0.15) !important;
}

/* Typography */
body {
  font-family: "Noto Sans", "Noto Sans Devanagari", system-ui, sans-serif !important;
  color: var(--bv-text-muted) !important;
  background-color: var(--bv-surface);
}

h1,
h2,
h3,
h4,
.bv-hero-title,
.home-slider-text h1 {
  font-family: "Playfair Display", "Noto Serif Devanagari", Georgia, serif !important;
  color: var(--bv-text) !important;
}

.home-slider-text h1 font[color],
.home-slider-text h1 span[style*="fd2c79"],
.text-primary-grad {
  color: var(--bv-primary) !important;
  -webkit-text-fill-color: var(--bv-primary) !important;
  background: none !important;
}

/* Solid brand buttons (no pink gradient) */
.btn-primary,
.bg-primary-grad,
.round-btn.btn-primary {
  background: var(--bv-primary) !important;
  border-color: var(--bv-primary) !important;
  background-image: none !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--bv-primary-hover) !important;
  border-color: var(--bv-primary-hover) !important;
}

.btn-outline-primary {
  color: var(--bv-primary) !important;
  border-color: var(--bv-primary) !important;
}

.btn-outline-primary:hover {
  background: var(--bv-primary) !important;
  color: #fff !important;
}

.text-primary {
  color: var(--bv-primary) !important;
}

a {
  color: var(--bv-primary);
}

a:hover {
  color: var(--bv-primary-hover);
}

/* Hero */
.home-slider-area {
  min-height: 85vh !important;
}

.home-slider-area::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    105deg,
    rgba(253, 248, 243, 0.94) 0%,
    rgba(253, 248, 243, 0.82) 45%,
    rgba(139, 21, 56, 0.12) 100%
  );
  pointer-events: none;
}

.home-slider-area .container {
  position: relative;
  z-index: 2;
}

.home-slider-text {
  max-width: 36rem;
}

.bv-hero-lead {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--bv-text-muted);
  margin-bottom: 1.25rem;
}

/* Trust bar */
.bv-trust-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  margin-bottom: 1.5rem;
}

.bv-trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--bv-text);
  background: var(--bv-surface-raised);
  border: 1px solid var(--bv-border);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  box-shadow: var(--bv-shadow);
}

.bv-trust-chip i {
  color: var(--bv-trust);
  font-size: 1.1rem;
}

/* Simplified registration CTA (hide animated border gimmick) */
.animated-btn .border-anim,
.animated-btn .svg-container {
  display: none !important;
}

.bv-hero-cta {
  border-radius: 8px !important;
  padding: 0.85rem 1.5rem !important;
  font-weight: 600 !important;
  min-height: 48px;
  box-shadow: var(--bv-shadow);
}

.bv-hero-cta .big-title {
  font-size: 1.125rem;
  font-family: "Noto Sans", sans-serif !important;
}

.bv-hero-cta .sub-title {
  font-size: 0.875rem;
  opacity: 0.9;
  font-family: "Noto Sans", sans-serif !important;
}

.custom-shadow-card {
  border-radius: var(--bv-radius) !important;
  box-shadow: var(--bv-shadow) !important;
  border: 1px solid var(--bv-border) !important;
}

/* Sections */
.section-title h2 {
  font-family: "Playfair Display", "Noto Serif Devanagari", Georgia, serif !important;
}

.bg-white {
  background-color: var(--bv-surface-raised) !important;
}

/* Package cards on home */
.bv-package-grid .card-body {
  border-radius: var(--bv-radius);
  border: 1px solid var(--bv-border);
  box-shadow: var(--bv-shadow);
}

.bv-package-featured {
  border: 2px solid var(--bv-accent-gold) !important;
}

.bv-package-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--bv-text);
  background: rgba(201, 162, 39, 0.2);
  border-radius: 4px;
  padding: 0.2rem 0.5rem;
  margin-bottom: 0.5rem;
}

/* Header polish */
.top-navbar,
header {
  background: var(--bv-surface-raised) !important;
  border-bottom: 1px solid var(--bv-border);
}

/* How it works */
.border.p-3.mb-3 {
  border-color: var(--bv-border) !important;
  border-radius: var(--bv-radius) !important;
  background: var(--bv-surface-raised);
}

/* Reduced motion */
/* Phase 3 — SEO internal links */
.bv-seo-links {
  background: var(--bv-surface);
  border-top: 1px solid var(--bv-border);
}

.bv-seo-links .btn-outline-primary {
  border-color: var(--bv-primary);
  color: var(--bv-primary);
}

/* Phase 2 — community search, FAQ, language */
.bv-community-search {
  background: var(--bv-surface);
  border-top: 1px solid var(--bv-border);
}

.bv-community-search-card {
  border-radius: var(--bv-radius) !important;
  box-shadow: var(--bv-shadow) !important;
  border: 1px solid var(--bv-border) !important;
}

.bv-lang-switch .btn-link {
  text-decoration: none;
}

.bv-faq-teaser {
  background: var(--bv-surface-raised);
  border-top: 1px solid var(--bv-border);
}

.bv-faq-item {
  border: 1px solid var(--bv-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.5rem;
  background: var(--bv-surface);
}

.bv-faq-item summary {
  font-weight: 600;
  color: var(--bv-text);
  cursor: pointer;
}

.bv-faq-teaser .bv-faq,
.page-content .bv-faq h3 {
  font-family: "Playfair Display", "Noto Serif Devanagari", Georgia, serif;
  color: var(--bv-primary);
  font-size: 1.125rem;
  margin-top: 1.5rem;
}

html[lang="hi"] body,
html[lang="hi"] .home-slider-text {
  font-family: "Noto Sans Devanagari", "Noto Sans", sans-serif !important;
}

@media (prefers-reduced-motion: reduce) {
  .aiz-carousel[data-autoplay="true"] {
    /* autoplay handled in blade data attribute */
  }

  .animated-btn,
  .border-anim {
    animation: none !important;
  }
}
