/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Navbar container */
.nav-bar-cont {
  display: flex;
  justify-content: center;
  width: 100%;
  background-color: #ffffff;
  padding: 10px 0;
  top: 0;
  z-index: 1000;   
  position: sticky;
  }

/* Inner navbar wrapper */
.inner-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1400px;
  width: 100%;
  padding: 0 20px;
  height: 60px;
  
}

.inner-nav-bar>img{
  height: 100%;
  width: auto;
}

/* Logo */
.nav-bar-title {
  font-size: 20px;
  font-weight: 700;
  color: #2196f3;
  font-family: 'Raleway', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Nav actions container */
.nav-bar-actions-cont {
  display: flex;
  align-items: center;
  gap: 60px;
  transition: all 0.3s ease-in-out;
}

/* Navigation links */
.nav-bar-actions {
  display: flex;
  flex-direction: row;
  gap: 30px;
  list-style: none;
}

.li-action {
  font-family: 'Raleway', sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #000;
  text-decoration: none;
  position: relative;
  padding-bottom: 4px;
}

.li-action::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #CEDF56;
  transition: width 0.3s ease;
}

.li-action:hover::after,
.li-action.active::after {
  width: 100%;
}

/* Contact button */
.nav-bar-contact-btn {
  font-family: 'Raleway', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #000;
  background-color: #CEDF56;
  border: none;
  border-radius: 5px;
  padding: 6px 16px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.nav-bar-contact-btn:hover {
  background-color: #b8d64b;
}

/* Hamburger menu (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background: #000;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ----------------- MEDIA QUERIES ----------------- */

/* Tablets and below */
@media (max-width: 1024px) {
  .nav-bar-actions-cont {
    gap: 30px;
  }
  .li-action {
    font-size: 18px;
  }
  .nav-bar-contact-btn {
    font-size: 16px;
    padding: 5px 14px;
  }
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-bar-actions-cont {
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    display: none;
    box-shadow: 0px 5px 15px rgba(0,0,0,0.1);
  }

  .nav-bar-actions-cont.active {
    display: flex;
  }

  .nav-bar-actions {
    flex-direction: column;
    gap: 15px;
  }

  .li-action {
    font-size: 18px;
  }

  .nav-bar-contact-btn {
    font-size: 16px;
    padding: 6px 16px;
  }
}

/* Small screens */
@media (max-width: 480px) {
  .nav-bar-title {
    font-size: 18px;
  }
  .li-action {
    font-size: 16px;
  }
  .nav-bar-contact-btn {
    font-size: 14px;
    padding: 5px 12px;
  }
}
