/* ============================
   Top Header (Desktop Only)
============================= */
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111;
  color: #ccc;
  padding: 8px 40px;
  font-size: 0.85rem;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.5px;
}

.top-left {
  text-transform: uppercase;
}

.top-right a,
.top-right button {
  color: #ccc;
  margin-left: 16px;
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

.top-right button:hover,
.top-right a:hover {
  color: #00c6ff;
}

@media (max-width: 1024px) {
  .top-header {
    display: none;
  }
}

/* ============================
   Main Header
============================= */
.main-header {
  background: #1a1a1a;
  padding: 16px 40px;
  position: relative;
  z-index: 999;
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* Logo */
.logo a {
  text-decoration: none;
}

.logo-text {
  font-size: 2rem;
  font-weight: 800;
  color: gold;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
  animation: fadeInLogo 1.2s ease-in-out;
}

@keyframes fadeInLogo {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Navigation */
.nav-menu {
  margin-top: 16px;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 32px;
  padding: 0;
  margin: 0;
}

.nav-list a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-list a:hover {
  color: #00c6ff;
}
/* ============================
   Sticky Header on Scroll (Updated for Wrapper)
============================= */
.header-wrapper {
    z-index: 999; 
    transition: all 0.3s ease; 
}

.header-wrapper.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.header-wrapper.sticky .top-header {
    display: none; 
}

.header-wrapper.sticky .main-header {
    background-color: #fff; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-wrapper.sticky .main-header .logo-text {
	color: #1a1a1a; 
    font-size: 1.6rem;
}

.header-wrapper.sticky .main-header .nav-list a {
	color: #1a1a1a; 
}

.header-wrapper.sticky .main-header .nav-list a:hover {
    color: #00c6ff;
}
/* ============================
   Sticky Header on Scroll
============================= */
.main-header.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.main-header.sticky .logo-text {
  font-size: 1.6rem;
}

.main-header.sticky .nav-menu {
  display: none;
}

.main-header.sticky .mobile-icons {
  display: flex;
}
