/* giving-hours.css — Specific styles for The Giving Hours Award page */

/* ── Page Hero ── */
.gh-hero {
  position: relative;
  padding: calc(var(--nav-h) + 80px) 0 100px;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}
.gh-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--blue);
}
.gh-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1,15,60,.6) 0%, rgba(1,45,168,.3) 100%);
}
.gh-hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

/* ── Section Nav ── */
.gh-section-nav {
  position: sticky;
  top: var(--nav-h);
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
}
.gh-section-nav-inner {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 8px;
}
.gh-section-nav-inner::-webkit-scrollbar { display: none; }

.gh-nav-item {
  display: inline-block;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
  transition: var(--t-fast);
  cursor: pointer;
  letter-spacing: .01em;
}
.gh-nav-item:hover { color: var(--blue); background: var(--blue-50); }
.gh-nav-item.active { color: var(--blue); border-bottom-color: var(--blue); }

/* ── Section body ── */
.gh-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--gray-100);
}
.gh-section-alt { background: var(--gray-50); }

.gh-section-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 13px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ── Award Tier Cards ── */
.award-tier-card {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--t);
  background: white;
}
.tier-cert-preview {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: top;
  background: var(--gray-100);
}
.tier-info { padding: 20px 24px 24px; }

/* ── Eligible Cards ── */
.eligible-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 24px;
  border-top: 4px solid var(--success);
  transition: var(--t);
}
.eligible-card-icon { font-size: 28px; margin-bottom: 12px; }
.eligible-card h4 {
  font-size: 15px; font-weight: 700;
  color: var(--dark); margin-bottom: 10px;
}
.eligible-card ul { padding-left: 0; list-style: none; }
.eligible-card ul li {
  font-size: 14px; color: var(--gray-600);
  padding: 3px 0;
  display: flex; align-items: center; gap: 6px;
}
.eligible-card ul li::before {
  content: '•'; color: var(--success); font-weight: 700;
}

/* ── Proof Upload ── */
.proof-upload-area {
  border: 2px dashed var(--gray-300);
  border-radius: var(--r-lg);
  padding: 40px 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--t-fast);
}
.proof-upload-area:hover {
  border-color: var(--blue);
  background: var(--blue-50);
}
.proof-upload-area.drag-over {
  border-color: var(--blue);
  background: var(--blue-50);
}

.proof-file-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--gray-50);
  border-radius: var(--r);
  font-size: 14px;
  color: var(--gray-700);
}
.proof-file-remove {
  margin-left: auto;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  border: none;
  font-size: 13px; color: var(--gray-600);
  transition: var(--t-fast);
}
.proof-file-remove:hover { background: var(--danger-bg); color: var(--danger); }

/* ── Service Entry Rows ── */
.service-row {
  display: grid;
  grid-template-columns: 140px 1fr 1fr 80px 36px;
  gap: 10px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--gray-100);
}
.service-row:first-child { padding-top: 0; }
.service-row:last-child { border-bottom: none; }
.service-row-header {
  display: grid;
  grid-template-columns: 140px 1fr 1fr 80px 36px;
  gap: 10px;
  padding: 0 0 8px;
  border-bottom: 2px solid var(--gray-200);
  margin-bottom: 4px;
}
.service-row-header span {
  font-size: 11px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--gray-500);
}
.service-row .btn-remove-row {
  width: 36px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--r);
  background: var(--gray-100);
  color: var(--gray-500);
  border: none; cursor: pointer;
  transition: var(--t-fast);
  font-size: 16px;
  margin-top: 22px;
}
.service-row .btn-remove-row:hover { background: var(--danger-bg); color: var(--danger); }
.service-row .form-group { margin-bottom: 0; }
.service-row .form-label { font-size: 11px; }

@media (max-width: 640px) {
  .service-row, .service-row-header {
    grid-template-columns: 1fr 1fr;
  }
  .service-row .btn-remove-row { margin-top: 0; grid-column: 2; justify-self: end; }
}
@media (max-width: 480px) {
  .service-row, .service-row-header {
    grid-template-columns: 1fr;
  }
}
