/* Design tokens — shadcn/ui-style HSL variables, consumed by js/tailwind-config.js */
:root {
  /* Warm ivory/cream neutrals (boutique feel — not stark white/cool gray) */
  --background: 36 33% 97%;
  --foreground: 20 14% 12%;
  --card: 0 0% 100%;
  --card-foreground: 20 14% 12%;
  --primary: 20 20% 14%;
  --primary-foreground: 36 30% 97%;
  --secondary: 36 25% 94%;
  --secondary-foreground: 20 14% 12%;
  --muted: 36 25% 94%;
  --muted-foreground: 25 8% 45%;
  --accent: 36 25% 94%;
  --accent-foreground: 20 14% 12%;
  --border: 30 15% 88%;
  --input: 30 15% 88%;
  --ring: 20 20% 14%;
  --radius: 0.85rem;

  /* Brand accent — warm gold, used sparingly for CTAs/highlights */
  --gold: 38 80% 50%;
  --gold-foreground: 240 10% 10%;

  /* Paraguay flag colors — used sparingly as a small, refined nod, not a theme */
  --py-red: 5 70% 45%;
  --py-blue: 217 90% 33%;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}

h1, h2, h3 {
  font-family: "Playfair Display", ui-serif, Georgia, serif;
}

/* Reusable component classes (hand-written, shadcn-flavored) */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.625rem 1.25rem;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.btn:hover {
  opacity: 0.9;
}
.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-gold {
  background-color: hsl(var(--gold));
  color: hsl(var(--gold-foreground));
}

.btn-outline {
  background-color: transparent;
  border: 1px solid hsl(var(--border));
  color: hsl(var(--foreground));
}

.card {
  background-color: hsl(var(--card));
  color: hsl(var(--card-foreground));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: 0 1px 2px rgba(20, 14, 12, 0.04), 0 12px 28px -16px rgba(20, 14, 12, 0.18);
}

.input {
  width: 100%;
  border: 1px solid hsl(var(--input));
  border-radius: var(--radius);
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
}
.input:focus {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 1px;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid hsl(var(--border));
  padding: 0.1875rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background-color: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

/* Thin Paraguay-flag accent rule — a small, refined nod, used once under the header */
.flag-rule {
  display: flex;
  height: 3px;
  width: 100%;
}
.flag-rule > span {
  flex: 1 1 0%;
}
.flag-rule > span:nth-child(1) { background-color: hsl(var(--py-red)); }
.flag-rule > span:nth-child(2) { background-color: hsl(var(--background)); }
.flag-rule > span:nth-child(3) { background-color: hsl(var(--py-blue)); }

/* Placeholder "photo" panels — swap these sections for real <img> tags later */
.placeholder-photo {
  background: linear-gradient(135deg, hsl(20 20% 14%) 0%, hsl(20 16% 28%) 60%, hsl(38 80% 50% / 0.35) 100%);
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
}
.mobile-menu.open {
  max-height: 24rem;
}
