/* Universal reset for margin and padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Full height and width for html and body to ensure consistent layout */
html,
body {
  height: 100%;
  width: 100%;
  font-family: "Inter", sans-serif; /* Using Inter as a preferred font */
  background-color: #000;
}

/* Main container for the entire page */
#main {
  margin: 0;
  padding: 0;
  height: auto; /* Auto height to contain content, min-height for full viewport */
  min-height: 100vh; /* Ensures main takes at least full viewport height */
  width: 100%;
  background-color: #000; /* Black background */
}

/* Header section styling */
.header {
  height: 80px; /* Fixed height for header */
  width: 100%;
  background-color: #000;
  display: flex; /* Flexbox for alignment */
  align-items: center; /* Vertically center items */
  justify-content: space-between; /* Distribute items with space between them */
  padding: 0 30px; /* Horizontal padding */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle bottom border */
}

/* Logo styling */
#logo img{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}
.header #logo {
  color: #fff; /* White color for logo text */
  font-size: clamp(24px, 5vw, 48px); /* Responsive font size for logo */
  font-family: Arial, Helvetica, sans-serif; /* Specific font stack for logo */
  text-transform: uppercase; /* Uppercase text */
  font-weight: 700; /* Bold font weight */
  letter-spacing: 1px; /* Slight letter spacing for aesthetics */
}

/* Quote button styling */
.quote {
  padding: 10px 15px; /* Increased padding for better touch target */
  color: #000; /* Text color */
  background-color: lightseagreen; /* Background color */
  border: none; /* No border */
  border-radius: 7px; /* Rounded corners */
  cursor: pointer; /* Pointer cursor on hover */
  transition: background-color 0.3s ease; /* Smooth transition for hover effect */
}

.quote:hover {
  background-color: #ff8c8c; /* Lighter shade on hover */
}

/* Hamburger icon styling */
.quote i {
  font-size: 28px; /* Adjusted font size for visibility */
  font-weight: 600; /* Font weight */
  display: block; /* Ensures the icon takes its own line within the button */
  line-height: 1; /* Adjusts line height for vertical alignment */
}

/* Responsive adjustments for header on smaller screens */
@media (max-width: 600px) {
  .header {
    padding: 0 20px; /* Reduce padding on smaller screens */
  }

  .header #logo {
    font-size: clamp(
      20px,
      6vw,
      36px
    ); /* Adjust logo font size for smaller screens */
  }

  .quote {
    padding: 8px 12px; /* Adjust button padding for smaller screens */
  }

  .quote i {
    font-size: 24px; /* Adjust icon size for smaller screens */
  }
}

/* --- Image Slider Styles --- */
.slider-container {
  max-width: 1200px; /* Maximum width for the slider */
  position: relative; /* Needed for absolute positioning of arrows */
  margin: 20px auto; /* Center the slider with some top/bottom margin */
  overflow: hidden; /* Hide overflowing parts of images */
  border-radius: 10px; /* Rounded corners for the slider container */
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5); /* Soft shadow */
  height: 400px; /* Fixed height for the slider to prevent CLS */
}

.slides {
  display: flex;
  justify-content: center;/* Use flexbox to arrange slides */
  align-items: center;
  width: 100%; /* 100% per slide * number of slides */
  transition: transform 0.5s ease-in-out; /* Smooth transition for slide changes */
  height: 100%; /* Ensure slides take full height of container */
}

.slide {
  width: 100%; /* Each slide takes full width of the container */
  flex-shrink: 0; /* Prevent slides from shrinking */
  display: none; /* Hidden by default, JavaScript will show the active one */
  border-radius: 10px; /* Rounded corners for images */
  object-fit: cover; /* Cover the container while maintaining aspect ratio */
  height: 100%; /* Ensure image takes full height of slide */
}

.slide.active {
  display: block; /* Show the active slide */
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -22px;
  color: white;
  font-weight: bold;
  font-size: 30px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background */
  border: none;
  z-index: 10; /* Ensure arrows are above images */
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background with a little more opacity */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* The dots/indicators */
.dots-container {
  text-align: center;
  padding: 10px;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11; /* Ensure dots are above images */
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent white */
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dot.active,
.dot:hover {
  background-color: #fff; /* Solid white for active/hover */
}

/* Responsive adjustments for slider on smaller screens */
@media (max-width: 768px) {
  .slider-container {
    margin: 15px auto;
    width: 95%; /* Adjust width for smaller screens */
    height: 300px; /* Adjust height for smaller screens */
  }
  .prev,
  .next {
    font-size: 24px;
    padding: 12px;
  }
  .dots-container {
    bottom: 5px;
  }
  .dot {
    height: 12px;
    width: 12px;
    margin: 0 3px;
  }
}
@media (max-width: 480px) {
  .slider-container {
    height: 200px; /* Further adjust height for very small screens */
  }
  .prev,
  .next {
    font-size: 20px;
    padding: 8px;
  }
}
