/*
Theme Name: Boeuf Steak & Burger
Theme URI: https://www.boeufburger.ie
Author: Boeuf & Frites
Description: Custom theme for Boeuf Steak & Burger — steak and Wagyu burgers at 5 Cecilia Street, Temple Bar, Dublin 2. Static brochure theme: Home, Menu, Find Us, Contact.
Version: 1.7.0
Requires PHP: 7.4
License: Proprietary
Text Domain: boeuf-steakburger
*/

/* ===== Fonts ===== */
@font-face {
  font-family: 'Roulettecapsopti';
  src: url('assets/RouletteCapsOpti.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

/* ===== Base ===== */
:root {
  --dark: #1a1008;
  --darker: #140c06;
  --cream: #f5edd8;
  --cream-text: #e7dcc4;
  --red: #c8282a;
  --gold: #c9a227;
  --bronze: #8a6a3f;
  --ink: #4a3a29;
  --ink-dark: #2b1d12;
  --muted: #c9a98a;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: 'Lato', 'Helvetica Neue', Arial, sans-serif;
  background: var(--dark);
  color: var(--cream-text);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.wrap { max-width: 900px; margin: 0 auto; padding: 0 20px; }

/* ===== Nav ===== */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; background: var(--dark);
  position: relative; z-index: 50;
}
.nav-brand {
  font-family: 'Roulettecapsopti', serif; color: var(--red);
  font-size: 22px; letter-spacing: 1px; text-decoration: none; white-space: nowrap;
}
.nav-toggle { display: none; }
.nav-burger { display: none; cursor: pointer; color: var(--cream); font-size: 26px; line-height: 1; padding: 4px 8px; }
.nav-menu { display: flex; align-items: center; gap: 26px; list-style: none; }
.nav-menu a {
  color: var(--cream); text-decoration: none; font-size: 15px;
}
.nav-menu a:hover { color: #fff; }
.nav-book {
  background: var(--red); color: #fff !important; padding: 11px 20px;
  border-radius: 4px; font-weight: 700;
}
@media (max-width: 860px) {
  .nav-burger { display: block; }
  .nav-menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--darker); flex-direction: column; align-items: stretch;
    padding: 10px 0; gap: 0; border-bottom: 1px solid rgba(200,40,42,.5);
  }
  .nav-menu li a { display: block; padding: 13px 24px; }
  .nav-toggle:checked ~ .nav-menu { display: flex; }
  .nav-book { margin: 10px 24px 6px; text-align: center; border-radius: 999px; }
}

/* ===== Hero ===== */
.hero {
  min-height: 82vh; display: flex; align-items: center; justify-content: center;
  background-size: cover; background-position: 50% 55%; background-repeat: no-repeat;
  padding: 40px 24px;
}
.hero-card {
  max-width: 640px; width: 100%; text-align: center;
  background: rgba(26,16,8,.55); border-radius: 6px; padding: 44px;
  display: flex; flex-direction: column; gap: 20px; align-items: center;
}
.hero-card h1 {
  font-family: 'Roulettecapsopti', serif; font-weight: 400;
  color: var(--cream); font-size: 56px; line-height: 1.08;
}
.hero-sub { font-size: 18px; color: var(--cream); }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 6px;
  font-weight: 700; text-decoration: none; text-align: center; white-space: nowrap;
  color: #fff; background: #b5211a; border: 1px solid #b5211a; font-size: 16px;
}
.btn-ghost { background: transparent; border: 1px solid rgba(245,237,216,.7); }
.btn:hover { filter: brightness(1.1); }
@media (max-width: 767px) {
  .hero { padding: 30px 16px; }
  .hero-card { padding: 30px 18px; }
  .hero-card h1 { font-size: 40px; }
  .hero-btns { flex-direction: column; width: 100%; }
  .btn { width: 100%; }
}

/* ===== Sections ===== */
.section { padding: 72px 0; }
.sec-title {
  font-family: 'Roulettecapsopti', serif; font-weight: 400; color: var(--cream);
  font-size: 44px; text-align: center; margin-bottom: 22px; line-height: 1.1;
}
.sec-text { max-width: 720px; margin: 0 auto; text-align: center; color: var(--cream-text); }
@media (max-width: 767px) { .sec-title { font-size: 32px; } .section { padding: 52px 0; } }

/* Photo band */
.photo-band { display: flex; gap: 18px; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.photo-band img { width: 50%; height: 380px; object-fit: cover; border-radius: 12px; }
@media (max-width: 767px) {
  .photo-band { flex-direction: column; }
  .photo-band img { width: 100%; height: 240px; }
}

/* Booking */
.booking { text-align: center; }
.booking .ot-embed { max-width: 340px; margin: 30px auto 8px; text-align: center; }
.booking .ot-embed iframe { max-width: 100% !important; margin: 0 auto !important; display: block !important; }

/* ===== Menu page ===== */
.menu-hero { max-width: 760px; margin: 0 auto; padding: 56px 20px 26px; text-align: center; }
.menu-kicker { color: #c4a050; font-size: 12px; letter-spacing: 6px; text-transform: uppercase; margin-bottom: 14px; }
.menu-hero h1 { font-family: 'Roulettecapsopti', serif; font-weight: 400; color: var(--cream); font-size: 60px; line-height: 1.05; margin-bottom: 14px; }
.menu-sub { color: #d8c7a6; font-size: 17px; }
.menu-note { margin-top: 16px; color: #9a7830; font-size: 12px; font-style: italic; }
@media (max-width: 767px) { .menu-hero h1 { font-size: 42px; } }

.bfm-tabs {
  display: flex; justify-content: center; align-items: stretch; overflow-x: auto;
  position: sticky; top: 0; z-index: 60; background: var(--dark);
  border-top: 1px solid rgba(200,40,42,.55); border-bottom: 1px solid rgba(200,40,42,.55);
  padding: 0 12px; margin-bottom: 30px;
  scrollbar-width: none;
}
.bfm-tabs::-webkit-scrollbar { display: none; }
.bfm-tab {
  display: inline-block; padding: 16px 22px 13px; font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--muted);
  text-decoration: none; white-space: nowrap; border-bottom: 3px solid transparent;
}
.bfm-tab:hover { color: #fff; }
.bfm-tab.is-on { color: #fff; border-bottom-color: var(--red); }
@media (max-width: 767px) { .bfm-tab { font-size: 11px; letter-spacing: 1.4px; padding-left: 14px; padding-right: 14px; } }

.bf-menus { display: flex; flex-direction: column; row-gap: 28px; max-width: 820px; margin: 0 auto; padding: 0 20px 72px; }
.menu-panel {
  background: var(--cream); color: #5a3e20; border-radius: 14px;
  padding: 52px 46px; text-align: center; scroll-margin-top: 78px;
}
@media (max-width: 767px) { .menu-panel { padding: 26px 20px; } }
.menu-panel h2 {
  font-family: 'Roulettecapsopti', serif; font-weight: 400; color: var(--red);
  font-size: 38px; line-height: 1.15; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px;
}
@media (max-width: 767px) { .menu-panel h2 { font-size: 30px; } }
.bf-price {
  font-family: 'Roulettecapsopti', serif; color: var(--red); font-size: 46px;
  line-height: 1.3; letter-spacing: 1px; margin: 8px auto 10px;
}
@media (max-width: 767px) { .bf-price { font-size: 38px; } }
.rule { width: 60px; height: 2px; background: var(--gold); margin: 16px auto 22px; }
.bf-label {
  color: var(--bronze); font-size: 12px; font-weight: 700; letter-spacing: 2.4px;
  text-transform: uppercase; margin: 32px 0 10px;
}
.bf-name { font-weight: 700; font-size: 18px; color: var(--ink-dark); line-height: 1.35; margin: 22px 0 3px; }
.bf-item { color: var(--ink); font-size: 16px; line-height: 1.65; max-width: 600px; margin: 2px auto 0; }
@media (max-width: 767px) { .bf-name { font-size: 17px; margin-top: 18px; } .bf-item { font-size: 15px; } }

.bf-cta { display: flex; flex-direction: column; align-items: center; row-gap: 18px; margin-top: 34px; padding-top: 8px; }
.pill {
  display: inline-flex; align-items: center; background: var(--red); color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
  text-decoration: none; border-radius: 999px; padding: 14px 32px;
}
.pill:hover { filter: brightness(1.1); }
.quiet-link {
  color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; text-decoration: underline;
}
.quiet-link:hover { color: #fff; }

/* ===== Find Us ===== */
.fu-hero { max-width: 1100px; margin: 10px auto 0; padding: 0 20px; }
.fu-hero img { width: 100%; height: 440px; object-fit: cover; border-radius: 16px; }
@media (max-width: 767px) { .fu-hero img { height: 260px; } }
.fu-intro { max-width: 720px; margin: 34px auto; padding: 0 20px; text-align: center; }
.loc-grid { display: flex; gap: 34px; align-items: flex-start; }
.loc-col { flex: 1; text-align: left; }
@media (max-width: 860px) { .loc-grid { flex-direction: column; } }
.loc-addr { font-size: 17px; color: var(--ink-dark); font-weight: 700; }
.loc-sub { color: var(--bronze); font-size: 12px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; margin: 26px 0 10px; }
.hours-row { display: flex; align-items: baseline; gap: 8px; padding: 4px 0; color: var(--ink); }
.hours-row .dots { flex: 1; border-bottom: 1px dotted rgba(138,106,63,.6); }
.hours-row b { color: var(--ink-dark); }
.loc-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.map-embed { margin-top: 20px; }
.map-embed iframe { border: 0; border-radius: 12px; display: block; width: 100%; height: 280px; }
.fu-photo { width: 100%; height: 420px; object-fit: cover; border-radius: 12px; }
.fu-gallery { display: flex; gap: 16px; max-width: 1100px; margin: 40px auto 0; padding: 0 20px; }
.fu-gallery img { width: 33.33%; height: 260px; object-fit: cover; border-radius: 12px; }
@media (max-width: 767px) {
  .fu-gallery { flex-wrap: wrap; }
  .fu-gallery img { width: 100%; height: 230px; }
}

/* ===== Contact ===== */
.contact-card { background: var(--cream); color: var(--ink); border-radius: 14px; padding: 40px; max-width: 640px; margin: 0 auto; }
.contact-card label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--bronze); margin: 18px 0 6px; text-align: center; }
.contact-card input, .contact-card textarea {
  width: 100%; padding: 12px; border: 1px solid #d8c7a6; border-radius: 6px;
  font-family: inherit; font-size: 15px; background: #fffdf6;
}
.contact-card textarea { min-height: 120px; }
.contact-card .pill { margin: 26px auto 0; display: table; border: 0; cursor: pointer; }
.contact-alt { text-align: center; margin-top: 26px; color: var(--cream-text); }
.contact-alt a { color: var(--muted); }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid rgba(201,162,39,.4); margin-top: 40px; padding: 48px 20px 90px; text-align: center; }
.ft-logo { width: 110px; margin: 0 auto 18px; }
.ft-tag { color: #c4a050; font-size: 12px; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 12px; }
.site-footer a { color: var(--cream-text); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.ft-line { margin: 4px 0; }
.ft-copy { margin-top: 26px; font-size: 12px; color: #9a8468; }

/* ===== Mobile action bar ===== */
.bx-mob-bar { display: none; }
@media (max-width: 767px) {
  .bx-mob-bar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
    background: var(--darker); border-top: 1px solid rgba(200,40,42,.6);
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom)); gap: 8px;
    box-shadow: 0 -4px 16px rgba(0,0,0,.45);
  }
  .bx-mb-btn {
    flex: 1; display: flex; align-items: center; justify-content: center;
    padding: 11px 4px; border: 1.5px solid var(--red); border-radius: 999px;
    font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
    color: var(--cream); text-decoration: none; white-space: nowrap;
  }
  .bx-mb-book { background: var(--red); color: #fff; }
  body { padding-bottom: 64px; }
}

/* Mobile hours rows: keep each row on one line */
@media (max-width: 480px) {
  .hours-row { font-size: 14px; }
  .hours-row span:first-child, .hours-row b { white-space: nowrap; }
}
@media (max-width: 350px) {
  .hours-row { font-size: 12.5px; }
}

/* Sub-headings inside unified menu panels */
.bf-subhead {
  font-family: 'Roulettecapsopti', serif; font-weight: 400; color: var(--red);
  font-size: 30px; line-height: 1.15; letter-spacing: 1px; text-transform: uppercase;
  margin: 44px 0 0;
}
.bf-subhead-top { margin-top: 6px; }
.bf-subprice {
  font-family: 'Roulettecapsopti', serif; color: var(--red); font-size: 34px;
  line-height: 1.25; letter-spacing: 1px; margin: 2px auto 4px;
}
@media (max-width: 767px) { .bf-subhead { font-size: 25px; } .bf-subprice { font-size: 28px; } }
.panel-dl { text-align: center; margin-top: 30px; }

/* ===== Contact form states ===== */
.form-ok, .form-err { text-align: center; font-weight: 700; padding: 12px 14px; border-radius: 8px; margin-bottom: 18px; }
.form-ok { background: #e6f2e2; color: #2e5c25; }
.form-err { background: #f7e3e2; color: #8c2320; }
.hp-field { position: absolute !important; left: -9999px !important; height: 0; overflow: hidden; }

.ft-name { font-family: 'Roulettecapsopti', serif; color: var(--cream); font-size: 26px; line-height: 1.25; letter-spacing: 1px; margin-bottom: 14px; }
.nh-solo { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.nh-solo img { width: 100%; height: 440px; object-fit: cover; border-radius: 12px; }
@media (max-width: 767px) { .nh-solo img { height: 250px; } }

/* ===== Homepage v2 (left hero, open menu, visit grid) ===== */
.nh-hero {
  min-height: 86vh; display: flex; align-items: center;
  background-size: cover; background-position: 55% 60%; background-repeat: no-repeat;
  background-color: var(--darker); position: relative;
}
.nh-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(15,9,4,.92) 0%, rgba(15,9,4,.78) 34%, rgba(15,9,4,.35) 62%, rgba(15,9,4,.08) 100%);
}
.nh-hero-inner { position: relative; z-index: 1; max-width: 620px; padding: 90px 24px 100px 7%; }
.nh-hero-inner h1 {
  font-family: 'Roulettecapsopti', serif; font-weight: 400; color: var(--cream);
  font-size: 60px; line-height: 1.1;
}
.nh-rule { width: 140px; height: 2px; background: var(--gold); margin: 26px 0 22px; }
.nh-hero-sub { color: var(--cream); font-size: 18px; line-height: 1.7; max-width: 520px; }
.nh-hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 34px; }

.nh-menucard-sec { padding: 76px 20px 26px; }
.nh-menucard {
  max-width: 600px; margin: 30px auto 0; text-align: center;
  border-top: 2px solid var(--gold); border-bottom: 2px solid var(--gold);
  padding: 36px 8px 40px;
}
.nh-mc-kicker { color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }
.nh-mc-rule { width: 56px; height: 2px; background: var(--gold); margin: 18px auto 26px; }
.nh-mc-row { display: flex; align-items: baseline; gap: 10px; text-align: left; margin-top: 18px; }
.nh-mc-name { font-family: 'Roulettecapsopti', serif; color: var(--red); font-size: 24px; white-space: nowrap; }
.nh-mc-dots { flex: 1; border-bottom: 2px dotted rgba(201,169,138,.35); transform: translateY(-5px); }
.nh-mc-price { font-family: 'Roulettecapsopti', serif; color: var(--cream); font-size: 24px; white-space: nowrap; }
.nh-mc-desc { text-align: left; color: var(--cream-text); font-size: 14.5px; line-height: 1.5; margin-top: 4px; }
.nh-mc-note { color: var(--muted); font-size: 13.5px; font-style: italic; line-height: 1.6; margin-bottom: 26px; }
@media (max-width: 560px) {
  .nh-mc-name, .nh-mc-price { font-size: 20px; }
}

.nh-visit { padding: 76px 24px; }
.nh-visit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; max-width: 900px; margin: 0 auto; }
.nh-hours h2, .nh-find h2 {
  font-family: 'Roulettecapsopti', serif; font-weight: 400; color: var(--cream);
  font-size: 32px; margin-bottom: 18px;
}
.nh-hours .hours-row { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-bottom: 1px dotted rgba(201,169,138,.35); color: var(--cream-text); }
.nh-hours .hours-row b { color: var(--cream); }
.nh-find p { color: var(--cream-text); font-size: 16.5px; line-height: 1.8; margin-bottom: 22px; }
.nh-visit-btns { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 860px) {
  .nh-hero-inner { padding: 70px 22px 80px; }
  .nh-hero-inner h1 { font-size: 42px; }
  .nh-visit-grid { grid-template-columns: 1fr; }
}

/* Spacing fixes v1.8.2/3 */
.section.booking { padding-top: 44px; padding-bottom: 28px; }
.nh-visit { padding-top: 30px; }
@media (max-width: 767px) { .section.booking { padding-top: 34px; } .nh-menucard-sec { padding-bottom: 18px; } }
