/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  color: #333;
  background: linear-gradient(to bottom, #f8a000, #ffda95);
  /* Light background color */
  line-height: 1.6;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

h1,
h2,
h3 {
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Header Section */
.hero-section {
  position: relative; /* Positioning context for the overlay */
  background-image: url("./assets/truck4.jpg"); /* Path to your background image */
  background-size: cover; /* Ensure the image covers the entire section */
  background-position: center; /* Center the image */
  color: white;
  text-align: center;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Black overlay with 50% opacity */
  z-index: 1; /* Ensure the overlay is above the background image but below the content */
}

.hero-content {
  position: relative; /* Positioning context for the text content */
  z-index: 2; /* Ensure the content is above the overlay */
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4rem;
  position: relative; /* Ensure it is above the hero section overlay */
  z-index: 3; /* Ensure nav links are clickable */
}

.logo {
  font-size: 3rem;
  font-weight: bold;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links li {
  display: inline;
}

.nav-links a {
  color: white;
  font-weight: bold;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #ffd700;
}

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

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.cta-btn {
  background-color: #ffd700;
  color: #333;
  padding: 15px 30px;
  font-weight: bold;
  border-radius: 30px; /* Rounded button */
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-btn:hover {
  background-color: #ffb700;
  transform: scale(1.05); /* Slight scale effect on hover */
}

/* Services Section */
.services-section {
  padding: 60px 0;
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px; /* Increased gap */
}

.service-item {
  background-color: #fff;
  padding: 30px;
  border-radius: 15px; /* Rounded corners */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Destination Section */
.destination-section {
  padding: 60px 0;
  text-align: center;
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px; /* Increased gap */
}

.destination-item {
  background-color: #fff;
  border-radius: 15px; /* Rounded corners */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Gallery Section */
.gallery-section {
  padding: 60px 0;
  text-align: center;
}

.gallery-section h2 {
  margin-bottom: 40px;
  font-size: 2rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* Gallery Section */
.gallery-item {
  overflow: hidden;
  border-radius: 15px; /* Rounded corners */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures the image covers the entire container */
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
  opacity: 0.9; /* Slight opacity change on hover */
}

/* About Section */
.about-section {
  padding: 60px 0;
  text-align: left;
}

.about-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}

.about-content {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.about-content p {
  margin-bottom: 20px;
  font-size: 1.2rem;
}

h3 {
  margin-top: 20px;
  font-size: 1.5rem;
}

.company-info,
.contact-info {
  list-style: none;
  padding: 0;
  margin: 0;
}

.company-info li,
.contact-info li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

strong {
  font-weight: bold;
}

/* Footer Section */
.footer-section {
  background-color: #333;
  color: white;
  text-align: center;
  padding: 30px 20px; /* Increased padding */
  margin-top: 60px;
}

/* Responsive Design */

@media (max-width: 1000px) {
  .nav-links {
    display: none;
  }

  .navbar {
    justify-content: center; /* Center the logo */
  }

  .logo {
    margin: 0; /* Reset margin if needed */
  }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 90px 15px;
  }
  .about-section h2 {
    font-size: 1.8rem;
  }
  .gallery-item {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
  .destination-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 items per row */
  }
  .destination-item {
    font-size: 1rem; /* Smaller text size for mobile */
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 80px 10px;
  }
  .about-content {
    padding: 15px;
  }
  .gallery-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .destination-item {
    font-size: 0.9rem; /* Further reduce text size for smaller screens */
    padding: 0px; /* Adjust padding if needed */
  }
}
