/* Header Styles */
#header {
  position: relative; /* Default positioning */
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: all 0.3s ease;
  padding: 1.5rem 0;
  background: #000;
}

#header.scrolled {
  background-color: var(--text-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

#header.scrolled .logo h1,
#header.scrolled .main-nav a,
#header.scrolled .header-actions .btn-outline {
  color: var(--primary-dark);
}

.header-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 0;
  transition: color 0.3s ease;
}

.main-nav ul {
  display: flex;
  gap: 2rem;
}

.main-nav a {
  color: var(--text-light);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
  transition: all 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-actions .btn-outline {
  color: var(--text-light);
  border-color: var(--text-light);
}

.header-actions .btn-outline:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

.mobile-menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--text-light);
  cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: var(--text-light);
  z-index: 1001;
  padding: 2rem;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  color: var(--primary-dark);
  cursor: pointer;
}

.mobile-menu-nav {
  margin-top: 3rem;
}

.mobile-menu-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-menu-nav a {
  color: var(--primary-dark);
  font-weight: 500;
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a.active {
  color: var(--primary-color);
}

.mobile-menu-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-menu-actions .btn {
  width: 100%;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}