/* Navbar Styles */
.navbar {
  position: static;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Homepage specific navbar styles */
body.homepage .navbar {
  position: fixed;
  top: 0;
  left: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

body.homepage .navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.navbar-logo {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.3s ease;
}

/* Homepage specific logo styles */
body.homepage .navbar-logo {
  opacity: 0;
  transform: translateX(-20px);
}

body.homepage .navbar-logo.show {
  opacity: 1;
  transform: translateX(0);
}

.navbar-logo img {
  height: 60px;
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: 50px;
}

.navbar-links {
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.navbar-links a {
  color: #333;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* Homepage specific link styles */
body.homepage .navbar-links a {
  color: white;
}

body.homepage .navbar.scrolled .navbar-links a {
  color: #333;
}

.navbar-links a:hover {
  color: #888;
}

.hamburger-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.1);
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* Homepage specific hamburger styles */
body.homepage .hamburger-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

body.homepage .navbar.scrolled .hamburger-btn {
  background: rgba(0, 0, 0, 0.1);
  color: #333;
}

.hamburger-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.navbar.scrolled .hamburger-btn:hover {
  background: rgba(0, 0, 0, 0.2);
}

.hamburger-icon {
  width: 24px;
  height: 24px;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: white;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
  transition: right 0.3s ease;
  z-index: 1001;
  overflow-y: auto;
}

.sidebar.open {
  right: 0;
}

.sidebar-content {
  padding: 80px 40px 40px;
}

.sidebar-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border: none;
  background: none;
  cursor: pointer;
  color: #666;
}

.sidebar-section {
  margin-bottom: 40px;
}

.sidebar-section h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
}

.sidebar-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-left: 20px;
}

.sidebar-section ul li {
  margin-bottom: 12px;
}

.sidebar-section ul li a {
  color: #666;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
}

.sidebar-section ul li a:hover {
  color: #333;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .navbar-links {
    display: none;
  }

  .sidebar {
    width: 100%;
    right: -100%;
  }

  .sidebar.open {
    right: 0;
  }

  .sidebar-content {
    padding: 60px 30px 30px;
  }

  /* Add mobile menu items */
  .mobile-only {
    display: block;
  }
}

@media (min-width: 769px) {
  .mobile-only {
    display: none;
  }
}
