/* === Base Header Styles === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  padding: 1rem 2rem;
  z-index: 1000;
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: none;
}

.site-header.scrolled {
  background: #111;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
}

.header-container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  gap: 1rem;
}


.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #1e90ff;
  text-transform: uppercase;
  justify-self: start;
}

.logo span {
  color: #fff;
}

/* === Hamburger Styles === */

.hamburger {
  justify-self: end;
  margin-left: auto;
}


.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Open state */
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* === Nav Wrapper === */
.nav-wrapper {
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* === Navigation === */
.main-nav {
  justify-self: center;
  justify-content: center;
  display: flex;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  margin: 0 auto;
  padding: 0;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #1e90ff;
}

/* === CTA Button === */
.cta-button {
  justify-self: end;
  display: flex;
}

.btn-header {
  background: linear-gradient(90deg, #ff416c, #ff4b2b);
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  box-shadow: 0 5px 15px rgba(255, 65, 108, 0.4);
  transition: all 0.3s ease;
}

.btn-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 75, 43, 0.5);
}

/* === Transparent Mode === */
.site-header.transparent .nav-links a {
  color: #fff;
}

.site-header.transparent .nav-links a:hover {
  color: #1e90ff;
}

.site-header.transparent .logo {
  color: #1e90ff;
}

.site-header.transparent .logo span {
  color: #fff;
}

/* === Mobile Styles === */
@media (max-width: 820px) {
  .nav-wrapper {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0c0c0c;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 0;
    z-index: 999;
  }

  .nav-wrapper.active {
    display: flex;
  }

  .main-nav {
    flex-direction: column;
    align-items: center;
  }

  .nav-links {
    flex-direction: column;
    gap: 1.2rem;
  }

  .cta-button {
    margin-top: 1rem;
    justify-content: center;
    width: 100%;
  }

  .hamburger {
    display: flex;
  }
}

/* === Desktop Styles === */
@media (min-width: 769px) {
  .nav-wrapper {
    display: flex !important;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    background: transparent;
  }

  .main-nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    background: transparent;
    padding: 0;
    flex: 1;
  }

  .nav-links {
    flex-direction: row;
    justify-content: center;
    width: 100%;
  }

  .cta-button {
    margin-top: 0;
    justify-content: flex-end;
  }

  .hamburger {
    display: none !important;
  }
}
