/* ===========================
   Header Styles
   =========================== */

.site_header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.site_header.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.header_container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Logo */
.header_logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
  font-size: 2.4rem;
  font-weight: 700;
  transition: opacity 0.3s ease;
}

.header_logo a:hover {
  opacity: 0.8;
}

.header_logo img {
  height: 40px;
  width: auto;
}

.logo_text {
  color: #333;
  font-size: 2.4rem;
  font-weight: 700;
}

/* Navigation */
.header_nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav_list {
  display: flex;
  align-items: center;
  gap: 35px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav_item a {
  color: #333;
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
  transition: color 0.3s ease;
}

.nav_item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #FFD93D;
  transition: width 0.3s ease;
}

.nav_item a:hover {
  color: #FFD93D;
}

.nav_item a:hover::after {
  width: 100%;
}


/* Hamburger Menu */
.hamburger_menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger_menu span {
  width: 100%;
  height: 3px;
  background: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger_menu.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger_menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger_menu.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
.mobile_nav_overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile_nav_overlay.active {
  display: block;
  opacity: 1;
}

.mobile_nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 350px;
  height: 100vh;
  background: #fff;
  z-index: 999;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
}

.mobile_nav.active {
  right: 0;
}

.mobile_nav_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 20px;
  border-bottom: 1px solid #f0f0f0;
}

.mobile_logo {
  font-size: 2rem;
  font-weight: 700;
  color: #333;
}

.mobile_close {
  background: none;
  border: none;
  font-size: 3.5rem;
  color: #333;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile_nav_list {
  list-style: none;
  margin: 0;
  padding: 20px 0;
}

.mobile_nav_list li {
  border-bottom: 1px solid #f5f5f5;
}

.mobile_nav_list a {
  display: block;
  padding: 18px 25px;
  color: #333;
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.mobile_nav_list a:hover {
  background: #f9f9f9;
  color: #FFD93D;
  padding-left: 30px;
}

/* ===========================
   Responsive Design
   =========================== */
@media screen and (max-width: 1200px) {
  .header_container {
    padding: 18px 30px;
  }

  .nav_list {
    gap: 25px;
  }

  .nav_item a {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 1024px) {
  .header_nav {
    display: none;
  }

  .hamburger_menu {
    display: flex;
  }

  .header_container {
    padding: 18px 25px;
  }
}

@media screen and (max-width: 768px) {
  .header_container {
    padding: 15px 20px;
  }

  .header_logo a {
    font-size: 2rem;
  }

  .header_logo img {
    height: 35px;
  }

  .mobile_nav {
    width: 85%;
    max-width: 300px;
  }
}

@media screen and (max-width: 480px) {
  .header_container {
    padding: 12px 15px;
  }

  .header_logo a {
    font-size: 1.8rem;
  }

  .mobile_nav {
    width: 90%;
  }
}
