/*
Theme Name: The Runner
Description: Courier service website theme for The Runner
Version: 1.0
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header Styles */
.site-header {
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo img {
  height: 3rem;
  width: auto;
}

.main-nav {
  display: none;
}

.main-nav.active {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  text-decoration: none;
  color: #374151;
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #fe8d01;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: #fe8d01;
  color: white;
}

.btn-primary:hover {
  background: #e67d00;
}

.btn-outline {
  border: 2px solid white;
  color: white;
  background: transparent;
}

.btn-outline:hover {
  background: white;
  color: #697fbd;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(105, 127, 189, 0.9) 0%, rgba(90, 107, 168, 0.9) 100%),
    url("images/delivery-pic.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 4rem 0 6rem;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(105, 127, 189, 0.85) 0%, rgba(90, 107, 168, 0.85) 100%);
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

/* Alternative hero layout with image on the side for larger screens */
@media (min-width: 1024px) {
  .hero {
    background-attachment: scroll;
    padding: 6rem 0 8rem;
  }

  .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
  }

  .hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
  }

  .hero-image {
    position: relative;
    z-index: 2;
  }

  .hero-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
  }

  .hero-image img:hover {
    transform: scale(1.02);
  }
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
}

.hero .highlight {
  color: #fe8d01;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #ddd6fe;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

/* Promotion Section */
.promotion {
  background: #fe8d01;
  padding: 2rem 0;
}

.promotion-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.promotion-badge {
  background: #697fbd;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.promotion h2 {
  font-size: 2rem;
  color: #111827;
  margin-bottom: 0.5rem;
}

.promotion p {
  color: #6b7280;
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.promotion-offer {
  font-size: 2.5rem;
  font-weight: bold;
  color: #fe8d01;
  margin-bottom: 1rem;
}

/* Services Section */
.services {
  padding: 4rem 0 6rem;
  background: #f9fafb;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.5rem;
  color: #111827;
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.25rem;
  color: #6b7280;
}

.services-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

.service-card {
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s;
}

.service-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 4rem;
  height: 4rem;
  background: #fe8d01;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 2rem;
}

.service-card h3 {
  color: #697fbd;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Features Section */
.features {
  padding: 4rem 0 6rem;
}

.features-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.features h2 {
  font-size: 2.5rem;
  color: #111827;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-icon {
  width: 2rem;
  height: 2rem;
  background: #fe8d01;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.feature-content h3 {
  color: #697fbd;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.cta-box {
  background: linear-gradient(135deg, #697fbd 0%, #5a6ba8 100%);
  color: white;
  padding: 2rem;
  border-radius: 1rem;
}

.cta-box h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.cta-box p {
  color: #ddd6fe;
  margin-bottom: 1.5rem;
}

/* Contact Section */
.contact {
  padding: 4rem 0 6rem;
  background: #f9fafb;
}

.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  max-width: 4xl;
  margin: 0 auto;
}

.contact-card {
  background: white;
  padding: 2rem;
  border-radius: 0.5rem;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-icon {
  color: #fe8d01;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-card h3 {
  color: #697fbd;
  margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
  background: #697fbd;
  color: white;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
}

.footer-section h4 {
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #ddd6fe;
  text-decoration: none;
}

.footer-section a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid #8b5cf6;
  padding-top: 2rem;
  text-align: center;
  color: #ddd6fe;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #374151;
  cursor: pointer;
}

/* Responsive Design */
@media (min-width: 768px) {
  .hero h1 {
    font-size: 4rem;
  }

  .hero p {
    font-size: 1.5rem;
  }

  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }

  .promotion-card {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .main-nav {
    display: block;
    position: static;
    background: none;
    box-shadow: none;
  }

  .mobile-menu-toggle {
    display: none;
  }
}

/* Add responsive improvements for mobile hero section */
@media (max-width: 767px) {
  .hero {
    background-position: center right;
    padding: 3rem 0 4rem;
  }

  .hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
  }

  .hero p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
  }

  .hero-buttons {
    gap: 0.75rem;
  }

  .btn {
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
  }
}

/* Add subtle animation to the hero image on larger screens */
