/* 3B's Restaurante — shared styles for inner pages
   Palette taken from the site's own Elementor globals:
   #4D0505 maroon · #964B00 brown · #F2C438 gold · #D1AF53 soft gold · #028F3A green */

:root {
  --maroon: #4D0505;
  --brown: #964B00;
  --gold: #F2C438;
  --gold-soft: #D1AF53;
  --green: #028F3A;
  --ink: #1c1c1c;
  --paper: #E7E7E7;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Poppins", "Roboto", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Playfair Display", "Roboto Slab", Georgia, serif;
  line-height: 1.15;
  margin: 0 0 .5em;
}

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

.wrap { width: min(1120px, 92vw); margin-inline: auto; }

/* ---------- page hero ---------- */
.hero {
  position: relative;
  background: var(--maroon);
  color: #fff;
  text-align: center;
  padding: clamp(3rem, 8vw, 6rem) 0;
  background-size: cover;
  background-position: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(77,5,5,.86), rgba(77,5,5,.94));
}
.hero .wrap { position: relative; }
.hero h1 { font-size: clamp(2.1rem, 5.5vw, 3.4rem); margin-bottom: .35rem; }
.hero p { font-size: clamp(1rem, 2vw, 1.15rem); opacity: .92; margin: 0 auto; max-width: 60ch; }
.rule {
  width: 84px; height: 4px; background: var(--green);
  border: 0; margin: 1.1rem auto 1.4rem;
}
.rule.left { margin-inline: 0; }

/* ---------- sections ---------- */
section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
section.alt { background: var(--paper); }
section h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); color: var(--maroon); }
.lead { font-size: 1.08rem; max-width: 68ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  background: linear-gradient(90deg, var(--maroon), var(--brown));
  color: #fff; text-decoration: none; font-weight: 600;
  padding: .95rem 1.9rem; border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.22);
  transition: transform .18s, filter .18s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.12); }
.btn.gold { background: linear-gradient(90deg, var(--gold-soft), var(--gold)); color: var(--maroon); }
.btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.btns.center { justify-content: center; }

/* ---------- photo grids ---------- */
.grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
}
.grid img {
  width: 100%; height: 230px; object-fit: cover;
  border-radius: 12px; box-shadow: 0 4px 14px rgba(0,0,0,.14);
  transition: transform .25s;
}
.grid img:hover { transform: scale(1.03); }

/* ---------- cards ---------- */
.cards { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.card {
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 6px 22px rgba(0,0,0,.11);
  border-top: 5px solid var(--gold-soft);
}
.card .body { padding: 1.4rem 1.5rem 1.7rem; }
.card h3 { color: var(--maroon); font-size: 1.3rem; }

/* contact list */
.info { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.info li { padding: .4rem 0; border-bottom: 1px solid rgba(0,0,0,.08); }
.info li:last-child { border-bottom: 0; }
.info strong { color: var(--maroon); display: inline-block; min-width: 92px; }
.info a { text-decoration: none; }
.info a:hover { text-decoration: underline; }

/* hours strip */
.hours {
  background: var(--maroon); color: #fff; text-align: center;
  padding: 2.2rem 0;
}
.hours h2 { color: var(--gold); }
.hours p { margin: .3rem 0; letter-spacing: .04em; }
.hours .closed { color: var(--gold-soft); font-weight: 600; }

.map { width: 100%; height: 300px; border: 0; border-radius: 14px; margin-top: 1rem; }

/* ---------- footer ---------- */
footer.ft {
  background: #2b0303; color: #e8dcdc; padding: 2.6rem 0 1.8rem; font-size: .93rem;
}
footer.ft a { color: var(--gold-soft); text-decoration: none; }
footer.ft a:hover { text-decoration: underline; }
footer.ft .cols { display: grid; gap: 1.8rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
footer.ft h4 { color: #fff; margin: 0 0 .6rem; font-family: "Playfair Display", serif; }
footer.ft .base {
  margin-top: 1.8rem; padding-top: 1.1rem; text-align: center;
  border-top: 1px solid rgba(255,255,255,.14); opacity: .75; font-size: .85rem;
}

@media (max-width: 640px) {
  .grid img { height: 175px; }
}
