/* -------------------------------------------------
   style.css – shared stylesheet for all pages
   ------------------------------------------------- */

/* ---- Brand colours ------------------------------------------------- */
:root {
  --bs-primary: #0d6efd;          /* you can change this to any colour you like */
  --accent: #ff6b6b;              /* CTA / accent colour */
}

/* ---- Global ------------------------------------------------- */
body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ---- Hero section ------------------------------------------------- */
.hero {
  min-height: 85vh;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);   /* dark overlay for readability */
}
.hero > .container {
  position: relative;
  z-index: 1;
}

/* ---- Video cards ------------------------------------------------- */
.video-card {
  transition: transform .2s ease, box-shadow .2s ease;
}
.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
}
.video-card img {
  object-fit: cover;
  height: 180px;
}

/* ---- Dark‑mode overrides ------------------------------------------------- */
[data-bs-theme="dark"] {
  --bs-body-bg: #121212;
  --bs-body-color: #e0e0e0;
}
[data-bs-theme="dark"] .bg-primary,
[data-bs-theme="dark"] .navbar,
[data-bs-theme="dark"] footer {
  background: #1f1f1f !important;
}
[data-bs-theme="dark"] .card,
[data-bs-theme="dark"] .form-control,
[data-bs-theme="dark"] .form-select {
  background: #1e1e1e;
  border-color: #333;
}

/* ---- Scroll‑to‑top button ------------------------------------------------- */
#scrollTopBtn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  display: none;               /* shown by script.js */
  align-items: center;
  justify-content: center;
  z-index: 1050;
}

/* ---- Small utilities ------------------------------------------------- */
.text-primary { color: var(--bs-primary) !important; }
.btn-accent { background-color: var(--accent); color:#fff; border:none; }
.btn-accent:hover { background-color: #e05555; }

/* -------------------------------------------------
   Responsive tweaks (optional)
   ------------------------------------------------- */
@media (max-width: 576px) {
  .hero h1 { font-size: 2.2rem; }
}