/* ============================================
   The Bulls Head at Davenham - Static Site
   Fonts: Playfair Display (headings), Inter (body)
   Palette: sage #7a8560, cream #f4efe6, navy #1f2a3a, ochre #b87333
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700;800&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap');

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sage: #5E614A;
  --sage-dark: #464836;
  --sage-light: #7c7f64;
  --cream: #F4EEE7;
  --cream-dark: #E8DFCF;
  --navy: #191D24;
  --navy-soft: #2a2f38;
  --ochre: #C19D61;
  --ochre-dark: #9e7e48;
  --text-body: #3a3e47;
  --text-light: #6a6f79;
  --rule: rgba(25, 29, 36, 0.12);
  --white: #ffffff;
  --font-heading: 'Cinzel', Georgia, serif;
  --font-body: 'PT Serif', Georgia, serif;
  --max-w: 1280px;
  --nav-h: 96px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--cream);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Layout ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--cream { background: var(--cream); }
.section--cream-dark { background: var(--cream-dark); }
.section--sage { background: var(--sage); color: var(--white); }
.section--navy { background: var(--navy); color: var(--white); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
}

.section-title--light { color: var(--white); }
.section-title--centre { text-align: center; }

.section-rule {
  width: 48px;
  height: 2px;
  background: var(--ochre);
  margin-bottom: 28px;
}

.section-rule--centre { margin-left: auto; margin-right: auto; }
.section-rule--white { background: rgba(255,255,255,0.75); }

.lede {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-body);
  max-width: 640px;
}

.lede--light { color: rgba(255,255,255,0.85); }
.lede--centre { margin-left: auto; margin-right: auto; text-align: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 2px;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1.5px solid transparent;
}

.btn--ochre {
  background: var(--ochre);
  color: var(--white);
  border-color: var(--ochre);
}
.btn--ochre:hover { background: var(--ochre-dark); border-color: var(--ochre-dark); }

.btn--navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--navy:hover { background: var(--navy-soft); border-color: var(--navy-soft); }

.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-navy:hover { background: var(--navy); color: var(--white); }

.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline-white:hover { background: var(--white); color: var(--navy); }

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(94, 97, 74, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
}

.nav__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px 24px;
  gap: 32px;
}

.nav__logo { display: flex; align-items: center; gap: 12px; }
.nav__logo img {
  max-width: 300px;
  width: 100%;
  height: auto;
}

.nav__links {
  display: flex;
  gap: 30px;
  align-items: center;
  justify-self: center;
}

.nav__links a {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0;
  padding: 6px 0;
  border-bottom: 1.5px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav__links a:hover { color: var(--white); }
.nav__links a.active {
  color: var(--white);
  border-bottom-color: var(--white);
}

.nav__cta {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ochre);
  padding: 12px 22px;
  border-radius: 2px;
  transition: background 0.25s;
  justify-self: end;
}
.nav__cta:hover { background: var(--ochre-dark); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 6px;
}
.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ============================================
   HOME HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(rgba(25,29,36,0.5), rgba(25,29,36,0.6)), url('../assets/gallery/pub-1.jpg') center/cover no-repeat;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: calc(var(--nav-h) + 48px) 24px 48px;
  color: var(--white);
  text-align: center;
}

.hero__inner {
  max-width: 820px;
}

.hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: 0.01em;
}

.hero__title em {
  font-style: normal;
  color: var(--cream-dark);
}

.hero__sub {
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin: 0 auto 36px;
  max-width: 620px;
}

.hero__ctas {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  height: 320px;
  background: linear-gradient(rgba(25,29,36,0.6), rgba(25,29,36,0.7)), url('../assets/gallery/pub-2.jpg') center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  padding: 0 24px 56px;
  margin-top: var(--nav-h);
  color: var(--white);
}

.page-hero__inner {
  max-width: var(--max-w);
  width: 100%;
  margin: 0 auto;
}

.page-hero__eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
}

.page-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 500;
  line-height: 1.1;
}

/* ============================================
   HOME - INTRO STRIP
   ============================================ */
.intro {
  text-align: center;
  padding: 96px 0 48px;
}

.intro__inner {
  max-width: 720px;
  margin: 0 auto;
}

/* ============================================
   HOME - PILLARS (Pub / Beer / Food / Location)
   ============================================ */
.pillars {
  padding: 48px 0 96px;
}

.pillars__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.pillar {
  text-align: center;
  padding: 32px 16px;
}

.pillar__icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pillar__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 12px;
}

.pillar__body {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-body);
}

/* ============================================
   HOME - FEATURE SPLIT
   ============================================ */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.feature-split--reverse .feature-split__media { order: 2; }

.feature-split__media {
  height: 460px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--cream-dark);
}
.feature-split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   EVENTS LIST
   ============================================ */
.events {
  display: grid;
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.event {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 28px;
  align-items: center;
  background: var(--white);
  padding: 28px 32px;
  border-left: 3px solid var(--ochre);
}

.event__date {
  font-family: var(--font-heading);
  color: var(--navy);
}
.event__date .day {
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1;
  display: block;
}
.event__date .month {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 6px;
}

.event__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.event__meta {
  font-size: 0.88rem;
  color: var(--text-light);
}

/* ============================================
   MENU VIEWER (tabs + image + download)
   ============================================ */
.menu-viewer {
  max-width: 880px;
  margin: 0 auto;
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}

.menu-tab {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--text-light);
  background: transparent;
  border: none;
  padding: 16px 28px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
}

.menu-tab:hover { color: var(--navy); }

.menu-tab.active {
  color: var(--navy);
  border-bottom-color: var(--ochre);
}

.menu-select {
  display: none;
  width: 100%;
  max-width: 320px;
  margin: 0 auto 28px;
  padding: 14px 16px;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 2px;
  cursor: pointer;
}

.menu-panel { display: none; text-align: center; }
.menu-panel.active { display: block; }

.menu-panel__image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 28px;
  box-shadow: 0 8px 32px rgba(25, 29, 36, 0.12);
}

/* ============================================
   GALLERY GRID
   ============================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-grid__item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream-dark);
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-grid__item:hover img {
  transform: scale(1.04);
}

/* ============================================
   CONTACT PANELS
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: -80px;
  position: relative;
  z-index: 5;
}

.contact-card {
  background: var(--white);
  padding: 40px 28px;
  text-align: center;
  box-shadow: 0 6px 30px rgba(25, 29, 36, 0.08);
}

.contact-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.contact-card__icon .bi { font-size: 1.3rem; }

.contact-card__label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 10px;
}

.contact-card__value {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.4;
}

.contact-card__value a:hover { color: var(--ochre); }

.hours {
  display: grid;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto;
}

.hours__row {
  display: grid;
  grid-template-columns: 1fr auto;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.95rem;
}

.hours__day {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--navy);
}

.hours__time {
  font-family: var(--font-body);
  color: var(--text-body);
}

.map {
  aspect-ratio: 16 / 7;
  width: 100%;
  border: none;
}

/* ============================================
   TESTIMONIAL BAND
   ============================================ */
.testimonial {
  text-align: center;
  padding: 96px 0;
  background: linear-gradient(rgba(25,29,36,0.82), rgba(25,29,36,0.82)), url('../assets/gallery/pub-3.jpg') center/cover no-repeat;
  color: var(--white);
}

.testimonial__quote {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 1.45;
  max-width: 820px;
  margin: 0 auto 20px;
}

.testimonial__quote::before { content: '\201C'; }
.testimonial__quote::after { content: '\201D'; }

.testimonial__author {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* ============================================
   CTA BAND
   ============================================ */
.cta-band {
  background: var(--sage);
  padding: 64px 0;
  text-align: center;
  color: var(--white);
}

.cta-band__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 500;
  margin-bottom: 12px;
}

.cta-band__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.footer__brand img {
  max-width: 300px;
  width: 100%;
  height: auto;
  opacity: 0.9;
}

.footer__col-title {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 18px;
}

.footer__text {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.6);
}

.footer__links li { margin-bottom: 10px; }
.footer__links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer__links a:hover { color: var(--ochre); }

.footer__contact {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}
.footer__contact a:hover { color: var(--ochre); }
.footer__contact p { margin-bottom: 6px; }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer__copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

.footer__copy a {
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__meta {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .pillars__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .menu-tabs { display: none; }
  .menu-select { display: block; }
}

@media (max-width: 900px) {
  .feature-split { grid-template-columns: 1fr; gap: 32px; }
  .feature-split--reverse .feature-split__media { order: 0; }
  .feature-split__media { height: 320px; }
  .event { grid-template-columns: 90px 1fr; }
  .event__cta { grid-column: 1 / -1; justify-self: start; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --nav-h: 76px; }

  .nav__inner {
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }
  .nav__logo img { max-width: 160px; height: auto; }
  .nav__cta { display: none; }
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--sage);
    padding: 28px 24px 32px;
    gap: 18px;
    align-items: flex-start;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  }
  .nav__links.open a { padding: 6px 0; }
  .nav__links.open .nav__cta {
    display: inline-block;
    margin-top: 8px;
  }

  .section { padding: 64px 0; }
  .intro { padding: 72px 0 32px; }
  .pillars { padding: 32px 0 72px; }

  .hero { min-height: 88vh; }
  .hero__ctas { flex-direction: column; align-items: center; }
  .hero__ctas .btn { width: 100%; max-width: 280px; }

  .page-hero { height: 240px; padding-bottom: 36px; }

  .pillars__grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }

  .gallery-grid { grid-template-columns: 1fr; }

  .footer__grid { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; text-align: center; }

  .testimonial { padding: 72px 0; }
}

