/* General Styles */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  padding-top: 80px; /* Adjust based on your header height */
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  position: fixed; /* Ensures the header stays fixed */
  top: 0;
  left: 0;
  width: 100%;
  height: 80px; /* Explicit height */
  z-index: 1000; /* Ensures it's above other elements */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Logo Section */
.logo img {
  height: 60px; /* Adjust logo height */
  display: block;
  margin: 0; /* No extra space around the logo */
}

/* Navigation Menu Section */
.navbar {
  flex-grow: 1;
}

.menu {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
  background-color: #d32f2f;
  height: 70px; /* Match the height with the design */
  align-items: center; /* Vertically center the menu items */
}

.menu > li {
  position: relative;
}

.menu > li > a {
  color: white;
  text-decoration: none;
  padding: 0 20px; /* Reduced padding for better alignment */
  display: block;
  line-height: 50px; /* Vertically align menu text */
  font-size: 16px;
}

.menu > li:hover > a {
  background-color: #b71c1c;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #d32f2f;
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  min-width: 250px; /* Increased submenu width  */
  z-index: 1000;
}

.submenu li {
  position: relative;
}

.submenu li a {
  color: white;
  text-decoration: none;
  padding: 10px 15px;
  display: block;
}

.submenu li a:hover {
  background-color: #b71c1c;
}

.menu > li:hover > .submenu,
.submenu li:hover > .submenu {
  display: block;
}

.submenu .submenu {
  top: 0;
  left: 100%;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu {
    flex-direction: column;
    background-color: #d32f2f;
    width: 100%;
  }

  .menu > li {
    width: 100%;
  }

  .menu > li > a {
    text-align: left;
  }
}
/* Slideshow Container */
.slideshow-container {
  width: 100%;
  height: 400px;
  position: relative;
  overflow: hidden;
}

/* Image Style */
.slideshow-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  transition: opacity 1s ease-in-out;
}

.caption {
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  margin-top: 20px; /* Adjust gap as needed */
  background: white;
  color: red;
  text-align: center;
}

.info-section {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  background-color: #f8f8f8;
}

.info-image img {
  width: 400px;
  height: auto;
  border-radius: 8px;
}

.info-text {
  max-width: 600px;
  margin-left: 20px;
}

.info-text h2 {
  color: #d32f2f;
}

.info-text ul {
  list-style: none;
  padding: 0;
}

.info-text ul li {
  font-size: 16px;
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer {
  text-align: center;
  background-color: #f8f8f8; /* Light background */
  padding: 10px 0;
  font-size: 14px;
  color: #333; /* Dark text */
  margin-top: 20px;
  border-top: 2px solid #ddd; /* Optional border */
}
/* PRODUCTS SIDE-BY-SIDE FIX */
.products-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 30px;
}

.products-image {
  flex: 0 0 550px;   /* FIXED image width */
}

.products-image img {
  width: 100%;
  height: auto;
  display: block;
}

.products-text {
  flex: 1;
}
/* SERVICES SIDE-BY-SIDE FIX */
.services-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 30px;
}

.services-image {
  flex: 0 0 550px;   /* same image size as Products */
}

.services-image img {
  width: 100%;
  height: auto;
  display: block;
}

.services-text {
  flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .services-wrapper {
    flex-direction: column;
  }

  .services-image,
  .services-text {
    width: 100%;
  }
}
/* RENTAL SIDE-BY-SIDE FIX */
.rental-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 30px;
}

.rental-image {
  flex: 0 0 550px;
}

.rental-image img {
  width: 100%;
  height: auto;
  display: block;
}

.rental-text {
  flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .rental-wrapper {
    flex-direction: column;
  }

  .rental-image,
  .rental-text {
    width: 100%;
  }
}

.service-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding: 30px;
}

.service-image {
  flex: 0 0 550px;
}

.service-image img {
  width: 100%;
  height: auto;
  display: block;
}

.service-text {
  flex: 1;
}

.service-text h2 {
  margin-top: 0;
}

/* Mobile */
@media (max-width: 768px) {
  .service-wrapper {
    flex-direction: column;
  }

  .service-image,
  .service-text {
    width: 100%;
  }
}
/* Background colors */
.section-white {
  background-color: #ffffff;
}

.section-ash {
  background-color: #f2f2f2;
}

