/* Navbar */
.navbar {
  background-color: #fff;
  /* padding at top */
  padding: 0.5em 0;
}

/* Flex container */
.navbar-inner {
  /* padding on left and right */
  padding: 0 4em;
  display: flex;
  flex-wrap: wrap;
  /* allow stacking when needed */
  align-items: center;
  justify-content: space-between;
  column-gap: 1em;
}

/* Logo: fixed size, aligned left */
.logo {
  display: flex;
  align-items: center;
  font-size: 1.2em;
  font-weight: bold;
  flex-shrink: 0;
  /* never shrink the logo */
}

/* Keep logo height fixed */
.logo-img {
  height: 55px;
  margin-right: 0.4em;
  top: 5px;
  position: relative;
}

/* Navigation bar */
nav {
  display: flex;
  flex-wrap: wrap;
  /* allow wrapping of nav items */
  gap: 2.8em;
  /* spacing between navbar titles */
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  /* allow nav to shrink and grow */
  min-width: 0;
  /* allow wrapping on narrow screens */
  overflow: hidden;
  /* hide overflow if it happens */
}

/* Nav links */
nav a {
  text-decoration: none;
  color: #333;
}

/* Contact button styling */
.btn-contact {
  background: linear-gradient(to right, orange, steelblue);
  color: white;
  padding: 0.5em 1em;
  height: 25px;
  width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Optional: color accent class */
.highlight {
  color: orange;
}


/* Menu button - hidden on large screens by default */
.menu-toggle {
  font-size: 1.8em;
  background: none;
  border: none;
  cursor: pointer;
  display: none;
}

/* Hide nav by default on small screens */
#main-nav {
  display: flex;
}

/* Simple mobile behavior without media queries */
@media (max-width: 1200px) {
  .menu-toggle {
    display: block;
  }

  #main-nav {
    display: none;
    flex-direction: column;
    gap: 1em;
    width: 100%;
  }

  #main-nav.visible {
    display: flex;
  }

  .navbar {
    padding: 0.0em 0.0em;
  }

  .navbar-inner {
    padding: 0.0em 0.5em;
    /* reduce or remove horizontal padding on mobile */
    margin: 0;
    line-height: 1;
    /* reset any inherited spacing */

    
  }

  .logo-img {
    height: 35px;
    margin-right: 0.0em;
    top: 5px;
    position: relative;
  }
}