:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --surface: #ffffff;
  --surface-muted: #f1f5f9;
  --text: #0f172a;
  --muted: #475569;
  --primary: #0f766e;
  --primary-dark: #0b5d57;
  --accent: #f97316;
  --border: #e2e8f0;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #ffffff 0%, var(--bg) 50%, #eef2ff 100%);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--primary-dark);
  text-decoration: underline;
}

.navbar-custom {
  background: rgba(15, 17, 21, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.18);
  font-size: 16px;
  letter-spacing: 0.2px;
  position: relative;
  z-index: 1050;
}

.navbar-custom .navbar-brand img {
  width: 120px;
  height: auto;
}

.navbar-custom .navbar-nav .nav-link {
  color: #e2e8f0;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.navbar-custom .navbar-nav .nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.navbar-custom .navbar-nav .nav-item.active .nav-link {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.14);
}

.navbar-custom .dropdown-menu {
  z-index: 1060;
}

.carousel {
  z-index: 1;
}

.carousel-caption h3 {
  background-color: rgba(15, 23, 42, 0.6);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  display: inline-block;
  font-weight: 600;
  box-shadow: var(--shadow-soft);
}

.listing-section {
  padding: 3rem 1.5rem 1rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--muted);
  margin-bottom: 2rem;
}

.listing-card {
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.listing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.listing-card img {
  height: 220px;
  object-fit: cover;
  width: 100%;
}

.listing-card .card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.listing-card .card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

.listing-card .card-text {
  color: var(--muted);
  margin: 0;
}

.listing-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(249, 115, 22, 0.12);
  color: var(--accent);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 26px rgba(15, 118, 110, 0.3);
}

.featurette {
  align-items: center;
  padding: 1.5rem 0;
}

.featurette-heading {
  font-weight: 700;
  font-size: 1.8rem;
}

.featurette .lead {
  color: var(--muted);
}

.featurette-image {
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
}

.featurette-divider {
  border-top: 1px solid var(--border);
}

.site-footer {
  padding: 2.5rem 1rem 1rem;
  color: var(--muted);
}

.site-footer a {
  color: inherit;
}

.site-footer img {
  filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.12));
}

.footer-bar {
  color: var(--muted);
  font-size: 0.95rem;
}

masthead {
  background-image: url("./static/img/mastbg.jpg");
  background-color: #cccccc;
}