/* Navbar styling */

.nav {
  background-color: #1a1a1a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  font-family: "Poppins", sans-serif;
  z-index: 1050;
}

.nav .logo {
  color: #d4af37;
  font-size: 1.5rem;
  letter-spacing: 1px;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.nav-links li {
  position: relative;
}

.nav-links .nav-link {
  color: #fff;
  padding: 5px 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-links .nav-link:hover, .nav-links .dropdown-item:hover {
  color: #000;
  background-color: #d4af37;
  border-radius: 5px;
}

/* Dropdown */

.nav-links .dropdown-menu {
  display: none;
  position: absolute;
  top: 35px;
  left: 0;
  background: #1a1a1a;
  list-style: none;
  padding: 8px 0;
  border-radius: 5px;
  min-width: 140px;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.nav-links .dropdown-menu li a {
  display: block;
  padding: 6px 15px;
  color: #fff;
  text-decoration: none;
}

.nav-links li.dropdown:hover .dropdown-menu {
  display: block;
}

/* Search box */

.search-box {
  position: absolute;
  right: 50px;
  max-width: 400px;
  width: 0;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.nav.openSearch .search-box {
  width: 300px;
  opacity: 1;
  pointer-events: auto;
}

.search-box input {
  width: 100%;
  padding: 8px 35px 8px 10px;
  border-radius: 5px;
  border: none;
  outline: none;
  background-color: #353842;
  color: #fff;
}

.search-box .search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #d4af37;
}

/* Responsive */

@media screen and (max-width: 768px) {
  .nav .search-box {
    right: 20px;
    width: 0;
  }
}

/* Hero */

/* Full viewport height */

#hero-carousel {
  height: 100vh;
  overflow: hidden;
}

#hero-carousel .carousel-item {
  height: 100vh;
}

#hero-carousel .carousel-item img {
  object-fit: cover;
  height: 100%;
  width: 100%;
}

/* Center captions vertically */

#hero-carousel .carousel-caption {
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.35);
  padding: 20px 30px;
  border-radius: 12px;
  text-align: center;
}

#hero-carousel .carousel-caption h1 {
  font-size: 3rem;
  letter-spacing: 1px;
}

#hero-carousel .carousel-caption p {
  font-size: 1.2rem;
  margin-top: 10px;
  margin-bottom: 15px;
}

#hero-carousel .carousel-caption .btn-gold {
  font-size: 1rem;
  padding: 10px 25px;
}

.text-gold {
  color: #d4af37;
}

.carousel-indicators [data-bs-target] {
  background-color: #d4af37;
}

/* Initial hidden state */

.hero-content {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

/* Active slide animation */

.carousel-item.active .hero-content {
  opacity: 1;
  transform: translateY(0);
}

/* Smooth button animation */

.hero-content .btn {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-content .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(212,175,55,0.4);
}

html, body {
  overflow-x: hidden;
}

/* Scroll To Top Button Styling */

#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 9999;
  font-size: 24px;
  border: none;
  outline: none;
  background-color: #d4af37;
  color: #000;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

#scrollTopBtn:hover {
  background-color: #b8962f;
  color: #fff;
}

