.headerWrapper {
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 8px rgba(44, 54, 126, 0.08);
  position: relative;
  z-index: 10;
  padding: 0 0 1rem 0;
}

.headerFlex {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  width: 100%;
  background: #fff;
}

.logoBox {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  min-width: 220px;
  padding: 1rem 2.5rem 1rem 2.5rem;
  background: #fff;
  z-index: 2;
}

.logo {
  width: 175px;
  height: auto;
  position: static;
  margin-top: 0.5rem;
}

.rightBox {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.topBar {
  background: #1081c9;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 0rem 2rem 0rem 1.5rem;
  border-bottom-left-radius: 25px;
  font-family: 'Agency FB', Arial, sans-serif;
  font-size: 1.1rem;
  gap: 1.5rem;
  min-height: 25px;
  position: relative;
}

.tagline {
  white-space: nowrap;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.hamburgerBtn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  transition: transform 0.2s;
  margin-left: 10px;
}

.hamburgerBtn:hover {
  transform: scale(1.1);
}

.socialIcons {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-left: 1.5rem;
  justify-content: flex-end;
}

.socialIcon {
  width: 28px;
  height: 28px;
  display: inline-block;
  transition: transform 0.2s;
  background: transparent;
}
.socialIcon:hover {
  transform: scale(1.1);
}

.companyNavRow {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0 0.5rem 0;
  background: #fff;
  gap: 2rem;
}

.companyName {
  font-family: 'Castellar', serif;
  font-size: clamp(2rem, 4vw, 4.7rem);
  letter-spacing: 0.07em;
  padding: 1.5rem 0 0 0;
  color: #222;
  text-align: left;
  flex: 1;
  margin-left: 2rem;
  white-space: nowrap;
}

.navBar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 0 0 0;
  gap: 0;
  background: #fff;
  font-family: 'Agency FB', Arial, sans-serif;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
  white-space: nowrap;
}

.navLink {
  color: #1081c9;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  padding: 0 0.05em;
  position: relative;
  font-family: 'Agency FB', Arial, sans-serif;
  display: flex;
  align-items: center;
}

.navLink.active, .navLink[aria-current="page"] {
  color: #f7931e;
  font-weight: bold;
}

.navSeparator {
  color: #1081c9;
  font-size: 1.5rem;
  margin: 0 0.5em;
  user-select: none;
  font-weight: normal;
}

@media (max-width: 1200px) {
  .companyName {
    font-size: 2rem;
    margin-left: 1rem;
  }
  .navBar {
    font-size: 1.2rem;
  }
  .logo {
    width: 175px;
  }
  .logoBox {
    min-width: 175px;
  }
  .tagline {
    font-size: 0.9rem;
  }
}

@media (max-width: 900px) {
  .headerFlex {
    flex-direction: row;
    align-items: center;
  }
  .companyNavRow {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 1rem 0 0.5rem 0;
  }
  .companyName {
    font-size: 1.3rem;
    margin-left: 0;
    margin-bottom: 0.5rem;
    text-align: center;
    width: 100%;
  }
  .logo {
    width: 90px;
  }
  .logoBox {
    min-width: 90px;
    padding-left: 0.5rem;
  }
  .tagline {
    font-size: 0.8rem;
    display: none;
  }
}

@media (max-width: 768px) {
  .hamburgerBtn {
    display: block;
    position: relative;
    z-index: 20;
  }
  
  .topBar {
    justify-content: space-between;
    padding: 0 1rem;
    margin-top: -0.6rem;
  }
  
  .socialIcons {
    margin-left: 0;
  }
  
  .headerFlex {
    flex-direction: row;
    align-items: center;
  }
  
  .logoBox {
    padding: 1rem;
  }
  
  .companyName {
    font-size: 1.2rem;
    text-align: center;
    padding: 0.5rem 0;
    margin: 0 auto;
  }
  
  .navBar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    z-index: 30;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
    overflow: hidden;
  }
  
  .navBarClosed {
    max-height: 0;
    opacity: 0;
    pointer-events: none;
  }
  
  .navBarOpen {
    max-height: 500px;
    opacity: 1;
    padding: 1rem 0;
  }
  
  .navLink {
    width: 100%;
    padding: 0.8rem 1.5rem;
    font-size: 1.2rem;
  }
  
  .navSeparator {
    display: none;
  }
  
  .rightBox {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .logo {
    width: 70px;
  }
  
  .logoBox {
    min-width: 70px;
    padding: 0.5rem;
  }
  
  .companyName {
    font-size: 1rem;
    margin: 0 auto;
  }
  
  .socialIcons {
    gap: 0.3rem;
  }
  
  .socialIcon {
    width: 24px;
    height: 24px;
  }
} 