/* Body styling */
body {
  margin: 0;
  font-family: Arial, sans-serif; 
  background-color: white;
  color: #2f7865;
  line-height: 1.6;
}

/* Tablet range styling */
@media screen and (min-width:480px) and (max-width:768px) {
  body {
    background-color: rgb(211, 87, 107);
  }
}

/* Header layout using flexbox */
header {
  background-color: #074131;
  color: white;
  padding: 20px 0;
}

.header-container {
  display: flex; 
  justify-content: space-between;
  align-items: center;
  padding: 0 40px;
  flex-wrap: wrap;
}

.logo {
  height: 60px;
  margin-right: 15px;
}

.site-title {
  font-size: 24px;
  font-weight: bold;
  text-transform: uppercase;
}

/* Navigation menu styling */
.nav-menu ul {
  list-style: none;
  display: flex; 
  gap: 20px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-menu a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: #FFD700; 
  text-decoration: underline;
}

/* Burger menu */
#menu-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.burger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: white;
  background: none;
  border: none;
  padding: 0;
}

@media screen and (max-width:768px) {
  .burger {
    display: block;
  }
  .nav-menu ul {
    display: none;
    flex-direction: column;
    gap: 10px;
    background-color: #2f7865;
    padding: 10px;
    border-radius: 8px;
    margin-top: 10px;
  }
  #menu-toggle:checked + .burger + ul {
    display: flex;
  }
}

/* Main content styling */
.access-info {
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.access-info h2 {
  font-size: 28px; 
  color: #2f7865;
  text-align: center;
  margin-bottom: 20px;
}

.access-info p {
  font-size: 16px;
  font-style: italic; 
  text-align: center;
  margin-bottom: 30px;
}

.info-box {
  background-color: white;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 6px solid #2f7865;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); 
}

.info-box h3 {
  color: #245c4f;
  margin-bottom: 10px;
}

.info-box ul {
  margin: 0;
  padding-left: 20px;
  color: #2f7865;
}

/* Map container */
.map-container {
  margin-top: 15px;
  border: 2px solid #2f7865;
  border-radius: 6px;
  overflow: hidden;
}

/* Images styling */
.access-images {
  margin-top: 40px;
  padding: 0 20px;
}

.access-images h2 {
  font-size: 24px;
  margin-bottom: 20px;
  text-align: center;
  color: #2f7865;
}

.image-grid {
  display: flex; 
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.image-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 30%;
  max-width: 300px;
  background-color: white;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(31, 109, 187, 0.4); 
  text-align: center;
}

.image-item img {
  width: 100%;
  height: 200px;
  object-fit: cover; 
  border-radius: 6px;
  border: 2px solid #2f7865;
  padding: 6px;
  background-color: white;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-item img:hover {
  transform: scale(1.05); 
  box-shadow: 0 0 10px rgba(47, 120, 101, 0.4);
  cursor: pointer;
}

.image-item p {
  margin-top: 10px;
  font-size: 14px;
  color: #2f7865;
  text-align: center;
}
.read-more {
  display: inline-block;
  margin-top: 8px;
  color: #2f7865;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.read-more:hover {
  color: #FFD700;
  border-color: #FFD700;
}


/* Responsive adjustments */
@media screen and (max-width:768px) {
  .header-container {
    flex-direction: column;
    align-items: center;
  }

  .image-item {
    flex: 1 1 45%; 
  }
}

@media screen and (max-width:480px) {
  .image-item {
    flex: 1 1 100%; 
  }

  .access-info h2,
  .access-images h2 {
    font-size: 22px;
  }

  .access-info p {
    font-size: 15px;
  }
}

/* Footer styling */
footer {
  background-color: #074131;
  color: white;
  padding: 20px 40px;
  text-align: center;
}

.footer-contact p {
  margin: 6px 0;
}

.back-to-top {
  text-decoration: none;
  color: white;
  font-weight: bold;
  font-size: 14px;
}

.back-to-top:hover {
  color: #FFD700;
  text-decoration: underline;
}
