/* =========================================================
   Biddy O'Dowds – main stylesheet
   Change the colours and fonts in :root to restyle the site.
   ========================================================= */
:root {
  --navy: #1c2b4a;
  --navy-dark: #111a2e;
  --cream: #f6efe0;
  --paper: #fbf7ee;
  --brass: #c9a45c;
  --brass-dark: #a8843f;
  --ink: #2a2420;
  --muted: #6b6258;
  --maroon: #7a1f2e;
  --maroon-dark: #5c1622;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .12);
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Lato", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --max: 1160px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--maroon); }
a:hover { color: var(--navy); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; color: var(--navy); margin: 0 0 .6em; }
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--cream { background: var(--cream); }
.section--maroon { background: var(--maroon); color: var(--cream); }
.section--dark { background: var(--navy); color: var(--cream); }
.section--dark h2, .section--dark h3 { color: var(--cream); }
.center { text-align: center; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46rem; }
.center .lead { margin-inline: auto; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--brass); color: #000; padding: .5rem 1rem; z-index: 200; }
.skip-link:focus { left: 1rem; }

/* Ornamental divider */
.divider { display: flex; align-items: center; justify-content: center; gap: .8rem; color: var(--brass); margin: 0 auto 1.4rem; max-width: 220px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: currentColor; opacity: .7; }
.divider span { font-size: 1.1rem; letter-spacing: .3em; }
.eyebrow { display: block; font-size: .8rem; letter-spacing: .25em; text-transform: uppercase; color: var(--brass-dark); font-weight: 700; margin-bottom: .6rem; }
.section--dark .eyebrow { color: var(--brass); }

/* Buttons */
.btn { display: inline-block; padding: .85rem 1.7rem; border-radius: 999px; font-weight: 700; text-decoration: none; letter-spacing: .03em; transition: transform .15s, background .2s, color .2s; border: 2px solid var(--brass); }
.btn--primary { background: var(--maroon); color: #fff; border-color: var(--maroon); }
.btn--primary:hover { background: var(--maroon-dark); border-color: var(--maroon-dark); color: #fff; transform: translateY(-2px); }
.btn--ghost { color: var(--cream); background: transparent; }
.btn--ghost:hover { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.center .btn-row { justify-content: center; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(17, 26, 46, .97); border-bottom: 1px solid rgba(201, 164, 92, .3); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }
.logo { font-family: var(--font-head); font-size: 1.5rem; color: var(--cream); text-decoration: none; line-height: 1; }
.logo small { display: block; font-family: var(--font-body); font-size: .62rem; letter-spacing: .32em; text-transform: uppercase; color: var(--brass); margin-top: .3rem; }
.logo:hover { color: var(--brass); }
.nav ul { list-style: none; display: flex; gap: 1.6rem; margin: 0; padding: 0; align-items: center; }
.nav a { color: var(--cream); text-decoration: none; font-size: .95rem; letter-spacing: .04em; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--brass); border-bottom-color: var(--brass); }
.nav .btn { padding: .5rem 1.2rem; border-bottom: 2px solid var(--maroon); }
.nav .btn:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: .5rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--cream); margin: 6px 0; transition: transform .25s, opacity .25s; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy-dark); transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; }
  .nav.open { transform: none; }
  .nav ul { flex-direction: column; gap: 0; padding: 1.5rem; align-items: stretch; }
  .nav li { border-bottom: 1px solid rgba(246, 239, 224, .1); }
  .nav a { display: block; padding: 1rem .2rem; font-size: 1.15rem; border: 0; }
  .nav .btn { margin-top: 1.2rem; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }
}

/* Hero */
.hero { position: relative; min-height: calc(100svh - var(--header-h)); display: grid; place-items: center; text-align: center; color: var(--cream); background: var(--navy-dark) center / cover no-repeat; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.65)); z-index: -1; }
.hero h1 { color: var(--cream); margin-bottom: .3em; }
.hero p { font-size: clamp(1.05rem, 2.4vw, 1.35rem); max-width: 40rem; margin: 0 auto 2rem; }
.hero--short { min-height: 46vh; }
.hero .eyebrow { color: var(--brass); }

/* Split image/text blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split + .split { margin-top: clamp(3rem, 7vw, 5.5rem); }
.split--reverse .split__media { order: 2; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 760px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.5rem; margin-top: 2.5rem; }
.card { background: #fff; border-radius: var(--radius); padding: 2rem 1.6rem; box-shadow: var(--shadow); text-align: center; border-top: 4px solid var(--maroon); }
.card__icon { font-size: 2.2rem; line-height: 1; margin-bottom: .8rem; }
.card p { color: var(--muted); margin-bottom: 1rem; }
.card a { font-weight: 700; text-decoration: none; }

/* Events list */
.events { display: grid; gap: 1.2rem; margin-top: 2rem; }
.event { display: grid; grid-template-columns: 96px 1fr auto; gap: 1.4rem; align-items: center; background: #fff; border-radius: var(--radius); padding: 1.3rem 1.5rem; box-shadow: var(--shadow); }
.event__date { background: var(--navy); color: var(--cream); border-radius: 8px; text-align: center; padding: .7rem .4rem; font-family: var(--font-head); line-height: 1.1; }
.event__date strong { display: block; font-size: 1.9rem; color: var(--brass); }
.event__date span { font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; }
.event h3 { margin-bottom: .2rem; }
.event p { margin: 0; color: var(--muted); }
.event__time { font-weight: 700; color: var(--maroon); white-space: nowrap; }
.tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--cream); color: var(--navy); padding: .15rem .6rem; border-radius: 999px; margin-left: .4rem; vertical-align: middle; }
@media (max-width: 600px) {
  .event { grid-template-columns: 72px 1fr; }
  .event__time { grid-column: 2; }
}

/* Weekly schedule */
.schedule { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-top: 2rem; }
.schedule div { border: 1px solid rgba(201, 164, 92, .45); border-radius: var(--radius); padding: 1.2rem; text-align: center; }
.schedule strong { display: block; font-family: var(--font-head); font-size: 1.2rem; color: var(--brass); }

/* Opening hours */
.hours { width: 100%; border-collapse: collapse; }
.hours th, .hours td { padding: .7rem .4rem; border-bottom: 1px dashed rgba(201, 164, 92, .5); text-align: left; }
.hours td { text-align: right; }
.hours tr.today { color: var(--maroon); font-weight: 700; }
.section--dark .hours tr.today { color: var(--brass); }
.open-status { display: inline-block; margin-top: 1rem; font-weight: 700; padding: .35rem .9rem; border-radius: 999px; background: var(--cream); color: var(--navy); font-size: .9rem; }
.open-status.is-open { background: #2f6b47; color: #fff; }
.open-status.is-closed { background: var(--maroon); color: #fff; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-top: 2rem; }
.gallery button { padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; transition: transform .4s; }
.gallery button:hover img, .gallery button:focus-visible img { transform: scale(1.05); }
.lightbox { position: fixed; inset: 0; background: rgba(10, 14, 12, .94); display: none; align-items: center; justify-content: center; z-index: 300; padding: 1rem; }
.lightbox.open { display: flex; }
.lightbox img { max-height: 82vh; max-width: min(1200px, 100%); border-radius: 6px; }
.lightbox figcaption { color: var(--cream); text-align: center; margin-top: .8rem; }
.lightbox button { position: absolute; background: rgba(0,0,0,.4); color: #fff; border: 1px solid rgba(255,255,255,.3); border-radius: 50%; width: 48px; height: 48px; font-size: 1.5rem; cursor: pointer; }
.lightbox__close { top: 1rem; right: 1rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.contact-grid address { font-style: normal; }
.map { border: 0; width: 100%; min-height: 380px; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--cream); }
.info-list { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.info-list li { padding: .45rem 0; }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr; } }

/* Forms */
.form { display: grid; gap: 1rem; }
.form label { font-weight: 700; font-size: .9rem; display: grid; gap: .3rem; }
.form input, .form textarea, .form select { font: inherit; padding: .75rem .9rem; border: 1px solid #d6cbb4; border-radius: 8px; background: #fff; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--maroon); border-color: var(--maroon); }
.form button { justify-self: start; cursor: pointer; font: inherit; }

/* CTA banner */
.cta { text-align: center; }
.cta p { max-width: 38rem; margin: 0 auto 1.8rem; }

/* Footer */
.site-footer { background: var(--navy-dark); color: rgba(246, 239, 224, .85); padding: 3.5rem 0 1.5rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer h3 { color: var(--brass); font-size: 1.1rem; }
.site-footer a { color: var(--cream); text-decoration: none; }
.site-footer a:hover { color: var(--brass); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: .2rem 0; }
.site-footer address { font-style: normal; }
.social { display: flex; gap: .8rem; margin-top: 1rem; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(201,164,92,.5); border-radius: 50%; font-size: .8rem; font-weight: 700; }
.footer-bottom { border-top: 1px solid rgba(246, 239, 224, .12); margin-top: 2.5rem; padding-top: 1.2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; font-size: .85rem; opacity: .75; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Mobile action bar */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar { display: grid; grid-template-columns: repeat(3, 1fr); position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; background: var(--navy-dark); border-top: 1px solid rgba(201,164,92,.4); padding-bottom: env(safe-area-inset-bottom); }
  .action-bar a { color: var(--cream); text-decoration: none; text-align: center; padding: .65rem .2rem; font-size: .78rem; letter-spacing: .05em; }
  .action-bar a span { display: block; font-size: 1.2rem; }
  .action-bar a:not(:last-child) { border-right: 1px solid rgba(246,239,224,.1); }
  body { padding-bottom: 64px; }
}

/* Reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Cocktail menu */
.cocktails { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.cocktails article { background: #fff; border-radius: var(--radius); padding: 1.5rem 1.6rem; box-shadow: var(--shadow); border-left: 4px solid var(--maroon); }
.cocktails h3 { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; margin-bottom: .4rem; }
.cocktails h3 span { font-family: var(--font-body); font-size: 1rem; color: var(--maroon); font-weight: 700; white-space: nowrap; }
.cocktails p { margin: 0; color: var(--muted); }

[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }
.btn--ghost-dark { color: var(--navy); background: transparent; border-color: var(--navy); }
.btn--ghost-dark:hover { background: var(--navy); color: var(--cream); }

/* Home page background video */
.hero--video { overflow: hidden; background: #000; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } .hero--video { background: #000 url('../images/hero-poster.jpg') center / cover no-repeat; } }
.split__media--tall img { aspect-ratio: 4 / 5; object-position: center 35%; max-height: 640px; }
.section--navy-band { background: var(--navy); color: var(--cream); }
.section--navy-band h2 { color: var(--cream); }
.section--navy-band .eyebrow { color: var(--brass); }

/* Weekly nights (events page) */
.weekly { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-top: 2rem; max-width: 1000px; margin-inline: auto; }
.weekly article { border: 1px solid rgba(201, 164, 92, .45); border-radius: var(--radius); padding: 2rem 1.5rem; }
.weekly__icon { font-size: 2.2rem; line-height: 1; margin-bottom: .6rem; }
.weekly h3 { color: var(--cream); margin-bottom: .2rem; }
.weekly__when { color: var(--brass); font-weight: 700; letter-spacing: .03em; margin-bottom: .8rem; }
.weekly p:last-child { margin: 0; opacity: .9; }

/* Cocktail menu board */
.menu-board { background: var(--navy-dark); color: var(--cream); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem); margin-top: 2rem; box-shadow: var(--shadow); border: 1px solid rgba(201, 164, 92, .35); }
.menu-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; }
.menu-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .85rem 0; border-bottom: 1px dashed rgba(201, 164, 92, .35); }
.menu-list h3 { color: var(--cream); font-size: 1.15rem; margin: 0; }
.menu-list p { margin: .2rem 0 0; font-size: .88rem; color: rgba(246, 239, 224, .7); }
.menu-list span { color: var(--brass); font-weight: 700; white-space: nowrap; }
.menu-pitchers { margin-top: 1.8rem; text-align: center; }
.menu-pitchers h3 { color: var(--brass); margin-bottom: .3rem; }
.menu-pitchers small { font-family: var(--font-body); font-size: .85rem; color: var(--cream); font-weight: 400; }
.menu-pitchers p { margin: 0; color: rgba(246, 239, 224, .8); }
@media (max-width: 700px) { .menu-list { grid-template-columns: 1fr; } }

/* About page cocktail teaser */
.menu-teaser { margin-top: clamp(3rem, 7vw, 5rem); text-align: center; background: var(--navy-dark); color: var(--cream); border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.5rem); }
.menu-teaser h2 { color: var(--cream); }
.menu-teaser p { max-width: 40rem; margin: 0 auto 1.6rem; color: rgba(246, 239, 224, .85); }

/* Online cocktail menu: chalkboard */
.chalk-section { background: var(--navy); }
.chalkboard {
  max-width: 860px; margin: 0 auto; padding: clamp(2rem, 6vw, 4rem) clamp(1.3rem, 5vw, 3.5rem);
  background: radial-gradient(ellipse at 30% 20%, #2d3233 0%, #1d2122 55%, #151818 100%);
  border: 14px solid #5a3b26; border-radius: 6px;
  box-shadow: inset 0 0 60px rgba(0,0,0,.6), 0 20px 40px rgba(0,0,0,.35);
  color: #f1ede3; font-family: "Caveat", "Segoe Print", cursive;
}
.chalk-kicker { text-align: center; font-family: var(--font-body); letter-spacing: .3em; text-transform: uppercase; font-size: .75rem; color: var(--brass); margin: 0; }
.chalk-title { text-align: center; font-family: "Caveat", cursive; font-weight: 700; color: #f6f1e4; font-size: clamp(3rem, 10vw, 5rem); margin: .1em 0 0; text-shadow: 0 0 1px rgba(255,255,255,.4); }
.chalk-sub { text-align: center; font-size: 1.6rem; color: #f2b8c6; margin: 0 0 1.5rem; }
.chalk-list { list-style: none; padding: 0; margin: 0; }
.chalk-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed rgba(241, 237, 227, .18); }
.chalk-list h3 { font-family: "Caveat", cursive; font-weight: 700; color: #f6f1e4; font-size: clamp(1.6rem, 4.5vw, 2.1rem); margin: 0; line-height: 1.1; }
.chalk-list p { margin: .1rem 0 0; font-size: 1.25rem; color: #9fc6e6; line-height: 1.2; }
.chalk-list span { font-size: clamp(1.6rem, 4.5vw, 2.1rem); font-weight: 700; color: #f3d98b; white-space: nowrap; }
.chalk-pitchers { margin-top: 2rem; text-align: center; }
.chalk-pitchers h2 { font-family: "Caveat", cursive; color: #9fc6e6; font-size: clamp(2.2rem, 7vw, 3rem); margin: 0; }
.chalk-pitchers h2 small { font-size: .55em; color: #f6f1e4; }
.chalk-pitchers h2 span { color: #f3d98b; margin-left: .4rem; }
.chalk-pitchers p { font-size: 1.45rem; color: #f2b8c6; margin: 0; }
.chalk-note { text-align: center; font-family: var(--font-body); font-size: .85rem; color: rgba(241,237,227,.6); margin: 2rem 0 0; }
