/* Vuvefevila Ristorante — shared styles
   Palette, fonts and family overrides not expressible via Tailwind utility classes.
   @theme tokens live inline in each page's <style type="text/tailwindcss"> block. */

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-background);
  color: var(--color-text-primary);
  font-family: var(--font-body);
}

h1, h2, h3, h4, .font-display {
  font-family: var(--font-display);
}

/* ---------- Section rhythm: hairline-rule-between ---------- */
.section-divider {
  width: 60%;
  margin: 0 auto;
  border: none;
  border-top: 1px solid var(--color-secondary);
  opacity: 0.5;
}

/* ---------- Border radius family: soft-medium-radius ---------- */
.card-surface {
  border-radius: 12px;
}

.img-rounded {
  border-radius: 8px;
}

input, textarea, select {
  border-radius: 6px;
}

.btn-pill {
  border-radius: 9999px;
}

/* ---------- Shadow family: lifted-blurry, with colored tints ---------- */
.card-surface {
  box-shadow: 0 12px 32px rgba(153, 37, 66, 0.10);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.card-surface:hover {
  box-shadow: 0 16px 40px rgba(153, 37, 66, 0.16);
  transform: translateY(-2px);
}

.card-tint-accent {
  box-shadow: 0 12px 32px rgba(0, 136, 94, 0.12);
}

.card-tint-accent:hover {
  box-shadow: 0 16px 40px rgba(0, 136, 94, 0.18);
}

.btn-pill {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* ---------- Button + form family: pill-with-icon ---------- */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-primary);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-pill:hover {
  transform: scale(1.02);
  background-color: var(--color-primary-dark);
}

.btn-pill-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: transparent;
  color: var(--color-primary);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border: 1.5px solid var(--color-primary);
  transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.btn-pill-outline:hover {
  transform: scale(1.02);
  background-color: var(--color-primary);
  color: #fff;
}

/* ---------- Nav: sticky-shrink ---------- */
#site-nav {
  transition: padding 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

#site-nav.nav-shrink {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

#site-nav .logo-mark {
  transition: height 0.25s ease, width 0.25s ease;
}

/* ---------- Cookie banner ---------- */
#cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background-color: var(--color-primary-dark);
  color: #fff;
}

#cookie-banner[hidden] {
  display: none;
}

/* ---------- Hover micro-interactions ---------- */
.hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
  transform: translateY(-3px);
}

.link-underline {
  position: relative;
}

.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width 0.2s ease;
}

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