@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
  margin: 0;
  font-family: 'Roboto', Arial, sans-serif;
  background-color: #fff;
  color: #111;
}

/* HEADER STYLING */
.top-header {
  background-color: #ffcc00;
  font-family: 'Roboto', Arial, sans-serif;
}

.top-nav {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
  padding: 8px 20px;
  background-color: #fff8c9;
  font-size: 14px;
  border-bottom: 1px solid #f1e282;
}

.top-nav a {
  text-decoration: none;
  color: #d40511;
  font-weight: 500;
  transition: color 0.2s ease;
}

.top-nav a:hover {
  color: #a0000c;
}

.main-nav {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  flex-wrap: wrap;
}

.logo {
  height: 40px;
  margin-right: 20px;
}

.main-nav nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.main-nav nav ul li a {
  text-decoration: none;
  color: #d40511;
  font-weight: bold;
  font-size: 15px;
  transition: color 0.2s ease;
}

.main-nav nav ul li a:hover {
  color: #a0000c;
}

/* HERO SECTION */
.tracking-container.hero {
  background-image: url('images/track-bg.jpg'); /* Replace with your image */
  background-size: cover;
  background-position: center;
  color: white;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.tracking-container.hero .overlay {
  background: transparent;
}


.tracking-container.hero h1 {
  font-size: 32px;
  margin-bottom: 15px;
}

/* Tracking input section */
.tracking-section {
  text-align: center;
  padding: 40px 20px;
  /* No background anymore */
}

.tracking-section h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.tracking-section form {
  margin-top: 15px;
}

.tracking-section input {
  padding: 10px;
  width: 250px;
  margin-right: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.tracking-section button {
  padding: 10px 20px;
  background: #d40511;
  color: white;
  border: none;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
}

.small-text {
  font-size: 12px;
  margin-top: 5px;
  color: #777;
}

/* Tracking form (shared) */
.track-form {
  margin-top: 20px;
  text-align: center;
}

.track-form .btn {
  padding: 14px 40px;
  font-size: 16px;
  background-color: #ffcc00;
  color: #111;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.track-form .btn:hover {
  background-color: #f5b800;
}

/* GENERAL */
.breadcrumb {
  font-size: 14px;
  margin: 20px;
  color: #777;
}

.shipping-services {
  padding: 20px;
  text-align: center;
}

.service-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 10px;
  font-size: 18px;
}

.service-grid div {
  padding: 10px;
}

/* CTA button */
.center-button {
  text-align: center;
  margin: 40px 0;
}

.center-button .btn {
  background-color: #d40511;
  color: white;
  padding: 12px 25px;
  font-size: 16px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.center-button .btn:hover {
  background-color: #b0040e;
}

/* FOOTER */
.footer {
  background-color: #f0f0f0;
  padding: 30px 20px;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li a {
  text-decoration: none;
  color: #000;
  margin: 5px 0;
  display: block;
}

.social a {
  color: #d40511;
  text-decoration: none;
  margin-right: 10px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 14px;
}

/* DELIVERY BOX (Page 2) */
.tracking-container h1 {
  font-size: 28px;
  margin: 30px auto 15px;
  color: #d40511;
  text-align: center;
}

.delivery-box {
  background-color: #fff;
  border-left: 5px solid #ffcc00;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  max-width: 700px;
  margin: 20px auto;
  padding: 25px;
  font-size: 16px;
  line-height: 1.6;
}

.delivery-box .row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 15px;
  font-weight: 500;
  color: #333;
}

.delivery-box strong {
  color: #111;
}

.tracking-container p {
  max-width: 700px;
  margin: 10px auto;
  color: #444;
  font-size: 15px;
  line-height: 1.7;
}

/* RESPONSIVE */
@media screen and (max-width: 768px) {
  .hero {
    height: auto;
    padding: 30px 10px;
  }

  .hero h1 {
    font-size: 24px;
  }

  .main-nav nav ul {
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer-columns {
    flex-direction: column;
    align-items: center;
  }

  .service-grid {
    flex-direction: column;
    align-items: center;
  }

  .delivery-box .row {
    flex-direction: column;
    gap: 5px;
  }

  .tracking-container h1 {
    font-size: 22px;
  }

  .track-form .btn {
    width: 90%;
    max-width: 300px;
  }

  .top-nav {
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
  }

  .main-nav {
    flex-direction: column;
    align-items: flex-start;
  }
}
