header {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #fff;
  position: relative;
  font-family: "Actor", "Myriad Pro", Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.header-content {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 0 18px;
  position: relative;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  display: block;
}

.logo img {
  max-width: 100%;
  height: auto;
}

.header-contact {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.facebook-link {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  width: auto;
  height: 24px;
  color: #868686;
  text-decoration: none;
  font-size: 12px;
  font-weight: normal;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.facebook-link:hover {
  color: #868686;
  text-decoration: none;
}

.facebook-icon {
  min-width: 24px;
  width: 24px;
  height: 24px;
  background: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><rect width="24" height="24" fill="%231877F2" fill-opacity="0.8" rx="2"/><path d="M16.693 15.465L17.193 12H13.95V9.75c0-0.95 0.464-1.875 1.957-1.875h1.518V4.76c-0.917-0.15-1.8369-0.233-2.7611-0.25-2.8125 0-4.6539 1.7055-4.6539 4.7938V12H7v3.465h2.9941v8.379C10.648 23.947 11.3215 24 11.9988 24c0.6775 0 1.3507-0.053 2.0112-0.156v-8.379h2.683z" fill="white"/></svg>') no-repeat center center;
  transition: transform 0.2s ease;
  margin-left: 8px;
  flex-shrink: 0;
}

.facebook-link:hover .facebook-icon {
  transform: scale(1.1);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

nav {
  width: 100%;
}

.nav-list {
  list-style: none;
  display: flex;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.nav-item {
  padding: 0 2px 0 0;
}

.nav-link {
  display: block;
  color: #545454;
  text-decoration: none;
  padding: 10px 15px 11px;
  font-size: 13px;
  text-transform: uppercase;
  line-height: 1;
}

.nav-link:hover, .nav-item.active .nav-link {
  color: #545454;
  background: #e3f3ff;
}

.mobile-nav-toggle {
  display: none;
}

.mobile-nav-toggle-input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

/* Mobile nav styles */
@media screen and (max-width: 768px) {
  .header-top {
    flex-direction: row;
    text-align: left;
    padding-top: 15px;
    justify-content: space-between;
    align-items: center;
  }
  
  .header-contact {
    margin-top: 60px;
    justify-content: flex-end;
    margin-left: auto;
  }
  
  .nav-list {
    flex-direction: column;
    display: none;
  }
  
  .mobile-nav-toggle {
    display: block;
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  }
  
  .mobile-nav-icon, 
  .mobile-nav-icon::before, 
  .mobile-nav-icon::after {
    display: block;
    background: #545454;
    height: 2px;
    width: 24px;
    position: relative;
  }
  
  .mobile-nav-icon::before,
  .mobile-nav-icon::after {
    content: '';
    position: absolute;
  }
  
  .mobile-nav-icon::before {
    bottom: 8px;
  }
  
  .mobile-nav-icon::after {
    top: 8px;
  }
  
  .mobile-nav-toggle-input:checked ~ nav .nav-list {
    display: flex;
  }
  
  .nav-link {
    width: 100%;
    text-align: center;
  }
}

@media screen and (max-width: 900px) {
  .header-content {
    padding: 0 20px;
  }
  
  .header-top {
    padding: 15px 0;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .logo {
    margin-bottom: 10px;
    max-width: 70%;
  }
  
  .header-contact {
    padding: 0 5px;
  }
}

@media screen and (max-width: 880px) {
  .header-top {
    justify-content: space-between;
  }
  
  .logo {
    margin-right: 0;
  }
  
  .header-contact {
    margin-left: auto;
  }
} 
