/* ===== Site Header ===== */

/* Info bar */
.header-info {
  background: #fff;
}
.site-header {
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.16);
}
.header-info-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  align-items: center;
  column-gap: 20px;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 10px;
}

/* Logo */
.header-logo {
  flex-shrink: 0;
  padding-top: 15px;
  text-align: right;
}

.header-logo a {
  display: inline-block;
}

.header-logo-img {
  height: 40px;
  width: auto;
  display: block;
}

/* Spacer (empty column) */
.header-info-spacer {
  display: block;
}

/* Individual info item */
.header-info-item {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 12px;
  padding-left: 20px;
  border-left: 1px solid #e0e0e0;
}

.header-info-icon {
  flex-shrink: 0;
}

.header-info-icon svg {
  width: 24px;
  height: 24px;
  fill: #333;
}

.header-info-icon a {
  display: flex;
  text-decoration: none;
}

.header-info-text h3 {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  line-height: 1.3;
}

.header-info-text h3 a {
  color: #333;
  text-decoration: none;
}

.header-info-text h3 a:hover {
  color: #e53935;
}

.header-info-text p {
  margin: 2px 0 0;
  font-size: 11px;
  color: #666;
  line-height: 1.4;
  white-space: nowrap;
}

.header-info-text p a {
  color: black;
  text-decoration: none;
}

.header-info-text p a:hover {
  text-decoration: underline;
}

/* ===== Navigation Bar ===== */
.header-nav {
  background: #fff;
  position: relative;
  z-index: 1000;
}

.header-nav.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-nav-inner {
  display: flex;
  align-items: center;
  padding: 20px;
}

/* Menu list */
.header-menu {
  list-style: none;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding-left: 15%;
}

.header-menu > li {
  position: relative;
  text-align: left;
}

.header-menu > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 13px 10px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
}

.header-menu > li > a:hover {
  color: #e53935;
}

/* Dropdown arrow icon */
.dropdown-arrow {
  width: 10px;
  height: 10px;
  fill: currentColor;
  transition: transform 0.2s;
}

/* Dropdown menu */
.dropdown-menu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  left: 0;
  transform: translateY(4px);
  min-width: 220px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.2s,
    visibility 0.2s,
    transform 0.2s;
  z-index: 100;
}

.has-dropdown:hover > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.has-dropdown:hover > a .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu li a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  color: #555;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.15s,
    color 0.15s;
}

.dropdown-menu li a:hover {
  background: #f5f5f5;
  color: #e53935;
}

/* CTA Button */
.header-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  background: #222;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 50px;
  white-space: nowrap;
  transition: background 0.2s;
  margin-left: auto;
  flex-shrink: 0;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
}

.header-cta-btn:hover {
  background: #444;
}

/* Mobile toggle */
.header-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.header-mobile-toggle svg {
  width: 24px;
  height: 24px;
  fill: #333;
}

.hamburger-close {
  display: none;
}

.header-mobile-toggle[aria-expanded="true"] .hamburger-open {
  display: none;
}

.header-mobile-toggle[aria-expanded="true"] .hamburger-close {
  display: block;
}

/* ===== Responsive ===== */

/* Hide info items on smaller screens */
@media (max-width: 1200px) {
  .header-info-inner {
    display: flex;
  }

  .header-info-spacer,
  .header-info-item {
    display: none;
  }
}

/* Mobile nav */
@media (max-width: 768px) {
  .header-mobile-toggle {
    display: block;
  }

  .header-nav-inner {
    padding: 12px 20px;
  }

  .header-menu {
    display: none;
  }

  .header-cta-btn {
    display: none;
  }

  .header-nav.mobile-open .header-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    z-index: 999;
  }

  .header-menu > li {
    flex: none;
    text-align: left;
  }

  .header-menu > li > a {
    justify-content: flex-start;
    padding: 12px 20px;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    padding-left: 0;
    align-items: center;
    transition: none;
    min-width: unset;
  }

  .has-dropdown.dropdown-open > .dropdown-menu {
    display: block;
  }

  .dropdown-menu li {
    text-align: left;
    width: 100%;
  }

  .dropdown-menu li a {
    text-align: left;
    padding: 8px 20px;
  }
}
