/* =====================
   THEME VARIABLES
===================== */

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;

  --primary: #3cb371; /* soft green */
  --primary-soft: #e6f4ec;

  --nav-bg: #ffffff;
  --footer-bg: #111827;

  --card-shadow: 0 10px 25px rgba(0,0,0,.05);
}

/* =====================
   BASE
===================== */

body {
  font-family: "Inter", "Prompt", system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  transition: background .3s, color .3s;
}

/* =====================
   NAVBAR
===================== */

.navbar {
  background: var(--nav-bg) !important;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: .3px;
}

.nav-link {
  font-weight: 500;
  color: var(--text) !important;
}

.nav-link.active {
  color: var(--primary) !important;
}

/* =====================
   HERO
===================== */

.hero {
  background: linear-gradient(
    135deg,
    var(--primary),
    #6ee7b7
  );
  color: #022c22;
  padding: 4rem 1rem;
  border-radius: 18px;
}

[data-theme="dark"] .hero {
  color: #ecfdf5;
}

/* =====================
   CARDS
===================== */

.card {
  background: var(--surface);
  border: none;
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card img {
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

/* =====================
   FOOTER
===================== */

footer {
  background: var(--footer-bg);
  color: var(--muted);
}

footer a {
  color: #c7d2fe;
  text-decoration: none;
}

footer a:hover {
  color: white;
}

/* =====================
   ADMIN
===================== */

.admin-sidebar {
  min-height: 100vh;
  background: #020617;
}

.admin-sidebar a {
  color: #cbd5f5;
  padding: 12px 16px;
  display: block;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
  background: #1e293b;
  color: white;
}

.admin-header {
  background: var(--surface);
  border-bottom: 1px solid #1e293b;
}

/* =====================
   HERO IMAGE
===================== */

.hero-banner {
  width: 100%;
  overflow: hidden;
}

.hero-img {
  width: 90%;
  height: auto;
  object-fit: scale-down;
}

/* =====================
   MOBILE
===================== */

@media (max-width: 768px) {
  .hero-img {
    height: 220px;
  }
}
