/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: transparent;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.navbar.scrolled {
  background-color: #000;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}

.menu-toggle {
  font-size: 28px;
  cursor: pointer;
}

.nav-links {
  list-style: none;
  display: none;
  flex-direction: column;
  position: absolute;
  top: 70px;
  right: 30px;
  background: rgba(0, 0, 0, 0.9);
  width: 200px;
  border-radius: 5px;
}

.nav-links.active {
  display: flex;
}

.nav-links li {
  text-align: center;
  padding: 15px 0;
}

.nav-links li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #f0a500;
}

/* Slideshow */
.slideshow-container {
  margin-top: 70px; /* Height of navbar */
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1s ease-in-out, transform 20s ease-in-out;
}

.slide.active {
  opacity: 1;
  transform: scale(1.1);
  z-index: 1;
}

.slide-content {
  position: absolute;
  bottom: 50px;
  left: 50px;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  padding: 20px;
  border-radius: 5px;
}

.slide-content h1 {
  font-size: 36px;
  margin-bottom: 10px;
}

.slide-content p {
  font-size: 18px;
}

/* Navigation Buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  padding: 16px;
  color: #fff;
  font-weight: bold;
  font-size: 24px;
  transition: background-color 0.3s ease;
  user-select: none;
  border-radius: 0 3px 3px 0;
  background-color: rgba(0,0,0,0.5);
}

.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Dots */
.dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 5px;
  background-color: rgba(255,255,255,0.5);
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dot.active, .dot:hover {
  background-color: #fff;
}

/* Responsive Styles */
@media (min-width: 769px) {
  .nav-links {
    position: static;
    flex-direction: row;
    background: none;
    width: auto;
    display: flex;
  }

  .nav-links li {
    padding: 0 15px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links.active {
    display: flex;
  }
}

@media (max-width: 768px) {
  .slide-content {
    bottom: 20px;
    left: 20px;
    right: 20px;
  }

  .slide-content h1 {
    font-size: 28px;
  }

  .slide-content p {
    font-size: 16px;
  }
}
