/* ==========================================================================
   WedPerfect - Navigation Bar Stylesheet (navbar.css)
   ========================================================================== */

/* Clean, simple ampersand font fallback: overrides Playfair Display's ornate cursive '&' with a classic, elegant, legible ampersand */
@font-face {
  font-family: 'SimpleAmpersand';
  src: local('Georgia'), local('Times New Roman'), local('Palatino'), local('Baskerville');
  unicode-range: U+0026;
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SimpleAmpersand';
  src: local('Georgia'), local('Times New Roman'), local('Palatino'), local('Baskerville');
  unicode-range: U+0026;
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --nav-bg: rgba(248, 242, 231, 0.95);
  --nav-text: #2d2426;
  --nav-text-hover: #962846;
  --nav-primary: #962846;
  --nav-primary-hover: #7b1e37;
  --nav-gold: #c59b27;
  --nav-font-serif: 'SimpleAmpersand', 'Playfair Display', Georgia, serif;
  --nav-font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

.wed-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(197, 155, 39, 0.2);
  transition: all 0.3s ease;
}

body {
  padding-top: 77px;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 85px;
}

.wed-header.scrolled {
  box-shadow: 0 4px 20px rgba(78, 38, 48, 0.08);
}

.wed-nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 16px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Brand Logo */
.wed-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--nav-text);
  user-select: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-icon svg,
.brand-icon img,
.brand-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--nav-font-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: #231b1d;
  line-height: 1.1;
}

.brand-tagline {
  font-family: var(--nav-font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.8px;
  color: #8c767b;
  margin-top: 2px;
  text-transform: uppercase;
}

/* Navigation Menu */
.wed-nav-menu {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--nav-font-sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--nav-text);
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
  padding: 6px 0;
}

.nav-link:hover {
  color: var(--nav-text-hover);
}

.nav-link.active {
  color: var(--nav-primary);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--nav-primary);
  border-radius: 2px;
}

/* Header CTA */
.wed-nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-plan {
  background: var(--nav-primary);
  color: #ffffff;
  font-family: var(--nav-font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  border: 1px solid var(--nav-primary);
  box-shadow: 0 4px 12px rgba(150, 40, 70, 0.25);
}

.btn-plan:hover {
  background: var(--nav-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(150, 40, 70, 0.35);
}

/* Mobile Toggle Hamburger */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}

.nav-mobile-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--nav-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-mobile-toggle.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.nav-mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Responsive Nav */
@media (max-width: 992px) {
  .wed-nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fdfbf7;
    flex-direction: column;
    padding: 30px 24px;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-120%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
    border-bottom: 1px solid rgba(197, 155, 39, 0.2);
    visibility: hidden;
    pointer-events: none;
  }

  .wed-nav-menu.open {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

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

  .wed-nav-cta .btn-plan {
    padding: 8px 18px;
    font-size: 13px;
  }
}

@media (max-width: 576px) {
  .brand-title {
    font-size: 20px;
  }
  .brand-tagline {
    font-size: 9px;
  }
  .wed-nav-cta .btn-plan {
    display: none;
  }
}

/* ==========================================================================
   LARGE SCREEN EXPANSION (1800px & 2000px+)
   ========================================================================== */
@media (min-width: 1800px) {
  .wed-nav-container {
    max-width: 1680px;
    padding: 18px 40px;
  }
}

@media (min-width: 2000px) {
  .wed-nav-container {
    max-width: min(98vw, 2520px);
    width: 98vw;
    padding: 26px 28px;
  }
  .brand-icon {
    width: 60px;
    height: 60px;
  }
  .brand-title {
    font-size: 36px;
  }
  .brand-tagline {
    font-size: 16px;
    letter-spacing: 1.2px;
  }
  .wed-nav-menu {
    gap: 52px;
  }
  .nav-link {
    font-size: 23px;
  }
  .wed-nav-cta .btn-plan {
    padding: 17px 40px;
    font-size: 21px;
    border-radius: 14px;
  }
  body {
    padding-top: 113px;
  }
  section[id] {
    scroll-margin-top: 125px;
  }
}


