/* ============================================================
   Landing page — CAMA Property Assessment System
   ============================================================ */

html, body { height: 100%; display: flex; flex-direction: column; }

body {
  background-image: url('../assets/philadelphia.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* Dark overlay sitting between the photo and the page content */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.52);
  z-index: 0;
  pointer-events: none;
}

/* Lift all direct children above the overlay */
body > * { position: relative; z-index: 1; }

.hero {
  background: transparent;
  color: white;
  padding: 4rem 2rem 3rem;
  text-align: center;
  flex-shrink: 0;
}

.hero-seal {
  width: 80px;
  height: 80px;
  background: var(--phila-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  color: var(--phila-dark-blue);
  margin: 0 auto 1.25rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  letter-spacing: 1px;
}

.hero h1 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.hero p {
  font-size: 15px;
  opacity: 0.82;
  max-width: 520px;
  margin: 0 auto 0.5rem;
}

.hero-sub {
  font-size: 12px;
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.portal-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 3rem 2rem;
  flex-wrap: wrap;
  flex: 1;
  align-items: center;
}

.portal-card {
  display: flex;
  flex-direction: column;
  width: 300px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.13);
  overflow: hidden;
  text-decoration: none;
  color: var(--phila-text);
  transition: transform 0.2s, box-shadow 0.2s;
  border-top: 5px solid var(--phila-blue);
}

.portal-card:nth-child(2) { border-top-color: var(--phila-gold); }

.portal-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.2);
}

.portal-card-icon {
  padding: 2rem 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portal-card-icon svg {
  color: var(--phila-blue);
}

.portal-card:nth-child(2) .portal-card-icon svg { color: var(--phila-gold-dark); }

.portal-card-body {
  padding: 0 2rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.portal-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--phila-blue);
}

.portal-card:nth-child(2) .portal-card-title { color: var(--phila-gold-dark); }

.portal-card-desc {
  font-size: 13px;
  color: var(--phila-text-muted);
  line-height: 1.6;
}

.portal-card-cta {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 13px;
  font-weight: 700;
  color: var(--phila-blue);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.portal-card:nth-child(2) .portal-card-cta { color: var(--phila-gold-dark); }

@media (orientation: portrait) {
  .portal-cards { flex-direction: column; align-items: center; }
}
