/* header.css */
* {
  box-sizing: border-box;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 15%;
  background: var(--header-bg-color);
  color: #fff;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-height: 100px;
  height: 100%;
}

#header-logo-box {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 100%;
  height: 100%;
  max-width: 600px;
  max-height: 200px;
}
#header-logo-text {
  width: 40%;
  height: auto;
  flex: 0 0 auto;
}
#header-logo-eye {
  width: 15%;
  height: auto;
  flex: 0 0 auto;
}

.menu-toggle {
  background: none;
  border: none;
  align-items: center;
  width: 50px;
  height: 50px;
  transition: background 0.3s;
}

.menu-toggle img {
  width: 100%;
  height: 100%;
}

.menu-toggle:hover {
  background: rgba(255,255,255,0.45);
}

nav {
  overflow: hidden;
  max-height: 0;
  text-align: right;
  background: var(--nav-menu-bg-color);
  transition: max-height 0.4s ease;
}

nav.open {
  max-height: 300px;
}

nav ul {
  list-style: none;
  margin: 0;
  padding: 1rem 2rem;
}

nav ul li {
  margin: 1rem 0;
}

nav ul li a {
  color: var(--contrast-text-color);
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--dark-contrast-text-color);
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--body-bg-color);
}

#header-logo-box,
#header-logo-eye,
#header-logo-text,
.menu-toggle {
  flex-shrink: 0;
}






@media (max-width: 500px) {
header {
  height: 12%;
}

.header-content {
  padding: 6px 10px;
  max-height: 100px;
}

#header-logo-box {
  gap: 4px;
  width: 100%;
  height: 100%;
  max-width: 600px;
  max-height: 200px;
}
#header-logo-text {
  width: 55%;
}
#header-logo-eye {
  width: 30%;
}

.menu-toggle {
  width: 70px;
  height: 70px;
}

nav ul li a {
  font-size: 1.4rem;
}


}






@media (min-width: 501px) and (max-width: 768px) {
header {
  height: 12%;
}

.header-content {
  padding: 6px 10px;
  max-height: 100px;
  height: 100%;
}

#header-logo-box {
  gap: 4px;
  width: 100%;
  height: 100%;
  max-width: 600px;
  max-height: 200px;
}
#header-logo-text {
  width: 45%;
}
#header-logo-eye {
  width: 22%;
}

.menu-toggle {
  width: 60px;
  height: 60px;
}

nav ul li a {
  font-size: 1.4rem;
}

}


@media (min-width: 769px) and (max-width: 1200px) {
  header {
    height: 8%;
  }

  .header-content {
    padding: 6px 10px;
    max-height: 100px;
    height: 100%;
  }
}

@media (min-width: 1201px) and (max-width: 8000px) {
  header{
    height: 15%;
  }
}