/*
Theme Name: Easy To Receive
Theme URI: https://example.com/easy-to-receive
Author: Ahmed
Description: Single-page courier landing with tracking box and builder compatibility.
Version: 1.0.0
License: GPLv2 or later
Text Domain: easy-to-receive
*/

html, body {
  height: 100%;
  margin: 0;
}

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #0f172a; /* slate-900 */
  background: #000;
}

/* Full-page hero background */
.hero {
  min-height: 100vh;
  position: relative;
  background: url('https://example.com/path-to-your-cargo-image.jpg') center/cover no-repeat fixed;
}

/* Overlay for contrast */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.35);
}

/* Centered tracking box */
.tracking-wrap {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 24px;
  text-align: center;
  color: #fff;
}

.tracking-card {
  background: rgba(15,23,42,0.65); /* slate/opacity */
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 24px;
  text-align: left;
}

.tracking-card h1 {
  font-size: 28px;
  margin: 0 0 12px;
  color: #fff;
}

.tracking-inputs {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.tracking-inputs input[type="text"] {
  flex: 1;
  min-width: 220px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.tracking-inputs button {
  padding: 12px 18px;
  border-radius: 8px;
  border: none;
  background: #22c55e; /* green-500 */
  color: #082f1b;
  font-weight: 600;
  cursor: pointer;
}

.tracking-result {
  margin-top: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 16px;
  color: #e2e8f0;
}

/* Timeline */
.timeline {
  margin-top: 16px;
  padding-left: 16px;
  border-left: 2px solid rgba(255,255,255,0.2);
}
.timeline-item {
  margin-bottom: 10px;
}
.timeline-item .time {
  font-size: 12px;
  color: #cbd5e1;
}

/* Footer */
.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px;
  background: #0b1220; /* dark */
  color: #cbd5e1;
}
.site-footer h2 {
  font-size: 20px;
  color: #fff;
  margin: 0 0 8px;
}
.site-footer p, .site-footer li {
  margin: 0 0 6px;
  line-height: 1.5;
}

/* Mobile */
@media (max-width: 768px) {
  .site-footer {
    grid-template-columns: 1fr;
  }
}
