#hero {
  position: relative;
}

#hero .carousel-item {
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 100vh;
}

/* Alternative: Individual slide backgrounds */
#hero .carousel-item:nth-child(1) {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

#hero .carousel-item:nth-child(2) {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

#hero .carousel-item:nth-child(3) {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.main-nav {
  background: rgba(251, 251, 253, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
}

/* Making carousel controls slightly more prominent */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    padding: 1.5rem;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 44px;
}

.nav-brand a {
  font-size: 20px;
  font-weight: 600;
  color: #1d1d1f;
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-item {
  position: relative;
  margin: 0 15px;
}

.nav-link {
  color: #1d1d1f;
  text-decoration: none;
  font-size: 17px;
  font-weight: 400;
  padding: 12px 0;
  display: block;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #0071e3;
}
.navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
}

.navbar-nav .dropdown-menu {
    border-top: none;
}
/* Dropdown Styles */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  background: rgba(251, 251, 253, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(-10px);
  transition: all 0.4s ease;
  min-width: 200px;
  margin-top: 8px;
}

.dropdown-menu-dark {
    background-color: #212529; 
}
.dropdown-menu-dark .dropdown-item {
    color: #f8f9fa; /* Light color for text */
}

.dropdown-menu-dark .dropdown-item:hover {
    color: #ffffff; /* Brighter white on hover */
    background-color: rgba(255, 255, 255, 0.1); /* Subtle highlight on hover */
}
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
  margin-top: 0;

}

.dropdown-content {
  padding: 12px 0;
}

.dropdown-menu:hover {
    display: block !important;
}

.dropdown-item {
  display: block;
  color: #1d1d1f;
  text-decoration: none;
  padding: 8px 24px;
  font-size: 17px;
  font-weight: 400;
  transition: background-color 0.2s ease;
}

.dropdown-item:hover {
  background-color: #f5f5f7;
  color: #0071e3;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 15px;
  }
  
  .nav-item {
    margin: 0 10px;
  }
  
  .nav-link {
    font-size: 16px;
  }
  
  .dropdown-menu {
    min-width: 180px;
  }
}
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Fix for CSP violations - moving inline styles to CSS classes */
.slide-navigation {
    z-index: 1050;
}

.maps-iframe {
    border: 0;
}

.social-link {
    text-decoration: none;
}

.social-icon {
    font-size: 1.5rem;
}
