/* ── Base & Utilities ── */
html {
  scroll-behavior: smooth;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Navbar ── */
#navbar {
  background: transparent;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(93, 58, 90, 0.08);
}

#navbar.scrolled .nav-link {
  color: #4a2d47;
}

#navbar.scrolled .nav-link:hover {
  color: #5d3a5a;
}

#navbar.scrolled .font-serif {
  color: #311f2f;
}

/* ── Nav Link Underline Hover ── */
.nav-link {
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #F5C518;
  transition: width 0.25s ease;
}

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

/* ── Mobile Menu ── */
#mobile-menu {
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-link {
  position: relative;
  display: block;
}

.mobile-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #F5C518;
  transition: width 0.25s ease;
}

.mobile-link:hover::after {
  width: 60%;
}

/* ── Section Reveal Animation ── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Menu Item Hover ── */
.group:hover .group-hover\:text-plum-600 {
  color: #7d3f6a;
}

/* ── Image Hover Containers ── */
.rounded-2xl {
  overflow: hidden;
}

/* ── Custom Scrollbar ── */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f7f0f5;
}

::-webkit-scrollbar-thumb {
  background: #d9bfcf;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #be91ad;
}

/* ── Selection ── */
::selection {
  background: #F5C518;
  color: #311f2f;
}

/* ── Form Focus States ── */
input:focus,
select:focus,
textarea:focus {
  outline: none;
}

/* ── Responsive Tweaks ── */
@media (max-width: 768px) {
  .font-serif {
    line-height: 1.15;
  }
}
