/* ===================================================================
   MI LINDA MICHOACANA — stylesheet
   ---------------------------------------------------------------
   HOW THIS FILE IS ORGANIZED (read top to bottom):
     1. Design tokens (colors, fonts, spacing) — CHANGE COLORS HERE
     2. Reset / base element styles
     3. Layout helpers (.container, .section)
     4. Header / nav
     5. Buttons + pills
     6. Hero sections
     7. Fence Gallery (the signature "photos pinned to the fence" strip)
     8. Cards (menu items, info cards)
     9. Footer
     10. Responsive tweaks (mobile-first, so most rules ABOVE already
         target small screens — these are the "make it bigger" rules
         for tablet/desktop)
   =================================================================== */

/* -------------------------------------------------------------
   1. DESIGN TOKENS
   These are sampled from real photos of the shop (neon signs,
   the apron, the wood fence, the turf). Change a value here and
   it updates everywhere that token is used.
   ------------------------------------------------------------- */
:root {
  /* brand colors */
  --pink: #ff2e93;          /* the neon-sign / apron pink — main brand color */
  --pink-dark: #9e1b4d;     /* deep cherry — used for body text on pink, logo wordmark */
  --wood: #8b6544;          /* Dog Lounge fence wood */
  --wood-dark: #5c4530;
  --turf: #4f8c3f;          /* Dog Lounge artificial turf green */
  --teal: #2fe0d0;          /* neon watermelon accent */
  --cream: #fff8fb;         /* actual interior wall color, very light pink-white */
  --ink: #211b22;           /* near-black, used for body text + furniture */

  /* type */
  --font-display: "Baloo 2", "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito Sans", "Inter", system-ui, sans-serif;

  /* spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;

  --radius: 18px;
  --shadow: 0 12px 30px rgba(158, 27, 77, 0.18);
}

/* -------------------------------------------------------------
   2. RESET / BASE
   ------------------------------------------------------------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.55;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 var(--space-sm);
  color: var(--pink-dark);
}

h1 { font-size: clamp(2.2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 4.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

p { margin: 0 0 var(--space-sm); }

a { color: var(--pink-dark); }

img { max-width: 100%; display: block; }

/* visible keyboard focus state everywhere — do not remove */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}

/* -------------------------------------------------------------
   3. LAYOUT HELPERS
   ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 var(--space-sm);
}

.section {
  padding: var(--space-xl) 0;
}

.section-intro {
  max-width: 640px;
  margin: 0 auto var(--space-lg);
  text-align: center;
}

.text-center { text-align: center; }

/* -------------------------------------------------------------
   4. HEADER / NAV
   ------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 3px solid var(--pink);
}

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

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--pink-dark);
  text-decoration: none;
  font-weight: 700;
}
.nav-logo span { color: var(--pink); }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--pink-dark);
  border-radius: 2px;
}

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: var(--space-sm) 0;
  flex-direction: column;
  gap: var(--space-xs);
}
.nav-links.is-open { display: flex; }

.nav-links a {
  display: block;
  text-decoration: none;
  font-weight: 700;
  color: var(--ink);
  padding: var(--space-xs);
  border-radius: 10px;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--pink);
  color: white;
}

/* -------------------------------------------------------------
   5. BUTTONS + PILLS
   ------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--pink);
  color: white;
  box-shadow: var(--shadow);
}

.btn-outline {
  background: transparent;
  color: var(--pink-dark);
  border: 2px solid var(--pink);
}

.pill-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  justify-content: center;
}
.pill-nav a {
  text-decoration: none;
  font-weight: 700;
  color: var(--pink-dark);
  background: white;
  border: 2px solid var(--pink);
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  font-size: 0.95rem;
}
.pill-nav a:hover { background: var(--pink); color: white; }

/* -------------------------------------------------------------
   6. HERO
   ------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: white;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(33, 27, 34, 0.05) 0%, rgba(158, 27, 77, 0.55) 65%, rgba(158, 27, 77, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--space-lg) var(--space-sm) var(--space-xl);
  max-width: 720px;
}

.hero h1 { color: white; }

.hero-eyebrow {
  display: inline-block;
  background: var(--teal);
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 700;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.page-hero {
  padding: var(--space-lg) 0 var(--space-md);
  background: linear-gradient(160deg, var(--pink) 0%, var(--pink-dark) 100%);
  color: white;
  text-align: center;
}
.page-hero h1 { color: white; }
.page-hero p { color: rgba(255,255,255,0.9); max-width: 560px; margin-inline: auto; }

/* -------------------------------------------------------------
   7. FENCE GALLERY — signature element
   Recreates the real fence in the Dog Lounge where the shop has
   hung small framed photos. Each .fence-photo is a tilted, framed
   snapshot against a wood-toned strip, exactly like the real thing.
   ------------------------------------------------------------- */
.fence-gallery {
  background: linear-gradient(180deg, var(--wood) 0%, var(--wood-dark) 100%);
  padding: var(--space-lg) 0;
  overflow: hidden;
}

.fence-gallery-track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  padding: var(--space-sm) var(--space-sm) var(--space-md);
  scroll-snap-type: x proximity;
}

.fence-photo {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 220px;
  background: white;
  padding: 10px 10px 34px;
  border-radius: 4px;
  box-shadow: 0 14px 24px rgba(0,0,0,0.35);
}
.fence-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 2px;
}
.fence-photo figcaption {
  font-family: var(--font-display);
  color: var(--wood-dark);
  text-align: center;
  margin-top: 10px;
  font-size: 0.9rem;
}
.fence-photo:nth-child(odd)  { transform: rotate(-3deg); }
.fence-photo:nth-child(even) { transform: rotate(2.5deg); }
.fence-photo:hover { transform: rotate(0deg) scale(1.03); transition: transform 0.2s ease; }

/* -------------------------------------------------------------
   8. CARDS
   ------------------------------------------------------------- */
.grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}

.card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.card img { width: 100%; height: 220px; object-fit: cover; }
.card-body { padding: var(--space-sm) var(--space-md) var(--space-md); }

.menu-item {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-sm) 0;
  border-bottom: 2px dashed rgba(158, 27, 77, 0.2);
}
.menu-item:last-child { border-bottom: none; }
.menu-item-name { font-family: var(--font-display); font-weight: 700; color: var(--ink); }
.menu-item-desc { font-size: 0.92rem; color: #5a4c53; margin: 0.2rem 0 0; }
.menu-item-price {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--pink);
  white-space: nowrap;
}

.menu-category {
  margin-bottom: var(--space-lg);
}
.menu-category-title {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--pink);
  color: white;
  padding: 0.4rem 1.1rem;
  border-radius: 999px;
  margin-bottom: var(--space-sm);
}

.info-card {
  background: white;
  border-radius: var(--radius);
  padding: var(--space-md);
  box-shadow: var(--shadow);
  border-top: 6px solid var(--pink);
}

/* mock-content flag used on Menu/Visit pages so the cousin knows
   what's placeholder vs. real when she does the handoff */
.mock-flag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--teal);
  color: var(--ink);
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  margin-left: 0.4rem;
  vertical-align: middle;
}

/* -------------------------------------------------------------
   9. FOOTER
   ------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: white;
  padding: var(--space-lg) 0 var(--space-md);
}
.site-footer h3 { color: white; }
.site-footer a { color: white; }
.footer-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
  margin-bottom: var(--space-md);
}
.social-links {
  display: flex;
  gap: var(--space-sm);
}
.social-links a {
  border: 2px solid white;
  border-radius: 999px;
  padding: 0.4rem 1rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
}
.social-links a:hover { background: var(--pink); border-color: var(--pink); }

.map-placeholder {
  background: repeating-linear-gradient(45deg, #33282f, #33282f 10px, #3a2d34 10px, #3a2d34 20px);
  border-radius: var(--radius);
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-display);
  text-align: center;
  padding: var(--space-sm);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: var(--space-sm);
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-align: center;
}

/* -------------------------------------------------------------
   contact form (Visit Us page) — visually complete, non-functional
   ------------------------------------------------------------- */
.form-field {
  margin-bottom: var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.form-field label { font-weight: 700; font-size: 0.9rem; }
.form-field input,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.9rem;
  border: 2px solid rgba(158,27,77,0.25);
  border-radius: 10px;
}

/* -------------------------------------------------------------
   10. RESPONSIVE
   ------------------------------------------------------------- */
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 800px) {
  .nav-toggle { display: none; }
  .nav-links {
    display: flex;
    flex-direction: row;
    padding: 0;
    gap: var(--space-sm);
  }
  .nav-links a { padding: 0.5rem 0.9rem; }
}

@media (min-width: 900px) {
  .menu-two-col { grid-template-columns: 1fr 1fr; align-items: start; }
}
