/* General Body and Typography */
body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

h1,
h2,
h3 {
  color: #2c3e50;
  margin-bottom: 15px;
}

h1 {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 10px;
}

h2 {
  font-size: 2em;
  text-align: center;
  margin-bottom: 25px;
}

h3 {
  font-size: 1.5em;
  margin-bottom: 10px;
}

p {
  margin-bottom: 15px;
}

ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

ol {
  margin-left: 20px;
  margin-bottom: 15px;
}

a {
  color: #007bff;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */
.sticky-header {
  background-color: #2c3e50;
  color: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.logo a {
  color: #fff;
  font-size: 1.8em;
  font-weight: bold;
  text-decoration: none;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
  justify-content: center; /* Center nav items on smaller screens */
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 0;
  transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
  color: #007bff; /* Highlight active/hovered link */
  text-decoration: none;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("/placeholder.svg?height=600&width=1920")
    no-repeat center center / cover;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .container {
  padding: 0; /* Remove extra padding from container in hero */
}

.hero .subheading {
  font-size: 1.4em;
  margin-bottom: 30px;
}

.cta-buttons {
  margin-top: 30px;
}

.button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin: 0 10px;
}

.button.primary {
  background-color: #007bff;
  color: #fff;
  border: 2px solid #007bff;
}

.button.primary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
}

.button.secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.button.secondary:hover {
  background-color: #fff;
  color: #007bff;
}

/* Content Sections */
.content-section {
  background-color: #fff;
  padding: 40px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.content-section p {
  text-align: justify;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Fleet Showcase / Image Gallery */
.fleet-showcase,
.image-gallery {
  background-color: #f9f9f9;
  padding: 40px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.fleet-item {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding-bottom: 20px;
}

.fleet-item img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  margin-bottom: 15px;
}

.fleet-item h3 {
  color: #2c3e50;
  margin-top: 0;
  padding: 0 15px;
}

.fleet-item p {
  font-size: 0.95em;
  color: #555;
  padding: 0 15px;
}

/* Nearby Areas */
.nearby-areas {
  background-color: #e9ecef;
  padding: 40px 20px;
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nearby-areas ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.nearby-areas li {
  background-color: #007bff;
  color: #fff;
  padding: 8px 15px;
  margin: 5px;
  border-radius: 20px;
  font-size: 0.9em;
  white-space: nowrap; /* Prevent wrapping within a tag */
}

/* Contact Page Specifics */
.contact-details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 30px;
}

@media (min-width: 768px) {
  .contact-details-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-form-container,
.booking-info {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-form .form-group {
  margin-bottom: 15px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #555;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: calc(100% - 20px); /* Account for padding */
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1em;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: auto;
  cursor: pointer;
  margin: 0; /* Override button margin */
}

.booking-info ol {
  list-style: decimal;
  margin-left: 20px;
}

.booking-info li {
  margin-bottom: 10px;
}

.map-placeholder {
  margin-top: 20px;
  text-align: center;
}

.map-placeholder img {
  max-width: 100%;
  height: auto;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* Footer */
footer {
  background-color: #2c3e50;
  color: #fff;
  padding: 40px 0 20px;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  text-align: left;
}

.footer-nav,
.footer-contact,
.footer-hours {
  flex: 1;
  min-width: 200px;
  margin: 20px;
}

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

.footer-nav ul li a,
.footer-contact p,
.footer-hours p {
  color: #fff;
  text-decoration: none;
  margin-bottom: 8px;
  display: block;
}

.footer-nav ul li a:hover {
  text-decoration: underline;
}

.copyright {
  border-top: 1px solid #444;
  margin-top: 30px;
  padding-top: 20px;
  font-size: 0.9em;
  text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .header-content {
    flex-direction: column;
    text-align: center;
  }

  .logo {
    margin-bottom: 15px;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 10px 0;
  }

  .hero {
    padding: 80px 20px;
  }

  h1 {
    font-size: 2.2em;
  }

  .hero .subheading {
    font-size: 1.2em;
  }

  .cta-buttons {
    flex-direction: column;
    display: flex;
    align-items: center;
  }

  .button {
    width: 80%;
    margin: 10px 0;
  }

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

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

  .footer-nav,
  .footer-contact,
  .footer-hours {
    text-align: center;
    margin: 15px 0;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 1.8em;
  }

  h2 {
    font-size: 1.6em;
  }

  .hero {
    padding: 60px 15px;
  }

  .button {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .content-section,
  .fleet-showcase,
  .nearby-areas,
  .contact-details-grid {
    padding: 20px 15px;
  }
}
