* {
  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);
}

.pub-page {
  width: 100%;
  flex: 1;
  padding: 0 1rem 3rem;
}

.pub-page p {
  margin: 0 0 1rem;
}

.pub-page > h1 {
  margin: 0 -1rem 2rem;
  padding: 3.5rem 1rem;
  background: url("../assets/images/trail-group.jpg") no-repeat center/cover;
  color: #fff;
  font-size: 2.5rem;
  text-align: center;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.pub-page > section {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0;
}

.pub-page .carousel {
  width: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.pub-page .carousel__slides,
.pub-page .carousel__slide {
  width: 100%;
}

.pub-page .carousel__slide img {
  display: block;
  width: 100%;
  max-height: 600px;
  object-fit: cover;
}

.pub-page .carousel__navdots {
  margin-bottom: 1rem;
}

.pub-page .image-credit {
  justify-content: flex-end;
  margin-top: -1rem;
}

.pub-page .image-credit a {
  color: #267fdc;
}

.pub-page .home-link,
.pub-page .app-buttons {
  justify-content: center;
}

.pub-page .btn {
  display: inline-block;
  padding: 0.65rem 1.2rem;
  border-radius: 5px;
  background: #267fdc;
  color: #fff;
  text-decoration: none;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.pub-page .btn:hover,
.pub-page .btn:focus-visible {
  transform: scale(1.04);
  background: #1a5bb8;
}

.pub-page .half-way-banner img {
  width: 100%;
  max-width: 800px;
  border-radius: 10px;
}

.pub-page .pub-services,
.pub-page .footies-container {
  flex-wrap: wrap;
  gap: 1rem;
}

.pub-page .footies-container {
  width: 100%;
  margin: 2rem auto;
}

.pub-page .pub-services {
  align-items: stretch;
}

.pub-page .service-row {
  display: flex;
  flex: 1 1 300px;
  justify-content: center;
  gap: 1rem;
  margin: 0;
}

.pub-page .service,
.pub-page .footies-item {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 64px;
  margin: 0;
  padding: 0.75rem;
  border: 1px solid #2d1f16;
  border-radius: 8px;
  background: #fff;
  color: #2d1f16;
  text-align: center;
}

.pub-page .footies-item {
  flex: 1 1 140px;
}

.pub-page .service-icon img,
.pub-page .footies-item img {
  width: 12px;
  height: 12px;
  object-fit: contain;
}

.pub-page .service-title h3 {
  font-size: 1rem;
}

.pub-page .opening-hours-container,
.pub-page .welcome-text {
  display: block;
  max-width: 900px;
  padding: 1.5rem;
  border-radius: 10px;
  background: #fff;
}

.pub-page .opening-hours-container h2 {
  margin-bottom: 1rem;
  color: #2d1f16;
  font-size: 2rem;
  text-align: center;
}

.pub-page .opening-hours {
  max-width: 600px;
  margin: 0 auto;
}

.pub-page .opening-hours h3 {
  margin-block: 0.5rem;
  font-size: 1rem;
}

.pub-page .welcome-text p {
  margin: 0 0 1rem;
}

.pub-page .welcome-text p:last-child {
  margin-bottom: 0;
}

.pub-page .pub-image img {
  width: 100%;
  max-width: 900px;
  border-radius: 10px;
}

footer {
  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: 0;
}

footer .social-icons {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

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;
}

.copyright-info a:hover {
  text-decoration: none;
}

@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;
  }

  .pub-page > h1 {
    padding: 3rem 1rem;
    font-size: 2rem;
  }

  .pub-page > section {
    margin: 1.5rem auto;
  }

  .pub-page .pub-services {
    flex-direction: column;
  }

  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 {
    width: 20px;
    height: 20px;
    margin: 0 10px;
    vertical-align: middle;
  }

  .pub-page > h1 {
    font-size: 1.7rem;
  }

  .pub-page .pub-services,
  .pub-page .footies-container {
    gap: 0.5rem;
  }

  .pub-page .service-row {
    flex-basis: 100%;
    gap: 0.5rem;
  }

  .pub-page .service,
  .pub-page .footies-item {
    padding: 0.5rem;
  }
}
