* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  z-index: 9999;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.main-nav {
  max-width: 1600px;
  margin: 0 auto;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

@media (max-width: 1024px) {
  .main-nav {
    padding: 1.5rem 2rem;
  }

  .logo-icon {
    height: 65px;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: #1a1a1a;
  z-index: 10000;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 65px;
}

.logo-icon img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.logo-icon svg {
  stroke: #ffffff;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  white-space: nowrap;
  display: none;
}

.desktop-nav {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
  margin: 0;
  padding: 0;
}

.desktop-nav-link {
  position: relative;
  display: inline-block;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  color: #1a1a1a;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.desktop-nav-link.active {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  color: #ffffff;
  pointer-events: none;
  cursor: default;
}

.desktop-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #d9232a 0%, #ff4757 100%);
  transition: width 0.3s ease;
}

.desktop-nav-link:not(.active):hover::after {
  width: 80%;
}

.menu-btn {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 12px 0;
  position: relative;
  z-index: 10000;
}

.menu-btn-line {
  width: 30px;
  height: 3px;
  background: #d9232a;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.menu-btn-text {
  display: none;
}

.menu-btn.active .menu-btn-line {
  background: #d9232a;
}

.menu-btn.active .menu-btn-line:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.menu-btn.active .menu-btn-line:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.menu-btn.active .menu-btn-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.menu-btn.active .menu-btn-text {
  color: #1a1a1a;
}

.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 9998;
  pointer-events: none;
  overflow: hidden;
  display: none;
}

.menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transform: translateY(-100%);
  transition: transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.fullscreen-menu.active {
  pointer-events: all;
}

.fullscreen-menu.active .menu-overlay {
  transform: translateY(0);
}

.menu-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  transition-delay: 0s;
}

.fullscreen-menu.active .menu-content {
  opacity: 1;
  transition-delay: 0.6s;
}

.mobile-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 2rem;
  width: 100%;
  max-width: 800px;
  align-items: center;
}

.mobile-menu-footer {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  transition-delay: 0s;
}

.fullscreen-menu.active .mobile-menu-footer {
  opacity: 1;
  transition-delay: 0.65s;
}

.mobile-menu-footer p {
  color: #ffffff;
  font-size: 1.5rem;
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.3;
}

.mobile-menu-logo {
  height: 100px;
  width: auto;
}

.menu-link {
  position: relative;
  display: block;
  text-align: center;
  text-decoration: none;
  color: #ffffff;
  font-size: 3.5rem;
  font-weight: 700;
  padding: 1rem 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(30px);
  opacity: 0;
  letter-spacing: -1px;
  border-radius: 8px;
}

.menu-link.active {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  pointer-events: none;
  cursor: default;
}

.fullscreen-menu.active .menu-link {
  transform: translateY(0);
  opacity: 1;
}

.fullscreen-menu.active .menu-link:nth-child(1) {
  transition-delay: 0.4s;
}

.fullscreen-menu.active .menu-link:nth-child(2) {
  transition-delay: 0.45s;
}

.fullscreen-menu.active .menu-link:nth-child(3) {
  transition-delay: 0.5s;
}

.fullscreen-menu.active .menu-link:nth-child(4) {
  transition-delay: 0.55s;
}

.fullscreen-menu.active .menu-link:nth-child(5) {
  transition-delay: 0.6s;
}

.menu-link-label {
  display: block;
}

.menu-link-icon {
  display: none;
}

@media (max-width: 1024px) {
  .desktop-nav {
    display: none;
  }

  .menu-btn {
    display: flex;
  }

  .fullscreen-menu {
    display: block;
  }
}

@media (max-width: 768px) {
  .main-nav {
    padding: 1.25rem 2rem;
  }

  .logo-text {
    font-size: 1.35rem;
    white-space: nowrap;
  }

  .logo-icon {
    height: 60px;
  }

  .mobile-menu-nav {
    padding: 1.5rem;
  }

  .menu-link {
    font-size: 2rem;
    padding: 0.75rem 1.5rem;
  }

  .menu-link::before {
    font-size: 0.85rem;
  }

  .menu-link-icon {
    width: 45px;
    height: 45px;
  }

  .menu-link-icon svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 576px) {
  .main-nav {
    padding: 1rem 1.5rem;
  }

  .logo-text {
    font-size: 1.2rem;
    white-space: nowrap;
  }

  .logo-icon {
    height: 60px;
  }

  .logo-icon svg {
    width: 20px;
    height: 20px;
  }

  .menu-btn-line {
    width: 26px;
  }

  .menu-btn-line:nth-child(2) {
    width: 20px;
  }

  .menu-btn-line:nth-child(3) {
    width: 16px;
  }

  .menu-btn-text {
    font-size: 0.6rem;
  }

  .mobile-menu-nav {
    padding: 1rem;
  }

  .menu-link {
    font-size: 1.65rem;
    padding: 0.6rem 1rem;
  }

  .menu-link::before {
    font-size: 0.75rem;
  }

  .menu-link-icon {
    width: 40px;
    height: 40px;
  }

  .menu-link-icon svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 420px) {
  .main-nav {
    padding: 1rem 1.5rem;
  }

  .logo-text {
    font-size: 1.1rem;
    white-space: nowrap;
  }

  .logo-icon {
    height: 55px;
  }

  .logo-icon svg {
    width: 18px;
    height: 18px;
  }

  .menu-link {
    font-size: 1.5rem;
    padding: 0.5rem 0.75rem;
  }

  .menu-link-icon {
    width: 35px;
    height: 35px;
  }

  .menu-link-icon svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 360px) {
  .main-nav {
    padding: 1rem 1.25rem;
  }

  .logo-icon {
    height: 50px;
  }

  .logo-text {
    font-size: 1rem;
    white-space: nowrap;
  }

  .menu-link {
    font-size: 1.35rem;
  }
}
