* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f4f4f4;
  color: #333;
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

header {
  background: #2d1f16;
  color: #fff;
  padding: 1rem 0;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

header .logo a {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
}

header .logo img {
  height: 40px;
  margin-right: 10px;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 3rem;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

nav ul li a:hover {
  color: #f4f4f4;
}

.current-page {
  display: none;
}

.hamburger {
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 1.6rem;
  height: 2px;
  margin: 5px 0;
  background: currentColor;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.route-page {
  padding-bottom: 3rem;
}

.route-hero {
  background: url("../assets/images/trail-group.jpg") no-repeat center/cover;
  color: #fff;
  padding: 4rem 1rem;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.route-hero span {
  display: block;
  font-size: 1.5rem;
  letter-spacing: 0.35rem;
}

.route-hero h1 {
  margin: 1rem 0;
  font-size: 2.5rem;
}

.route-content {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.route-map {
  display: block;
  width: 100%;
  border-radius: 10px;
}

.route-back {
  margin: 1.5rem 0 2rem;
  text-align: center;
}

.route-back a {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  background: #267fdc;
  color: #fff;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.route-back a:hover,
.route-back a:focus-visible {
  transform: scale(1.04);
  background: #1a5bb8;
}

.route-stops {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  list-style: none;
}

.route-stop {
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(45, 31, 22, 0.16);
  border-radius: 10px;
  background: #fff;
  color: #2d1f16;
  box-shadow: 0 3px 12px rgba(45, 31, 22, 0.08);
  font-size: 1.1rem;
  font-weight: bold;
}

.route-stop img {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.route-stop small {
  display: block;
  font-size: 0.85rem;
  font-weight: normal;
}

.route-social {
  margin-top: 2rem;
  padding: 2rem 1rem;
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.route-social p {
  margin-bottom: 0.5rem;
}

.route-social .hashtag-text {
  color: #2d1f16;
  font-size: 1.2rem;
  font-weight: bold;
}

.route-social .social-icons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.route-social .social-icons img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

footer {
  margin-top: auto;
  padding: 2rem 0;
  background: url("../assets/images/jon-moore-LpuEzocXLtA-unsplash.jpg")
    no-repeat center center/cover;
  color: #fff;
}

footer .container {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  gap: 2rem;
}

.about-us,
.contact-us {
  max-width: 600px;
}

footer h2 {
  margin-bottom: 0.5rem;
}

footer p {
  margin-bottom: 1rem;
}

footer .social-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

footer .social-icons img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.copyright-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 1rem auto 0;
  padding: 0 1rem;
}

.copyright-info a {
  color: #fff;
}

@media (max-width: 760px) {
  header {
    position: relative;
    z-index: 2;
  }

  header .container {
    position: relative;
  }

  .hamburger {
    display: block;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    padding: 0.5rem 1rem 1rem;
    background: #2d1f16;
  }

  nav ul.active {
    display: flex;
  }

  nav ul li {
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  nav ul li a {
    display: block;
    padding: 0.75rem 0.25rem;
  }

  .route-hero {
    padding: 3.5rem 1rem;
  }

  .route-hero span {
    font-size: 1rem;
    letter-spacing: 0.2rem;
  }

  .route-hero h1 {
    font-size: 2rem;
  }

  footer .container,
  .copyright-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
}

@media (max-width: 420px) {
  header .logo img {
    height: 34px;
  }

  header .logo a {
    font-size: 0.9rem;
  }

  .current-page {
    display: block;
  }

  .current-page a {
    color: #fff;
    font-weight: bold;
  }

  .current-page img {
    height: 20px;
    margin: 0 10px;
    vertical-align: middle;
  }
}

@media (max-width: 420px) {
  .route-hero h1 {
    font-size: 1.7rem;
  }
}
