/* ===== BASE & RESET ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; padding: 0; margin: 0; }

/* ===== NAV ===== */
.nav {
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}
.nav.scrolled .logo-text { color: #0f172a; }

/* ===== HERO ===== */
.hero { position: relative; }

/* ===== MENU CARDS ===== */
.menu-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.menu-card:hover {
  transform: translateY(-4px);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  animation: slideDown 0.3s ease forwards;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ===== BACK TO TOP ===== */
#back-to-top.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ===== UTILITIES ===== */
.nav-link { position: relative; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: #0d9488;
  border-radius: 1px;
  transition: width 0.2s ease, left 0.2s ease;
}
.nav-link:hover::after {
  width: 60%;
  left: 20%;
}

/* ===== FORM STYLES ===== */
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

/* ===== ACCESSIBILITY ===== */
:focus-visible {
  outline: 2px solid #0d9488;
  outline-offset: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
  .nav { background: rgba(248, 250, 252, 0.98); }
}
