/* ============================================
   Header Styles
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  transition: all 0.5s ease;
}

.header.transparent {
  background: transparent;
}

.header.scrolled {
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-card);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-logo img {
  height: 4rem;
  width: auto;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.45));
}

.header-logo:hover img {
  transform: scale(1.05);
}

.header-logo-text {
  line-height: 1.25;
}

.header-logo-text .brand {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.header-logo-text .brand.text-white { color: #fff; }
.header-logo-text .brand.text-foreground { color: var(--foreground); }

.header-logo-text .sub {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--gold);
}

.header-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .header-nav { display: flex; }
}

.header-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
  color: rgba(255, 255, 255, 0.85);
}

.header-nav a:hover,
.header-nav a.active {
  color: var(--gold);
}

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

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

/* Dropdown styles */
.header-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  background-color: oklch(0.14 0.008 70 / 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.5rem;
  box-shadow: var(--shadow-elegant);
  padding: 0.5rem 0;
  min-width: 180px;
  z-index: 50;
  display: flex;
  flex-direction: column;
}

.group:hover .header-dropdown {
  opacity: 1;
  visibility: visible;
}

.header-dropdown a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s, background-color 0.2s;
}

.header-dropdown a:hover {
  color: var(--gold);
  background-color: rgba(255, 255, 255, 0.05);
}

.header-actions {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .header-actions { display: flex; }
}

.header-toggle {
  display: block;
  padding: 0.5rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .header-toggle { display: none; }
}

.header-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: oklch(0.14 0.008 70 / 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-elegant);
  z-index: 40;
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 0.75rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s;
}

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

/* Mobile menu buttons */
.mobile-menu .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
  margin-top: 0.5rem;
}

.mobile-menu .btn:first-of-type {
  margin-top: 0.75rem;
}
