* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Nunito', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: #fff;
}

a {
  text-decoration: none;
  color: white;
}

.parallax {
  position: unset;
  overflow: hidden;
}

.parallax-layer {
  will-change: transform;
  transition: transform 0.1s linear;
}

section {
  overflow: hidden;
  z-index: 1;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  backdrop-filter: blur(6px);

  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.header.scrolled {
  background:
    radial-gradient(circle at center, rgba(88, 10, 22, 0.65), rgba(88, 10, 22, 0.92)),
    rgba(88, 10, 22, 0.72);

  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo img {
  height: 65px;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-title img {
  height: 40px;
}

.logo-tagline {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 1px;
  opacity: 0.75;
}

nav a {
  margin-left: 50px;
  font-size: 18px;
}

nav a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 6px;
}

nav a.active {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.login-btn {
  border: 1px solid #fff;
  padding: 6px 14px;
  border-radius: 20px;
}

.login-btn:hover {
  background-color: #fff;
  color: #550216;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

.menu-toggle {
  display: none;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background:
    radial-gradient(circle at center, rgba(88, 10, 22, 0.65), rgba(88, 10, 22, 0.92)),
    rgba(88, 10, 22, 0.85);
  z-index: 2000;
  padding: 28px 22px;
  transition: right 0.4s ease;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-header {
  display: flex;
  justify-content: flex-end;
}

.mobile-menu-header img {
  width: 24px;
  cursor: pointer;
}

.mobile-nav {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.mobile-nav a {
  font-size: 18px;
  color: #fff;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
}

.mobile-nav a i {
  width: 28px;
  margin-right: 12px;
  text-align: center;
}

.mobile-nav .login-link {
  margin-top: 20px;
  font-weight: 500;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  z-index: 1500;
  transition: opacity 0.3s ease;
}

.menu-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 768px) {

  .parallax-layer {
    transform: none !important;
  }

  .header {
    padding: 20px 18px;
    backdrop-filter: blur(4px);
  }

  .logo img {
    height: 50px;
  }

  .logo {
    gap: 10px;
  }

  .logo-title img {
    height: 30px;
  }

  .mobile-nav {
    gap: 40px;
  }

  .mobile-nav a i {
    margin-right: 25px;
  }

  nav a {
    margin-left: 20px;
  }

  .logo-tagline {
    font-size: 10px;
    margin-top: 4px;
    letter-spacing: 0.8px;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }

  .menu-toggle img {
    width: 30px;
    height: auto;
  }

  nav {
    display: none;
  }

}