/* Navbar */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(252, 249, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(232, 224, 240, 0.5);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 30px rgba(139, 92, 246, 0.1);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--clr-text);
}

.logo-dot { color: var(--clr-primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--clr-text-light);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--clr-primary);
  transition: var(--transition);
}

.nav-link:hover { color: var(--clr-primary); }
.nav-link:hover::after { width: 100%; }

.nav-link.active {
  color: var(--clr-primary);
}

.nav-link.active::after {
  width: 100%;
}

.btn-nav {
  background: linear-gradient(135deg, var(--clr-gradient-1), var(--clr-gradient-2));
  color: var(--clr-white) !important;
  padding: 10px 24px !important;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-nav::after { display: none !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.bar {
  width: 24px; height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Footer */
.footer {
  background: var(--clr-text);
  color: var(--clr-white);
  padding: 60px 0 30px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 60px;
  align-items: start;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .logo { color: var(--clr-white); }

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
}

.footer-links { display: flex; gap: 24px; }

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-links a:hover { color: var(--clr-primary-light); }

.footer-social { display: flex; gap: 12px; }

.footer-social a {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
}

.footer-social a:hover {
  background: var(--clr-primary);
  color: var(--clr-white);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

.heart { color: var(--clr-secondary); }

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--clr-gradient-1), var(--clr-gradient-2));
  color: var(--clr-white);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

/* Nav Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 999;
}

.nav-overlay.active {
  display: block;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: var(--clr-white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 40px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
  }

  .nav-links.active { right: 0; }

  .hamburger { display: flex; }

  .footer-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 32px;
  }

  .back-to-top {
    bottom: 20px; right: 20px;
    width: 42px; height: 42px;
    font-size: 0.95rem;
  }
}
