@import url('https://fonts.googleapis.com/css2?family=Jost:wght@300;400;500;600;700&display=swap');

@keyframes slideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: white;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;

  font-family: 'Jost', sans-serif;
  transform: translateY(-100%);
  opacity: 0;
}

.navbar--loaded {
  animation: slideDown 0.8s ease-out forwards;
}

.navbar__container {
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  height: 80px;
}


.navbar__logo {
  position: absolute;
  left: 50%;
  top: 75%;
  transform: translate(-50%, -50%);
  z-index: 10;
}

.navbar__logo-link {
  display: block;
  text-decoration: none;
}

.navbar__logo-img {
  height: 200px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  transition: all 0.3s ease;
  border-radius: 12px;
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 5;
}

.navbar__menu--left {
  justify-content: flex-start;
  flex: 1;
}

.navbar__menu--right {
  justify-content: flex-end;
  flex: 1;
}

.navbar__link {
  text-decoration: none;
  color: #333;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  transition: all 0.3s ease;
  padding: 10px 15px;
  border-radius: 8px;
}

.navbar__link:hover {
  color: #2c5aa0;
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #2c5aa0;
  transition: width 0.3s ease;
}

.navbar__link:hover::after {
  width: 100%;
}


.navbar__toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
  position: relative;
}

.navbar__toggle-bar {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 4px;
}

.navbar__toggle--active .navbar__toggle-bar:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.navbar__toggle--active .navbar__toggle-bar:nth-child(2) {
  opacity: 0;
}

.navbar__toggle--active .navbar__toggle-bar:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}


.navbar__mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 1002;
  visibility: hidden;
  opacity: 0;
  border-radius: 20px;
}

.navbar__mobile-menu--active {
  transform: translateX(0);
  visibility: visible;
  opacity: 1;
}

.navbar__mobile-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
  position: relative;
  width: 100%;
  padding: 60px 20px 20px;
}


.navbar__close {
  position: absolute;
  top: -30px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 1003;
  font-family: 'Jost', sans-serif;
}

.navbar__close:hover {
  background: #333;
  color: white;
}

.navbar__close-icon {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
}

.navbar__mobile-content .navbar__link {
  text-decoration: none;
  color: #333;
  font-family: 'Jost', sans-serif;
  font-weight: 600;
  font-size: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  padding: 15px 30px;
  display: block;
  border-radius: 12px;
}

.navbar__mobile-content .navbar__link:hover {
  color: #2c5aa0;
  background: rgba(44, 90, 160, 0.15);
}

.navbar__mobile-content .navbar__link::after {
  display: none;
}


@media (max-width: 1024px) {
  .navbar {
    position: sticky;
    top: 0;
    z-index: 1001;
  }
  
  .navbar__menu {
    gap: 20px;
  }
  
  .navbar__link {
    font-size: 14px;
  }
  
  .navbar__logo-img {
    height: 80px;
    max-width: 120px;
  }
}

@media (max-width: 1450px) {
  .navbar__container {
    height: 70px;
    padding: 0 15px;
  }
  
  .navbar__menu {
    display: none;
  }
  
  .navbar__toggle {
    display: flex;
  }
  
  .navbar__logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
  }
  
  .navbar__logo-img {
    height: 90px;
    max-width: 120px;
  }
}

@media (max-width: 480px) {
  .navbar__container {
    height: 60px;
    padding: 0 10px;
  }
  
  .navbar__logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
  }
  
  .navbar__logo-img {
    height: 80px;
    max-width: 100px;
  }
  
  .navbar__mobile-content .navbar__link {
    font-size: 20px;
  }
}


.navbar--scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}





.navbar * {
  box-sizing: border-box;
}


@media (min-width: 769px) {
  .navbar__menu--left,
  .navbar__menu--right {
    min-width: 200px;
  }
}


.navbar__link:focus,
.navbar__mobile-content .navbar__link:focus,
.navbar__toggle:focus {
  outline: 2px solid #2c5aa0;
  outline-offset: 2px;
}


body.navbar--menu-open {
  overflow: hidden;
}


.navbar__link--phone {
  border: 2px solid #1a2f79;
  padding: 8px 16px;
  border-radius: 30px;
  background: transparent;
  transition: all 0.3s ease;
  font-family: 'Jost', sans-serif;
}

.navbar__link--phone:hover {
  background: #1a2f79;
  color: white;
}

.navbar__link--phone::after {
  display: none;
}


.navbar__mobile-content .navbar__link--phone {
  padding: 12px 20px;
  background: transparent;
  transition: all 0.3s ease;
  border-radius: 15px;
  font-family: 'Jost', sans-serif;
}

.navbar__mobile-content .navbar__link--phone:hover {
  background: #1a2f79;
  color: white;
}