/* Index Landing Page */
#header-placeholder {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
}

/* Hero Section */
#hero {
  background-image: url(../assets/lux.jpg);
  background-size: cover;
  background-position: center;
  height: 95vh;
  width: 100%; /* Ensures no scrollbar */
  margin: 0;
  padding: 0;
  overflow: hidden; /* Prevents any content overflow */
  color: white;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-content {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

#hero h1 {
  font-size: 3rem;
  color: gold;
}

.hero-buttons {
  margin-top: 20px;
}

.hero-btn {
  background-color: gold;
  color: #1c1c1c;
  padding: 15px 25px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 5px;
  margin: 0 10px;
  transition: background-color 0.3s ease;
}

.hero-btn:hover {
  background-color: #d4af37;
}

/* Intro Section */
#intro {
  padding: 40px 20px;
  background-color: #262626;
  border: 2px solid gold;
  border-radius: 10px;
  margin: 40px auto;
  text-align: center;
  max-width: 800px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.intro-content h2 {
  font-size: 2rem;
  color: gold;
  margin-bottom: 20px;
}

.intro-content p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: white;
}

/* Services Section */
#services {
  padding: 40px 0;
  background-color: #1c1c1c;
  color: white;
  text-align: center;
  overflow: hidden;
}

.services-header h2 {
  font-size: 2.5rem;
  color: gold;
  margin-bottom: 10px;
}

.services-header p {
  font-size: 1.2rem;
  color: white;
  margin-bottom: 30px;
}

.services-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px;
  justify-content: center; /* Centers the cards within the viewport */
  scroll-behavior: smooth;
}

.carousel-item {
  flex: 0 0 300px; /* Each card maintains a fixed width */
  background-color: #262626;
  border: 2px solid gold;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.carousel-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.carousel-item h3 {
  color: gold;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.carousel-item p {
  font-size: 1rem;
}

/* Calendar Section */
#calendar {
  padding: 40px;
  text-align: center;
  color: white;
  border-top: 2px solid gold;
}

.calendar-container h2 {
  font-size: 2rem;
  color: gold;
  margin-bottom: 10px;
}

.calendar-container p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

#calendar-btn {
  background-color: gold;
  color: #1c1c1c;
  padding: 15px 25px;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 5px;
  margin: 0 10px;
  transition: background-color 0.3s ease;
}

#calendar-btn:hover {
  background-color: #d4af37;
}

/* Extra Small Devices (Portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  /* Hero Section Adjustments */
  #hero {
    height: 70vh; /* slightly shorter on very small screens */
  }
  #hero h1 {
    font-size: 1.8rem; /* reduce font size */
  }
  .hero-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* optional: space between the buttons */
  }
  .hero-btn {
    font-size: 1rem;
    padding: 10px 20px;
    margin: 5px 0; /* update margin for vertical spacing */
  }

  /* Intro Section Adjustments */
  #intro {
    padding: 20px 10px;
    margin: 20px;
  }
  .intro-content h2 {
    font-size: 1.5rem;
  }
  .intro-content p {
    font-size: 1rem;
  }

  /* Carousel Adjustments */
  .services-carousel {
    flex-direction: column; /* stack carousel items */
    gap: 10px;
  }
  .carousel-item {
    flex: 0 0 auto;
    width: 90%;
    margin: 0 auto;
    padding: 15px;
  }

  /* Calendar Section */
  #calendar {
    padding: 20px;
  }
  .calendar-container h2 {
    font-size: 1.5rem;
  }
  .calendar-container p {
    font-size: 1rem;
  }
}

/* Small Devices (Landscape phones, 576px and up, up to 767.98px) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* Hero Section Adjustments */
  #hero {
    height: 75vh;
  }
  #hero h1 {
    font-size: 2rem;
  }
  .hero-btn {
    font-size: 1.1rem;
    padding: 12px 22px;
  }

  /* Intro Section Adjustments */
  #intro {
    padding: 30px 15px;
    margin: 25px auto;
  }
  .intro-content h2 {
    font-size: 1.75rem;
  }
  .intro-content p {
    font-size: 1.1rem;
  }

  /* Carousel Adjustments */
  .services-carousel {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }
  .carousel-item {
    flex: 0 0 80%;
    margin-bottom: 15px;
  }

  /* Calendar Section */
  #calendar {
    padding: 30px;
  }
  .calendar-container h2 {
    font-size: 1.75rem;
  }
  .calendar-container p {
    font-size: 1.1rem;
  }
}

/* Medium Devices (Tablets, 768px and up, up to 991.98px) */
@media (min-width: 768px) and (max-width: 991.98px) {
  /* Hero Section Adjustments */
  #hero {
    height: 80vh;
  }
  #hero h1 {
    font-size: 2.5rem;
  }
  .hero-btn {
    font-size: 1.2rem;
    padding: 14px 24px;
  }

  /* Intro Section Adjustments */
  #intro {
    padding: 35px 20px;
    margin: 30px auto;
  }
  .intro-content h2 {
    font-size: 2rem;
  }
  .intro-content p {
    font-size: 1.2rem;
  }

  /* Carousel Adjustments */
  .services-carousel {
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  .carousel-item {
    flex: 0 0 45%;
    margin: 10px;
  }

  /* Calendar Section */
  #calendar {
    padding: 35px;
  }
  .calendar-container h2 {
    font-size: 2rem;
  }
  .calendar-container p {
    font-size: 1.2rem;
  }
}
