/* Header-specific styles for Trivessa — cleaned version */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 10px 0 12px;
  border-bottom: 1px solid rgba(232, 207, 176, 0.45);
  background: rgba(249, 246, 241, 0.86);
  backdrop-filter: blur(18px);
}

.site-header .container {
  max-width: 1200px;
}

.site-navbar {
  position: relative;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 10px 14px 10px 18px;
  border: 1px solid rgba(232, 207, 176, 0.62);
  border-radius: 0 0 26px 26px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(246, 238, 226, 0.88));
  box-shadow: 0 16px 42px rgba(42, 52, 45, 0.11);
}

.site-navbar::before {
  content: none;
}

.site-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-shrink: 0;
  color: var(--color-primary) !important;
}

.site-logo {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 28% 22%, #ffffff 0, #e8cfb0 42%, #789f8a 100%);
  box-shadow: 0 12px 28px rgba(55, 110, 76, 0.22);
}

.navbar-title {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.logo-column{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-brand-tagline {
  display: inline-flex;
  align-items: center;
  /*max-width: 240px;*/
  height: 36px;
  margin-left: 6px;
  padding: 0 14px;
  border: 1px solid rgba(232, 207, 176, 0.9);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.68);
  color: var(--gray-600);
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.primary-nav {
  margin-left: auto;
}

.nav-list {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: var(--font-size-sm);
}

.site-header .nav-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border-radius: var(--radius-pill);
  color: #3f4945 !important;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.15;
  white-space: nowrap;
  background: transparent;
  transition: background var(--transition-base), color var(--transition-base), transform var(--transition-fast), box-shadow var(--transition-base);
}

.site-header .nav-link:hover,
.site-header .nav-link:focus-visible,
.site-header .nav-link[aria-current="page"] {
  color: var(--color-primary) !important;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 10px 24px rgba(42, 52, 45, 0.08);
  transform: translateY(-1px);
}

.site-header .nav-link::before {
  display: none;
}

.site-header .nav-cta {
  margin-left: 8px;
}

.site-header .nav-link--pill {
  min-height: 50px;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.46);
  color: #ffffff !important;
  background: linear-gradient(135deg, #789f8a 0%, #7b93b8 100%);
  box-shadow: 0 16px 34px rgba(55, 110, 76, 0.24);
}

.site-header .nav-link--pill:hover,
.site-header .nav-link--pill:focus-visible,
.site-header .nav-link--pill[aria-current="page"] {
  color: #ffffff !important;
  background: linear-gradient(135deg, #6f987f 0%, #6f88ad 100%);
  box-shadow: 0 18px 38px rgba(55, 110, 76, 0.28);
}

.nav-cta-dot {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 999px;
  background: #f1d6aa;
  box-shadow: 0 0 0 0 rgba(241, 214, 170, 0.75);
  animation: nav-pulse 1.7s ease-out infinite;
}

@keyframes nav-pulse {
  0% { box-shadow: 0 0 0 0 rgba(241, 214, 170, 0.75); }
  70% { box-shadow: 0 0 0 10px rgba(241, 214, 170, 0); }
  100% { box-shadow: 0 0 0 0 rgba(241, 214, 170, 0); }
}

@media (max-width: 1120px) {
  .site-brand-tagline {
    display: none;
  }

  .site-navbar {
    gap: 16px;
  }

  .site-header .nav-link {
    padding: 0 10px;
    font-size: 0.88rem;
  }
}

@media (max-width: 960px) {
  .site-header {
    padding: 8px 0;
  }

  .site-navbar {
    min-height: 64px;
    border-radius: 0 0 20px 20px;
  }

  .primary-nav {
    margin-left: 0;
  }

  .site-header .navbar-nav {
    position: fixed;
    inset: 82px 16px auto 16px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    border: 1px solid rgba(232, 207, 176, 0.7);
    border-radius: 22px;
    background: rgba(249, 246, 241, 0.98);
    box-shadow: 0 24px 60px rgba(42, 52, 45, 0.22);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity var(--transition-base), transform var(--transition-base);
  }

  .site-header .navbar-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-header .nav-link {
    width: 100%;
    justify-content: flex-start;
    min-height: 48px;
    padding: 0 16px;
    /*background: rgba(255, 255, 255, 0.62);*/
  }

  .site-header .nav-cta {
    width: 100%;
    margin-left: 0;
  }

  .site-header .nav-link--pill {
    justify-content: center;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 480px) {
  .site-header .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .site-navbar {
    padding-left: 12px;
    padding-right: 10px;
  }

  .navbar-title {
    font-size: 1rem;
  }
}