/* Bhakti House brand layer.
   The single consolidated replacement for the old site's 2,700-line style.css:
   every gold-pill button variant is .btn-brand*, every card recipe is .card-brand*,
   every gradient icon badge is .icon-circle*. Prefer Bootstrap utilities first;
   reach for these classes second; write page-scoped .razor.css only for what is
   genuinely unique to one page. */

/* ================= Base ================= */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--surface-page);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
}

/* Accessible focus: the old site removed every outline; instead show a gold
   ring only for keyboard focus. */
:focus {
  outline: none;
}

:focus-visible {
  outline: 3px solid var(--brand-accent);
  outline-offset: 2px;
}

/* Anchored sections need room under the sticky navbar */
.anchor-offset {
  scroll-margin-top: 120px;
}

/* ================= Typography ================= */

.font-display {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
}

/* Big display title (hero + framed page banners) */
.display-title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  color: var(--text-heading);
  font-size: 2.2rem;
  line-height: var(--lh-tight);
}

.lead-text {
  font-family: var(--font-body);
  color: var(--text-heading);
  font-size: 1rem;
}

@media (min-width: 768px) {
  .display-title { font-size: 2.8rem; }
  .lead-text { font-size: 1.1rem; }
}

@media (min-width: 992px) {
  .display-title { font-size: 3.5rem; }
  .lead-text { font-size: 1.2rem; }
}

/* Section heading with the signature gold underline bar.
   Centered on mobile, left-aligned from tablet up; add .heading-centered to
   keep it centered at every width. */
.section-heading {
  font-size: 2.5rem;
  font-weight: var(--fw-bold);
  margin-bottom: 1.5rem;
  line-height: var(--lh-tight);
  color: var(--text-heading);
  text-align: center;
  position: relative;
  padding-bottom: 1rem;
}

.section-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 4px;
  background: var(--brand-accent);
  border-radius: 2px;
}

@media (min-width: 768px) {
  .section-heading {
    font-size: 2.8rem;
    text-align: left;
    margin-bottom: 2rem;
  }

  .section-heading::after {
    left: 0;
    transform: translateX(0);
  }

  .section-heading.heading-centered {
    text-align: center;
  }

  .section-heading.heading-centered::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (min-width: 992px) {
  .section-heading {
    font-size: 2.6rem;
    margin-bottom: 2.5rem;
  }

  .section-heading::after {
    width: 120px;
    height: 5px;
  }
}

/* Long-form description copy that sits beside images */
.section-description {
  line-height: var(--lh-body);
  color: var(--ink-600);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

@media (min-width: 768px) {
  .section-description { font-size: 1.2rem; margin-bottom: 2.5rem; }
}

@media (min-width: 992px) {
  .section-description { font-size: 1.3rem; margin-bottom: 3rem; }
}

/* ================= Page bands ================= */

/* Alternating content bands: default cream, .band-alt off-white, .band-well beige */
.band {
  background: var(--surface-page);
  position: relative;
  border-top: 3px solid var(--line-purple);
  border-bottom: 3px solid var(--line-purple);
  padding: var(--section-pad-y) 0;
}

.band-alt {
  background: var(--surface-page-alt);
}

.band-well {
  background: var(--surface-well);
  border-top: 2px solid var(--line-gold);
  border-bottom: 2px solid var(--line-gold);
}

.band-flush {
  border-top: none;
  border-bottom: none;
}

@media (min-width: 992px) {
  .band { padding: var(--section-pad-y-lg) 0; }
}

/* Bright gold divider bar between major bands */
.section-divider {
  background: var(--brand-accent);
  box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1), 0 4px 8px rgba(0, 0, 0, 0.1);
  min-height: 15px;
}

/* Tan page-header band (all inner pages) */
.page-header {
  background: var(--surface-hero);
  padding: 3rem 0 2rem 0;
  text-align: center;
}

.page-header .page-title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  color: var(--text-heading);
  font-size: 2.5rem;
  line-height: var(--lh-tight);
  margin: 0;
}

@media (min-width: 768px) {
  .page-header { padding: 4rem 0 3rem 0; }
  .page-header .page-title { font-size: 3rem; }
}

@media (min-width: 992px) {
  .page-header { padding: 5rem 0 4rem 0; }
  .page-header .page-title { font-size: 3.5rem; }
}

/* ================= Buttons ================= */

/* Gold gradient pill — the brand's primary action. Inverts to purple on hover. */
.btn-brand {
  display: inline-block;
  background: var(--grad-gold);
  color: var(--brand-primary-strong);
  text-decoration: none;
  border: 2px solid transparent;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wide);
  transition: var(--transition-base);
}

.btn-brand:hover {
  background: var(--brand-primary-strong);
  color: var(--brand-accent);
  transform: var(--lift-hover);
  box-shadow: var(--shadow-purple);
}

.btn-brand-lg {
  padding: 1rem 2rem;
  font-weight: var(--fw-bold);
  font-size: 1.1rem;
  text-transform: uppercase;
}

.btn-brand-sm {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Purple gradient pill — secondary dark action */
.btn-brand-dark {
  display: inline-block;
  background: var(--grad-purple);
  color: var(--on-dark);
  text-decoration: none;
  border: none;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius-pill);
  font-weight: var(--fw-semibold);
  transition: var(--transition-base);
  box-shadow: 0 4px 15px rgba(41, 8, 73, 0.3);
}

.btn-brand-dark:hover {
  color: var(--on-dark);
  transform: var(--lift-hover);
  box-shadow: 0 6px 20px rgba(41, 8, 73, 0.4);
}

/* Outline pill — inverse secondary (on light surfaces) */
.btn-brand-outline {
  display: inline-flex;
  align-items: center;
  background: none;
  border: 2px solid var(--brand-accent);
  color: var(--brand-accent);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: var(--fw-semibold);
  text-decoration: none;
  letter-spacing: var(--ls-wide);
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
}

.btn-brand-outline:hover {
  background: var(--brand-accent);
  color: var(--brand-primary-strong);
  transform: translateY(-1px);
}

/* Dark outline pill (CTA secondary) */
.btn-brand-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--brand-primary-strong);
  border: 2px solid var(--brand-primary-strong);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: var(--fw-semibold);
  text-decoration: none;
  transition: var(--transition-base);
}

.btn-brand-outline-dark:hover {
  background: var(--brand-primary-strong);
  color: var(--on-dark);
  transform: var(--lift-hover);
}

/* Borderless gold text link that slides and reveals an arrow on hover */
.btn-link-arrow {
  background: none;
  border: none;
  color: var(--brand-accent);
  padding: 0;
  font-size: 1.1rem;
  font-weight: var(--fw-semibold);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  letter-spacing: var(--ls-wide);
  transition: var(--transition-base);
}

.btn-link-arrow::after {
  content: '→';
  margin-left: 0.5rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition-base);
}

.btn-link-arrow:hover {
  color: var(--brand-accent-bright);
  transform: translateX(5px);
}

.btn-link-arrow:hover::after {
  opacity: 1;
  transform: translateX(0);
}

@media (min-width: 768px) {
  .btn-link-arrow { font-size: 1.2rem; padding-right: 2.5rem; }
}

/* Gold icon/text utility */
.text-gold {
  color: var(--brand-accent);
}

/* Gold inline text link (used on dark and light surfaces) */
.gold-link {
  color: var(--brand-accent);
  text-decoration: none;
  font-weight: var(--fw-semibold);
  transition: color var(--dur-fast) ease;
}

.gold-link:hover {
  color: var(--brand-accent);
  text-decoration: underline;
}

/* Social-colored pill buttons and icon fills */
.btn-social {
  display: inline-block;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: var(--fw-semibold);
  font-size: 0.9rem;
  transition: var(--transition-base);
  color: white;
}

.btn-social:hover {
  transform: var(--lift-hover);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: white;
}

.bg-whatsapp { background: var(--social-whatsapp); }
.bg-facebook { background: var(--social-facebook); }
.bg-youtube  { background: var(--social-youtube); }
.bg-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* ================= Cards ================= */

/* The one brand card recipe: warm-white surface, rounded, soft shadow, lift on
   hover. Modifiers change surface/border; Bootstrap utilities handle padding
   beyond the default. */
.card-brand {
  background: var(--surface-card);
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--line-neutral);
  transition: var(--transition-base);
  height: 100%;
}

.card-brand:hover {
  transform: var(--lift-card);
  box-shadow: var(--shadow-card-hover);
}

/* Gold top border (service/schedule/preparation recipe) */
.card-brand-topline {
  background: white;
  border: none;
  border-top: 4px solid var(--brand-accent);
  text-align: center;
}

/* Hairline sand border that turns gold on hover (connect/hours recipe) */
.card-brand-outline {
  border: var(--border-card);
  border-radius: var(--radius-2xl);
}

.card-brand-outline:hover {
  border-color: var(--brand-accent);
}

/* Beige gradient well (schedule list recipe) — hover recolors, no lift */
.card-brand-well {
  background: linear-gradient(135deg, var(--cream-200), var(--cream-50));
  border: 2px solid var(--line-neutral);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.card-brand-well:hover {
  transform: none;
  border-color: var(--brand-accent);
  box-shadow: 0 8px 25px rgba(255, 213, 36, 0.2);
}

/* Dark purple gradient info card with gold headings */
.card-brand-dark {
  background: var(--grad-purple);
  color: white;
  border: none;
  box-shadow: var(--shadow-purple);
}

.card-brand-dark:hover {
  transform: none;
  box-shadow: var(--shadow-purple);
}

.card-brand-dark .card-brand-title {
  color: var(--brand-accent);
}

.card-brand-dark p,
.card-brand-dark .info-text {
  color: var(--on-dark-muted);
}

/* Framed feature card (getting-started recipe) */
.card-brand-feature {
  background: linear-gradient(135deg, var(--cream-200), var(--cream-100));
  border: 3px solid var(--brand-accent);
  border-radius: var(--radius-3xl);
  padding: 3rem 2rem;
}

.card-brand-feature:hover {
  transform: none;
  box-shadow: var(--shadow-card);
}

/* Shared card internals */
.card-brand-title {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  color: var(--text-heading);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.card-brand-text {
  color: var(--text-muted);
  line-height: var(--lh-ui);
}

/* ================= Icon circle ================= */

.icon-circle {
  width: 60px;
  height: 60px;
  background: var(--grad-gold);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--brand-primary-strong);
  flex-shrink: 0;
}

.icon-circle-sm {
  width: 50px;
  height: 50px;
  font-size: 1.25rem;
}

.icon-circle-lg {
  width: 80px;
  height: 80px;
  font-size: 2rem;
}

/* ================= Images ================= */

/* Signature "warm frame": thick gold border on the right + bottom only */
.warm-frame {
  width: 100%;
  min-height: 300px;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  border-right: 8px solid var(--brand-accent-bright);
  border-bottom: 8px solid var(--brand-accent-bright);
  transition: transform var(--dur-fast) ease;
}

.warm-frame:hover {
  transform: scale(1.02);
}

.warm-frame-gold {
  border-right-color: var(--brand-accent);
  border-bottom-color: var(--brand-accent);
  border-right-width: 10px;
  border-bottom-width: 10px;
}

/* Image well the frame sits in (also the loading background) */
.image-well {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  background-color: var(--surface-well);
  min-height: 300px;
}

@media (min-width: 768px) {
  .image-well, .warm-frame { min-height: 350px; }
}

@media (min-width: 992px) {
  .image-well, .warm-frame { min-height: 400px; }
}

/* Fully framed featured image (6px gold border all round) */
.featured-frame {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 6px solid var(--brand-accent);
  box-shadow: var(--shadow-card-hover);
  transition: var(--transition-base);
}

.featured-frame:hover {
  transform: var(--lift-card);
  border-color: var(--brand-accent-bright);
}

.featured-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Plain rounded photo with soft shadow (no gold frame) */
.photo-soft {
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 25px rgba(41, 8, 73, 0.2);
  transition: transform var(--dur-fast) ease;
}

.photo-soft:hover {
  transform: scale(1.02);
}

/* ================= Callout ================= */

/* Left gold accent box over a faint gold tint */
.callout {
  background: rgba(236, 182, 2, 0.1);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--brand-accent);
}

.callout-item {
  display: flex;
  align-items: center;
  color: var(--text-heading);
  font-weight: var(--fw-medium);
}

.callout-item i {
  color: var(--brand-accent);
  width: 24px;
  font-size: 1.1rem;
}

/* ================= Schedule ================= */

.schedule-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line-neutral);
}

.schedule-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.schedule-item .time {
  font-weight: var(--fw-semibold);
  color: var(--brand-primary);
  font-size: var(--text-sm);
  min-width: 120px;
  flex-shrink: 0;
}

.schedule-item .activity {
  color: var(--text-heading);
  font-size: var(--text-sm);
  flex: 1;
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .schedule-item {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .schedule-item .activity {
    margin-left: 1rem;
    margin-top: 0;
  }
}

/* Gold time pill used on centered schedule cards */
.schedule-time-pill {
  background: var(--grad-gold);
  color: var(--brand-primary-strong);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: var(--fw-semibold);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* ================= Mantra ticker ================= */

.mantra-ticker {
  position: absolute;
  left: 0;
  right: 0;
  font-size: 0.7rem;
  color: var(--brand-accent);
  text-shadow: 0 0 1px rgba(41, 8, 73, 0.3);
  white-space: nowrap;
  z-index: 0;
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-mantra);
  font-family: var(--font-body);
  width: 200%;
  pointer-events: none;
}

.mantra-ticker-top {
  top: 10px;
  animation: mantra-scroll-left 60s linear infinite;
}

.mantra-ticker-bottom {
  bottom: 10px;
  animation: mantra-scroll-right 60s linear infinite;
}

@keyframes mantra-scroll-right {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes mantra-scroll-left {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .mantra-ticker { animation: none; }
}
