/* ===== nav.css ===== */

/* ===== nav.css ===== */

/* ============================================================
   NAV.CSS — Фиксированная навигационная панель
   ============================================================ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 60px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: padding .4s;
}

/* Компактный режим при скролле (класс добавляется через JS) */
nav.scrolled {
  padding: 18px 60px;
}

/* Логотип */
.nav-logo {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--black);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Ссылки */
.nav-links {
  display: flex;
  align-items: center;
  gap: 44px;
}

.nav-links a {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .25s;
  position: relative;
}

/* Анимированное подчёркивание */
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s cubic-bezier(.25, .46, .45, .94);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--black);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

/* CTA-кнопка */
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--black);
  background: var(--gold);
  padding: 12px 28px;
  text-decoration: none;
  transition: background .25s, color .25s;
}

.nav-cta:hover {
  background: var(--black);
  color: var(--white);
}