/* ================================
   NAVBAR STYLES
   ================================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(212, 132, 154, 0.08);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 24px rgba(212, 132, 154, 0.12);
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Logo */
.navbar-logo {
  font-family: var(--font-logo);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--pink-deep);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
  margin-right: auto;
}

.navbar-logo:hover {
  color: var(--pink-primary);
}

.navbar-logo span {
  font-style: italic;
}

/* Navigation Links */
.navbar-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin-left: auto;
}

.navbar-menu li {
  margin: 0;
}

.navbar-link {
  font-weight: 500;
  font-size: 0.938rem;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  padding: 0.5rem 0.25rem;
}

.navbar-link:hover {
  color: var(--pink-primary);
}

.navbar-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--pink-primary);
  transition: width 0.3s ease;
}

.navbar-link:hover::after {
  width: 100%;
}

.navbar-link.active {
  color: var(--pink-deep);
  font-weight: 600;
}

.navbar-link.active::after {
  width: 100%;
}

/* CTA Button */
.navbar-cta {
  background: var(--pink-primary);
  color: var(--white);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.navbar-cta:hover {
  background: var(--pink-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
  color: var(--white);
}

/* Mobile Menu Toggle */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  position: relative;
  border-radius: 8px;
  transition: all 0.3s ease;
  margin-left: auto;
}

.navbar-toggle:hover {
  background: rgba(244, 167, 185, 0.1);
}

.navbar-toggle span {
  width: 25px;
  height: 3px;
  background: var(--pink-deep);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.navbar-toggle.active span:nth-child(2) {
  opacity: 0;
}

.navbar-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .navbar {
    z-index: 1002;
  }

  .navbar-container {
    padding: 1rem 1.5rem;
    position: relative;
    z-index: 1002;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .navbar-logo {
    z-index: 1002;
    position: relative;
    margin-right: 0;
  }

  .navbar-toggle {
    display: flex;
    margin-left: auto;
  }

  .navbar-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 218, 221, 0.95) 100%);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    gap: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.95);
    transition: all 0.3s ease;
    overflow-y: auto;
    z-index: 1000;
  }

  .navbar-menu.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
  }

  .navbar-menu li {
    width: auto;
    opacity: 1;
    transform: none;
    border-bottom: none;
    margin: 0.75rem 0;
  }

  .navbar-menu li:first-child {
    border-top: none;
  }

  .navbar-link {
    font-size: 1.25rem;
    width: auto;
    padding: 0.75rem 2rem;
    text-align: center;
    font-weight: 500;
    color: var(--text-dark);
    display: block;
    transition: all 0.3s ease;
    border-radius: var(--radius-full);
  }

  .navbar-link:hover {
    background: rgba(244, 167, 185, 0.15);
    color: var(--pink-deep);
    transform: scale(1.05);
  }

  .navbar-link::after {
    display: none;
  }

  .navbar-link.active {
    color: var(--pink-deep);
    background: rgba(244, 167, 185, 0.2);
    font-weight: 600;
  }

  .navbar-cta {
    width: auto;
    min-width: 220px;
    text-align: center;
    margin: 1.5rem 0 0;
    padding: 16px 40px;
    font-size: 1.125rem;
    box-shadow: 0 4px 16px rgba(244, 167, 185, 0.3);
  }

  /* Backdrop */
  .navbar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
  }

  .navbar-backdrop.active {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 480px) {
  .navbar-logo {
    font-size: 1.5rem;
  }

  .navbar-container {
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .navbar-link {
    font-size: 1.25rem;
    padding: 0.65rem 1.5rem;
  }

  .navbar-cta {
    width: auto;
    min-width: 180px;
    padding: 12px 32px;
    font-size: 1rem;
  }
}
