/* =========================================================
   🎨 DESIGN SYSTEM (based on theme.scss / Bootstrap vars)
========================================================= */

/* Optional semantic aliases */
:root {
  --fm-primary: var(--bs-primary);
  --fm-secondary: var(--bs-secondary);
  --fm-bg-soft: #faf7f8;
}

/* =========================================================
   🧱 LAYOUT SYSTEM
========================================================= */

.content-block {
  padding: 3rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-tight {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.alt-background {
  background-color: var(--fm-bg-soft);
  border-top: 1px solid var(--bs-border-color);
  border-bottom: 1px solid var(--bs-border-color);
}

body.quarto-dark .alt-background {
  background-color: #2a1f23;
}

/* =========================================================
   🚀 HERO COMPONENT
========================================================= */

.hero-banner {
  padding: 5rem 2rem;
  background: var(--fm-bg-soft);
}

body.quarto-dark .hero-banner {
  background: #2a1f23;
}

.hero-banner .content-block {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.hero-text {
  max-width: 650px;
}

.hero-text h1 {
  font-size: 2.5rem;
  color: var(--bs-primary);
  font-weight: 700;
}

.hero-text h3 {
  opacity: 0.9;
  font-weight: 400;
}

.hero-text ul {
  padding-left: 1.2rem;
}

.hero-text li {
  margin-bottom: 0.4rem;
}

/* Hero media */
.hero-media {
  max-width: 380px;
}

.hero-media img,
.hero-media video {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-banner .content-block {
    flex-direction: column;
    text-align: center;
  }

  .hero-media {
    display: none;
  }
}

/* =========================================================
   🔘 BUTTON SYSTEM
========================================================= */

.btn-action {
  min-width: 165px;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 600;
  transition: all 0.2s ease;
}

/* Primary */
.btn-action-primary {
  background-color: var(--bs-primary);
  color: #fff;
  border: none;
}

.btn-action-primary:hover {
  background-color: var(--bs-primary);
  filter: brightness(0.9);
}

/* Secondary (outline) */
.btn-action-secondary {
  background: transparent;
  color: var(--bs-primary);
  border: 1px solid var(--bs-primary);
}

.btn-action-secondary:hover {
  background-color: rgba(211, 0, 63, 0.08);
}

/* Accent (teal) */
.btn-action-accent {
  background-color: #007A8A;
  color: #fff;
  border: none;
}

.btn-action-accent:hover {
  background-color: #005F6B;
}

/* =========================================================
   ⭐ FEATURE CARDS
========================================================= */

.features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.feature {
  flex: 1 1 260px;
  padding: 1.2rem;
  border-radius: 12px;
  border: 1px solid var(--bs-border-color);
  background: #fff;
  transition: all 0.2s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

body.quarto-dark .feature {
  background: #222233;
}

.feature h3 {
  color: var(--bs-primary);
  font-size: 1.1rem;
  margin-top: 0;
}

.feature p {
  color: var(--bs-secondary-color);
}

/* =========================================================
   🧭 NAV / TABS
========================================================= */

.nav-pills .nav-link.active {
  background-color: var(--bs-primary);
  color: #fff;
}

.nav-pills .nav-link {
  color: var(--bs-body-color);
}

/* =========================================================
   📢 ANNOUNCEMENT BAR
========================================================= */

#quarto-announcement {
  background-color: var(--bs-primary);
  color: white;
  text-align: center;
  font-size: 0.9rem;
  padding: 0.5rem;
}

#quarto-announcement a {
  color: white;
  text-decoration: underline;
}

/* =========================================================
   📦 UTILITIES
========================================================= */

.text-muted {
  color: var(--bs-secondary-color) !important;
}

.section-title {
  color: var(--bs-secondary);
}

.center {
  text-align: center;
}

.mt-lg {
  margin-top: 3rem;
}

.mb-lg {
  margin-bottom: 3rem;
}

/* =========================================================
   🦶 FOOTER
========================================================= */

footer {
  font-size: 0.9rem;
  color: var(--bs-secondary-color);
}