/* Pacifica Cantonese - chineserestaurantmanchester.org.uk */

@font-face {
  font-family: "Yanone Kaffeesatz";
  src: url("fonts/YanoneKaffeesatz-Light-webfont.woff") format("woff");
  font-weight: 300;
  font-display: swap;
}
@font-face {
  font-family: "Metrophobic";
  src: url("fonts/Metrophobic-webfont.woff") format("woff");
  font-weight: 400;
  font-display: swap;
}

:root {
  --blue-dark: #3d677f;
  --blue: #5fa3c4;
  --blue-light: #a4d0e6;
  --ink: #33393d;
  --muted: #6b757b;
  --line: #e3e9ec;
  --bg: #ffffff;
  --bg-soft: #f4f8fa;
  --display: "Yanone Kaffeesatz", "Arial Narrow", sans-serif;
  --body: "Metrophobic", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 var(--body);
}

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

a { color: var(--blue-dark); }
a:hover { color: var(--blue); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 300;
  color: var(--blue-dark);
  line-height: 1.1;
  margin: 0 0 .5em;
  letter-spacing: .01em;
}
h1 { font-size: 2.6rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.6rem; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
  padding-bottom: 18px;
}
.logo img { width: 300px; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.nav a {
  font-family: var(--display);
  font-size: 1.45rem;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--blue-dark);
  padding: 4px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); border-bottom-color: var(--blue-light); }

/* Hero */
.hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--blue-dark) url("../images/chineserestaurantmanchester.jpg") center / cover no-repeat;
  color: #fff;
}
.hero::before { content: ""; position: absolute; inset: 0; background: rgba(20, 40, 55, .35); }
.hero > div { position: relative; padding: 40px 16px; }
.hero h1 { color: #fff; font-size: clamp(3rem, 9vw, 5.5rem); margin: 0; text-transform: uppercase; }
.hero p { font-family: var(--display); font-size: clamp(1.4rem, 4vw, 2.1rem); margin: 0; }
.page-hero { min-height: 200px; }
.page-hero h1 { font-size: clamp(2.4rem, 7vw, 4rem); }

/* Layout */
.main { padding: 40px 0 48px; }
.columns { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; }
@media (max-width: 800px) { .columns { grid-template-columns: 1fr; } }

/* Gallery */
.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: 4px;
  margin-bottom: 24px;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery img { width: 100%; aspect-ratio: 600 / 335; object-fit: cover; scroll-snap-align: start; }

.awards { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.awards a { display: flex; gap: 12px; }

/* Sidebar */
.features { list-style: none; margin: 0; padding: 0; }
.features li {
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 4px 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.features li:first-child { padding-top: 0; }
.features img { grid-row: span 2; width: 55px; }
.features h3 { margin: 0; font-size: 1.55rem; }
.features p { margin: 0; color: var(--muted); }

.callout {
  margin: 24px 0;
  padding: 16px 20px;
  background: var(--bg-soft);
  border-left: 4px solid var(--blue);
  font-style: italic;
}

.wine { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; }
.wine h4 { font-size: 1.3rem; margin: 0 0 4px; font-style: italic; }
.wine p { margin: 0 0 6px; }
.wine small { color: var(--muted); }
.wine .price { font-family: var(--display); font-size: 1.6rem; color: var(--blue-dark); margin: 6px 0 0; }

/* Spotlights */
.spotlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
@media (max-width: 700px) { .spotlights { grid-template-columns: 1fr; } }
.spotlight { position: relative; overflow: hidden; border-radius: 4px; }
.spotlight img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.spotlight div {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(15, 30, 40, .85));
  color: #fff;
}
.spotlight h2 { color: #fff; font-size: 1.7rem; margin: 0; }
.spotlight p { margin: 0; font-size: .9rem; }

/* Content */
.content p { margin: 0 0 1em; }
.check { list-style: none; padding: 0; columns: 2 220px; margin: 0 0 1.5em; }
.check li { padding-left: 1.5em; position: relative; margin-bottom: 4px; break-inside: avoid; }
.check li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); }

.map { width: 100%; height: 420px; border: 0; border-radius: 4px; }

.hours { border-collapse: collapse; width: 100%; max-width: 520px; margin-bottom: 1.5em; }
.hours th, .hours td { text-align: left; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.hours th { font-family: var(--display); font-weight: 300; font-size: 1.3rem; color: var(--blue-dark); }
.hours tr:nth-child(even) td { background: var(--bg-soft); }

/* Contact form */
.form { display: grid; gap: 16px; max-width: 560px; }
.form label { display: block; font-weight: bold; margin-bottom: 4px; }
.form input[type=text], .form input[type=email], .form textarea {
  width: 100%;
  padding: 10px 12px;
  font: inherit;
  color: inherit;
  border: 1px solid #c9d5db;
  border-radius: 4px;
  background: #fff;
}
.form input:focus, .form textarea:focus { outline: 2px solid var(--blue-light); border-color: var(--blue); }
.form textarea { min-height: 160px; resize: vertical; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.button {
  justify-self: start;
  padding: 10px 28px;
  font: 1.4rem var(--display);
  text-transform: uppercase;
  color: #fff;
  background: var(--blue-dark);
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.button:hover { background: var(--blue); }
.notice { padding: 12px 16px; border-radius: 4px; margin-bottom: 20px; }
.notice.ok { background: #e7f5ec; color: #23613a; }
.notice.err { background: #fbeaea; color: #8a2424; }

/* Footer */
.site-footer { background: var(--blue-dark); color: #dfeaf0; padding: 40px 0 24px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 700px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: 1.6rem; border-bottom: 1px solid rgba(255, 255, 255, .25); padding-bottom: 6px; }
.site-footer p { margin: 0 0 4px; }
.site-footer table { border-collapse: collapse; }
.site-footer td { padding: 0 16px 2px 0; }
.copyright { margin-top: 32px; font-size: .85rem; color: var(--blue-light); }
