:root {
  --font-small: 0.875rem;
  --font-medium: 1rem;
  --font-large: 1.5rem;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px; /* Add space between groups */
}

/* Header Styles */
.header {
  background: #fff;
  border-bottom: 3px solid #ffffff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
}

/* Header Container for Logo and Menu */
.header-container {
  display: flex;
  align-items: center; /* Vertically align logo and menu toggle */
  justify-content: space-between; /* Space out logo and menu toggle */
  padding: 10px 20px; /* Adjust spacing */
  background-color: #fff; /* Background color of header */
  width: 100%; /* Make sure it spans the full width */
}

/* Logo Section */
.logo {
  font-size: 24px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo img {
  height: 110px; /* Adjust height of the logo image */
  width: 115px;
  margin-right: 10px; /* Space between logo and title */
  margin-bottom: 8px;
}

.logo .sub-logo {
  color: #ffaa22;
  font-size: 18px;
  font-weight: 200;
  align-items: center;
}

nav a.active {
  font-weight: bold;
  color: #000; /* Change the active link color */
}

/* Menu Section (Full screen) */
.menu {
  display: flex; /* Horizontal layout for desktop */
  list-style: none;
  gap: 15px; /* Space between items */
  position: relative; /* Relative for desktop view */
  background-color: transparent; /* No background for desktop */
  height: auto; /* No fixed height for desktop */
  width: auto; /* Auto width for desktop */
  transform: none; /* No sliding for desktop */
  transition: none; /* No transition for desktop */
  margin: 0; /* Adjust alignment */
}

.menu a {
  font-weight: 400;
  font-size: 16px;
  color: #333; /* Black text */
  padding: 5px 10px;
  transition: color 0.3s, border-bottom 0.3s;
}

.menu a.active {
  color: #ffaa22; /* Color for active link */
  font-weight: bold; /* Optional: Makes the active link bold */
  border-bottom: 2px solid #ffaa22; /* Adds an underline for active link */
}

.menu a:hover {
  color: #ffaa22;
  border-bottom: 2px solid #000000;
}

/* Hamburger Menu Toggle (For small screens) */
.menu-toggle {
  display: none; /* Hidden by default */
  position: fixed;
  right: 15px; /* Align hamburger menu to the right */
  font-size: 30px;
  cursor: pointer;
  z-index: 1000; /* Ensure above the menu */
  color: #333; /* Color of the icon */
}

.menu.active {
  transform: translateX(0); /* Slide into view */
  box-shadow: -4px 0px 8px rgba(0, 0, 0, 0.3);  /* Shadow for visibility */
}

.menu.active a {
  color: white; /* Text color for links in mobile view */
}

.menu ul {
  padding: 0;
  list-style: none;
  display: flex;
  gap: 20px;
}

.menu li {
  padding: 10px 0;
}

body.menu-active {
  overflow: hidden;
}

/* Slideshow container */
.slideshow-container {
  max-width: 1300px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

.mySlides img {
  width: 100%;
  height: 500px;  /* Fixed height for all images */
  object-fit: cover; /* Ensures images cover the area without distorting */
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px; /* Increase text size */
  font-weight: bold; /* Make the text bold */
  color: white;
  text-align: center;
  opacity: 0; /* Initially hide the text */
  transition: opacity 1.5s ease, transform 1.5s ease; /* Fade and scale effect */
  transform: translate(-50%, -50%) scale(1.1); /* Slight scale effect when active */
}

.mySlides.fade {
  display: none;
}

.mySlides.active .text {
  opacity: 1; /* Show text when slide is active */
  transform: translate(-50%, -50%) scale(1);
}

.text {
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Rent Now Button */
.rent-now-btn {
  background-color: #ffaa22; /* Green */
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
}

.rent-now-btn:hover {
  background-color: #8f5a06;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* New Container for the 6 Sections */
.services-container {
  display: flex;
  flex-wrap: wrap; /* Allow wrapping of items to the next line */
  justify-content: space-between;
  margin: 40px auto;
  padding: 20px;
  width: 90%; /* Ensure the container doesn't stretch too much */
}

/* Style for each service section */
.service {
  width: 32%; /* Adjust the width so we can fit 3 items per row */
  text-align: center;
  margin-bottom: 20px; /* Adds space between sections */
}

.service-img {
  width: 100%;
  height: 250px; /* Fixed height for the images */
  object-fit: cover;
  border-radius: 8px;
}

.service h3 {
  font-size: 24px;
  margin-top: 10px;
  color: #333;
}

.service p {
  font-size: 16px;
  color: #777;
  padding: 0 10px;
  font-style: italic;
}

/* Bike and Scooters Section */
.bike-scooters-container {
  margin: 50px auto;
  padding: 20px;
  text-align: center;
  width: 90%;
}

.section-heading {
  font-size: 36px;
  color: #333;
  margin-bottom: 30px;
}

.bike-scooter-items {
  display: flex;
  justify-content: space-between; /* Ensures items are evenly spaced */
  flex-wrap: wrap; /* Allow items to wrap to next row on smaller screens */
}

.bike-item {
  width: 23%; /* 4 items in a row, with 1% space between them */
  margin-bottom: 20px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds shadow below each bike/scooter item */
  transition: box-shadow 0.3s ease; /* Smooth transition when shadow changes */
}

.bike-item:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Stronger shadow on hover */
}

.bike-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

.bike-item h3 {
  font-size: 20px;
  margin-top: 15px;
  color: #333;
}

.price {
  font-size: 18px;
  color: #ffaa22;
  margin-top: 10px;
}


/* Collage container */
.collage-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(to bottom right, #74ebd5, #ACB6E5); 
  padding: 40px 20px;
}

.collage-container {
  max-width: 800px;
  text-align: center;
  color: white;
}

/* Heading and paragraph around the collage */
.collage-container h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.collage-container p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.collage {
  position: relative;
  width: 60vw;  /* Adjust this value for larger screens */
  height: 60vw;
  max-width: 600px;
  max-height: 600px;
  border-radius: 50%;
  background: linear-gradient(to bottom right, #74ebd5, #ACB6E5);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  transition: all 0.3s ease; /* Smooth transition for size changes */
}

/* Common styles for collage items */
.collage-item {
  position: absolute;
  width: 25%;
  height: 25%;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.5s ease, z-index 0.5s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Position the collage items in a circular pattern with slight overlap */
.item1 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg) translateX(200px) rotate(0deg);
}

.item2 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(45deg) translateX(200px) rotate(-45deg);
}

.item3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(90deg) translateX(200px) rotate(-90deg);
}

.item4 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(135deg) translateX(200px) rotate(-135deg);
}

.item5 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(180deg) translateX(200px) rotate(-180deg);
}

.item6 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(225deg) translateX(200px) rotate(-225deg);
}

.item7 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(270deg) translateX(200px) rotate(-270deg);
}

.item8 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(315deg) translateX(200px) rotate(-315deg);
}

/* Center item (non-clickable) */
.center-item {
  position: absolute;
  width: 25%;
  height: 25%;
  border-radius: 50%;
  overflow: hidden;
  z-index: 1; /* Ensure it's above other items */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.center-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Add a modern "paper stack" shadow effect */
.collage-item::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  background: rgba(0, 0, 0, 0.05);
  z-index: -1;
  transform: rotate(-2deg);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
}

/* Centering transformation when clicked */
.collage-item.clicked {
  transform: translate(-50%, -50%) scale(1.4) translateX(0) rotate(0deg);
  z-index: 10;
}



/* Booking Form Section */
.booking-form {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 30px;
  padding-top: 100px;
}

.form-container {
  background-color: rgb(255, 255, 255);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
}

h2 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}

label {
  font-size: 14px;
  color: #555;
  margin-bottom: 5px;
  display: block;
}

input, select, .submit {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
}

input[type="date"] {
  background-color: #fafafa;
}

label {
  font-size: 16px;
  color: #555;
  display: inline-flex; /* Keeps the checkbox and text inline */
  align-items: center; /* Vertically centers the checkbox and the text */
  margin-bottom: 15px; /* Adds space below the checkbox */
  white-space: nowrap; /* Prevents text from wrapping into multiple lines */
}

label input[type="checkbox"] {
  margin-right: 10px; /* Adds space between checkbox and the label text */
  vertical-align: middle; /* Align the checkbox in the middle */
  margin-top: 15px; /* Adjusts the vertical position slightly */
}

.submit{
  background-color: #ffaa22;
  color: white;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.submit:hover {
  background-color: #8f5a06;
}

.form-container input[type="tel"] {
  background-color: #f9f9f9;
}

.form-container select {
  background-color: #fafafa;
}

.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none; /* Initially hidden */
  justify-content: center;
  align-items: center;
  z-index: 1000;
  overflow: auto; /* Allows scrolling if needed */
}

/* Popup Content */
.popup-content {
  background: white;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  box-sizing: border-box;
}

/* Popup Heading */
.popup-content h2 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 600;
}

/* Popup Text */
.popup-content p {
  margin: 0 0 20px;
  font-size: 16px;
  color: #333;
}

/* Close Button */
.popup-content button {
  background-color: #4CAF50;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

/* Close Button Hover Effect */
.popup-content button:hover {
  background-color: #45a049;
}

/* About Us Section */
.about-us-container {
  background-color: #ffffff;
  padding: 120px 15px;
  text-align: center;
  margin-top: 50px; /* Added margin-top to move the section down */
}

.about-us-content {
  max-width: 1000px;  /* Reduced max-width */
  margin: 0 auto;
  padding: 15px;  /* Reduced padding */
  background: linear-gradient(to bottom right, #74ebd5, #ACB6E5);
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-us-content h2 {
  font-size: 2rem;  /* Reduced font size */
  color: #ffffff;
  margin-bottom: 15px;  /* Reduced margin */
  font-weight: bold;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.about-us-content p {
  font-size: 1.2rem;  /* Reduced font size */
  line-height: 1.6;  /* Slightly tighter line height */
  color: #ffffff;
  margin-bottom: 35px;  /* Reduced margin */
  text-align: justify;
  padding: 0 50px;  /* Added padding to the left and right */
  margin-top: 0;
}

.about-image {
  margin-top: 15px;  /* Reduced margin */
  text-align: center;
}

.about-image img {
  width: 50%;  /* Keep the same size as before */
  max-width: 250px;
  display: block;
  margin: 0 auto;
}

/*-----------------------*/
.contact-container {
  padding: 40px;
  background-color: #f9f9f9;
  text-align: center;
}

.contact-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-details {
  margin-bottom: 20px;
  font-size: 1rem;
  color: #333;
}

.contact-details a {
  color: #007bff;
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.social-media {
  margin: 20px 0;
}

.social-media h3 {
  margin-bottom: 10px;
}

.whatsapp-link {
  color: green;
}

.map iframe {
  margin: 20px 0;
  border: 1px solid #ddd;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}


/* Responsive Design */
@media (max-width: 480px) {
  .collage {
    width: 90vw;  /* Adjust size further for very small screens */
    height: 90vw;
    max-width: 400px;
    max-height: 400px;
  }

  /* Further adjust collage items for small screens */
  .collage-item {
    width: 40%;
    height: 40%;
  }

  .center-item {
    width: 40%;
    height: 40%;
  }

  .item1, .item2, .item3, .item4, .item5, .item6, .item7, .item8 {
    transform: translate(-50%, -50%) translateX(100px);  /* Even more compact layout */
  }

  .item2 {
    transform: translate(-50%, -50%) rotate(45deg) translateX(100px) rotate(-45deg);
  }

  .item3 {
    transform: translate(-50%, -50%) rotate(90deg) translateX(100px) rotate(-90deg);
  }

  .item4 {
    transform: translate(-50%, -50%) rotate(135deg) translateX(100px) rotate(-135deg);
  }

  .item5 {
    transform: translate(-50%, -50%) rotate(180deg) translateX(100px) rotate(-180deg);
  }

  .item6 {
    transform: translate(-50%, -50%) rotate(225deg) translateX(100px) rotate(-225deg);
  }

  .item7 {
    transform: translate(-50%, -50%) rotate(270deg) translateX(100px) rotate(-270deg);
  }

  .item8 {
    transform: translate(-50%, -50%) rotate(315deg) translateX(100px) rotate(-315deg);
  }

  .service h3 {
      font-size: 18px; /* Smaller heading */
  }

  .service p {
      font-size: 14px; /* Smaller text */
  }

  .rent-now-btn {
      font-size: 14px;
      padding: 10px 20px; /* Adjust button size for smaller devices */
  }

  .service-img {
    height: 150px; /* Even smaller height for very small screens */
  }

  .bike-item {
    width: 100%; /* For very small screens, make items almost full width */
  }

  .booking-form {
    width: 90%; /* Take up more width on smaller screens */
  }

  .form-container {
    padding: 15px;
  }

  .checkbox-label {
    font-size: 14px; /* Reduce font size of checkbox label on small screens */
    margin-top: 10px;
  }

  .submit {
    padding: 10px 20px; /* Make button more compact */
    font-size: 16px;
  }

  .popup-content h2 {
    font-size: 18px;
}

.popup-content p {
    font-size: 12px;
}
}

@media (max-width: 768px) {
  body {
    overflow-x: hidden;
  }

  .header-container {
    max-width: 199%;
    width: 100%;
    justify-content: center;  /* Center logo and toggle */
    padding: 10px 20px;
  }

  .logo {
    order: 1; /* Logo stays on the left side */
  }

  /* Menu Styles for mobile view */
  .header-container {
    justify-content: center;  /* Center logo and toggle */
    padding: 10px 20px;
  }

  .logo {
    order: 1; /* Logo stays on the left side */
  }

  /* Menu Styles for mobile view */
  .menu {
    display: block; /* Stacks menu items vertically on mobile */
    position: fixed; /* Fixed on the viewport */
    top: 0;
    right: 0; /* Align to the right side */
    height: 100vh; /* Full viewport height */
    width: 250px; /* Sidebar width */
    background-color: rgba(255, 255, 255, 0.3); /* Sidebar background color */
    backdrop-filter: blur(10px);
    transform: translateX(100%); /* Initially hidden off the right */
    transition: transform 0.3s ease; /* Smooth slide-in effect */
    padding: 20px;
    z-index: 999; /* Ensure it appears above other content */
    overflow: hidden; /* Prevent the menu from causing horizontal scrolling */
  }

  .menu.active {
    transform: translateX(0); /* Slide into view when active */
  }

  .menu ul {
    display: block;
    padding-top: calc(var(--header-height, 80px) + 20px);
  }

  .menu li {
    padding: 15px 0; /* Space between items */
  }

  .menu a {
    color: black;
    font-weight: 600;
    font-size: 22px; /* Adjust font size */
    padding: 15px 20px;
  }

  .menu.active a {
    color: black;
  }

  .menu.active a:hover {
    color: #ffaa22; /* Hover color */
    border-bottom: 2px solid #000000; /* Underline on hover */
  }

  /* Menu Toggle Button */
  .menu-toggle {
    display: block; /* Show on mobile only */
    position: absolute;
    right: 20px; /* Adjust toggle position to the right */
    z-index: 1001; /* Ensure it is above the menu */
    cursor: pointer;
  }

  /* Ensure the menu is not off-screen by default */
  body.menu-active {
    overflow: hidden; /* Prevent body scrolling when menu is open */
  }

  .collage {
    width: 80vw;  /* Adjust size for smaller screens */
    height: 80vw;
    max-width: 500px;
    max-height: 500px;
  }

  /* Adjust collage items for smaller screens */
  .collage-item {
    width: 30%;  /* Make items smaller */
    height: 30%;
  }

  .center-item {
    width: 30%;
    height: 30%;
  }

  /* Adjust position of items for smaller screens */
  .item1, .item2, .item3, .item4, .item5, .item6, .item7, .item8 {
    transform: translate(-50%, -50%) translateX(150px);  /* Reduce the spread */
  }

  .item2 {
    transform: translate(-50%, -50%) rotate(45deg) translateX(150px) rotate(-45deg);
  }

  .item3 {
    transform: translate(-50%, -50%) rotate(90deg) translateX(150px) rotate(-90deg);
  }

  .item4 {
    transform: translate(-50%, -50%) rotate(135deg) translateX(150px) rotate(-135deg);
  }

  .item5 {
    transform: translate(-50%, -50%) rotate(180deg) translateX(150px) rotate(-180deg);
  }

  .item6 {
    transform: translate(-50%, -50%) rotate(225deg) translateX(150px) rotate(-225deg);
  }

  .item7 {
    transform: translate(-50%, -50%) rotate(270deg) translateX(150px) rotate(-270deg);
  }

  .item8 {
    transform: translate(-50%, -50%) rotate(315deg) translateX(150px) rotate(-315deg);
  }

  .services-container {
    flex-direction: column;
    align-items: center;
  }

  .service {
    width: 80%; /* Make each service section occupy 80% width */
    margin-bottom: 20px;
  }

  .service-img, .bike-img {
    aspect-ratio: 16 / 9; /* Maintains a consistent aspect ratio */
    object-fit: cover; /* Ensures images fill the area without distortion */
    width: 100%; /* Responsive width */
}

  .bike-scooter-items {
    display: flex;
    flex-wrap: wrap; /* Ensure items wrap to the next row if necessary */
    justify-content: space-between; /* Space out items */
    gap: 10px; /* Add spacing between items */
  }

  .bike-item {
    width: calc(50% - 10px); /* Adjust width to fit two items per row */
  }

  .bike-scooters-container {
    width: 100%;
    max-width: 100%; /* Prevent the container from exceeding the screen width */
    padding: 20px;
  }

  .container,
.bike-scooters-container,
.services-container,
.service,
.bike-item,
.form-container,
.booking-form {
  box-sizing: border-box;
}

  .section-heading {
      font-size: 28px;
  }

  .about-us-content {
    padding: 20px;
  }

  .about-image img {
    width: 70%; /* Adjusted for smaller screens */
  }

  .booking-form {
    width: 100%;
    max-width: 100%; /* Prevent form container from exceeding screen width */
    margin: 0 auto;
    padding: 30px;
    padding-top: 100px;
    box-sizing: border-box; /* Ensure padding doesn't make it overflow */
  }

  .popup-content {
    width: 90%;
    max-width: 350px;
    padding: 15px;
  }

  .popup-content h2 {
      font-size: 20px;
  }

  .popup-content p {
      font-size: 14px;
  }

  .popup-content button {
      font-size: 14px;
      padding: 8px 16px;
  }

}

@media (min-width: 769px) {
  .menu {
    display: flex; /* Horizontal layout for desktop */
    list-style: none;
    gap: 15px; /* Space between items */
    position: relative; /* Position relative for desktop */
    background-color: transparent; /* No background for desktop */
    height: auto; /* No fixed height for desktop */
    width: auto; /* Auto width for desktop */
    transform: none; /* No sliding for desktop */
    transition: none; /* No transition for desktop */
    margin: 0; /* Adjust alignment */
  }
}
