/* ==========================================================================
   Cafe Polo — recreated stylesheet
   Design tokens taken from the original site:
   font Lato (100/300/700) · text #525252 · page bg #f7f7f7 · accent #2f7b9e
   voucher link #1da1f2 · uppercase headings · flat white content card
   ========================================================================== */

* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --text: #525252;
  --bg: #f7f7f7;
  --accent: #2f7b9e;
  --voucher: #1da1f2;
  --line: #e5e5e5;
  --muted: #a5a5a5;
}

html { -webkit-font-smoothing: antialiased; }

body {
  font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 24px;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--text); text-decoration: none; }
a:hover { color: #2d2d2d; }
img { max-width: 100%; height: auto; display: block; }

/* ---------- Navbar ---------- */

.navbar {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: relative;
  z-index: 10;
}
.navbar ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}
.navbar a {
  display: block;
  padding: 0 15px;
  line-height: 60px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #8a8a8a;
}
.navbar a:hover { color: #2d2d2d; }
.navbar a.active { color: #2d2d2d; }

/* ---------- Home hero ---------- */

.hero {
  height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-badge {
  position: absolute;
  top: 190px;
  left: 50%;
  transform: translateX(-50%);
  width: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-badge::before,
.hero-badge::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}
.hero-badge img {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.55);
  margin: 0 14px;
}

/* ---------- White content card ---------- */

.card-wrap { padding: 0 20px; }

.card {
  background: #fff;
  max-width: 680px;
  margin: 0 auto 60px;
  padding: 45px 50px 55px;
}
.home .card { margin-top: -255px; position: relative; }
.has-banner .card { margin-top: -60px; position: relative; }

/* ---------- Interior banner ---------- */

.banner {
  height: 300px;
  background-size: cover;
  background-position: center;
}

/* ---------- Typography ---------- */

.card h2,
.section-heading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text);
  margin-bottom: 15px;
}
.card p { margin-bottom: 15px; }
.card p:last-child { margin-bottom: 0; }
.body-text a { color: var(--accent); }

/* ---------- Voucher strip ---------- */

.voucher {
  text-align: center;
  margin-bottom: 40px;
}
.voucher a {
  color: var(--voucher);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.voucher::after {
  content: "";
  display: block;
  width: 130px;
  margin: 22px auto 0;
  border-bottom: 1px solid var(--line);
}

/* ---------- Menu cards row ---------- */

.menu-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
  margin-bottom: 50px;
}
.menu-cards h2 { font-size: 14px; margin-bottom: 12px; }
.menu-cards p { font-size: 14px; line-height: 21px; min-height: 84px; }
.btn {
  display: inline-block;
  background: var(--accent);
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 32px;
  padding: 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn:hover { background: #29708f; color: #fff; }

/* ---------- Features (100% fair trade / fresh / homemade) ---------- */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 50px;
}
.feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 10px 0;
}
.feature + .feature { border-left: 1px solid var(--line); }
.feature img { width: 42px; height: 42px; }
.feature .pct {
  font-size: 26px;
  font-weight: 100;
  color: #b8b8b8;
  line-height: 1;
}
.feature .label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ---------- Block image ---------- */

.block-image {
  height: 400px;
  background-size: cover;
  background-position: center;
  margin: 0 -50px 45px;
}

/* ---------- "Fine food / good living" divider ---------- */

.tagline {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 45px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #9a9a9a;
  white-space: nowrap;
}
.tagline::before,
.tagline::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}
.tagline img { width: 30px; height: 30px; }

/* ---------- Opening hours ---------- */

.hours-heading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.hours-heading::after {
  content: "";
  display: block;
  height: 8px;
  margin-top: 8px;
  background: repeating-linear-gradient(
    -45deg,
    #e9e9e9 0,
    #e9e9e9 2px,
    transparent 2px,
    transparent 5px
  );
}
.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 35px;
  margin-top: 25px;
}
.booking-line {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 20px;
  margin-bottom: 18px;
}
.booking-line::after {
  content: "";
  display: block;
  height: 8px;
  margin-top: 16px;
  background: repeating-linear-gradient(
    -45deg,
    #e9e9e9 0,
    #e9e9e9 2px,
    transparent 2px,
    transparent 5px
  );
}
.hours-notice { font-size: 13px; line-height: 20px; margin-bottom: 18px; }
.hours-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.hours-table td {
  padding: 6px 4px;
  border-bottom: 1px dotted #dcdcdc;
}
.hours-table td:last-child { padding-left: 25px; }
.map-link { display: block; margin-bottom: 15px; }
.mailing-list { font-size: 13px; }
.mailing-list a { color: var(--accent); }

/* ---------- Interior page layouts ---------- */

.two-col {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 25px;
}
.text-box {
  border: 1px solid var(--line);
  padding: 22px 25px;
  font-size: 14px;
  line-height: 22px;
}
.text-box h2 { font-size: 13px; }
.gallery { display: flex; flex-direction: column; gap: 12px; }
.gallery img { width: 100%; }

.body-text { font-size: 14px; line-height: 22px; }
.body-text h2 { margin-top: 25px; }
.body-text h2:first-child { margin-top: 0; }

.team-caption {
  text-align: center;
  font-size: 14px;
  margin-top: 20px;
}

/* ---------- Contact page ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  font-size: 13px;
  line-height: 21px;
}
.contact-grid a { color: var(--accent); }
.contact-block p { margin-bottom: 15px; }

/* ---------- Footer ---------- */

.footer {
  text-align: center;
  padding: 30px 20px 45px;
  font-size: 12px;
  color: #8a8a8a;
}
.footer img {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  border-radius: 50%;
}
.footer a { color: #8a8a8a; }

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .card { padding: 30px 25px 40px; }
  .home .card { margin-top: -200px; }
  .menu-cards,
  .features,
  .hours-grid,
  .two-col,
  .contact-grid { grid-template-columns: 1fr; }
  .menu-cards p { min-height: 0; }
  .feature + .feature { border-left: none; border-top: 1px solid var(--line); }
  .block-image { margin: 0 -25px 35px; height: 260px; }
  .hero { height: 420px; }
  .hero-badge { top: 130px; }
  .navbar a { line-height: 44px; padding: 0 10px; }
}
