/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

/* General styles */
.sticky-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  letter-spacing: 0.5px;
}

.nav-link-hover {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  color: #343a40 !important;
}

.nav-link-hover:hover {
  color: #007bff !important;
  transform: scale(1.05);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 123, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile Navigation Button */
.navbar-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 0.5rem;
  cursor: pointer;
  margin-right: 1rem;
}

/* Mobile Navigation Sidebar */
.mobile-nav {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100vh;
  background-color: white;
  z-index: 1100;
  transition: transform 0.3s ease-in-out;
  padding: 1rem;
  padding-top: 4rem;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.mobile-nav.show {
  transform: translateX(250px);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
}

.mobile-nav-links .nav-link {
  color: #333;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.mobile-nav-links .nav-link:hover {
  background-color: #f8f9fa;
}

/* Overlay when mobile nav is open */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1050;
  cursor: pointer; /* Add this to show it's clickable */
}

.nav-overlay.show {
  display: block;
}

/* Map container styles */
.map-container {
  height: calc(100vh - 56px);
  width: 100%;
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  /* Show hamburger button */
  .navbar-toggle {
    display: block;
  }

  /* Hide desktop navigation */
  .desktop-nav {
    display: none;
  }

  /* Make the map take full width on mobile */
  .col-md-8 {
    width: 100%;
  }
}

/* Desktop styles */
@media (min-width: 769px) {
  .mobile-nav,
  .navbar-toggle,
  .nav-overlay {
    display: none;
  }
}

/* Responsive adjustments for tablets */
@media (min-width: 769px) and (max-width: 1024px) {
  .col-md-4 {
    width: 40%;
  }

  .col-md-8 {
    width: 60%;
  }
}
