/* ==========================================================================
   Athens Burrito Guide | Panel Three | custom.css
   Loaded AFTER the theme's styles.css, so these rules override the theme.
   The page keeps the theme's layout and restyles it with the palette below.
     --red    crimson accent
     --ink    warm near-black, the page base
     --cream  the theme's cream (the theme calls it "faded")
     --paper  lighter cream for cards and accordion items
     --amber  the theme's gold, used for small highlights
   ========================================================================== */
 
:root {
  --red: #ba0c2f;
  --red-deep: #8e0a24;
  --ink: #171110;
  --ink-soft: #221915;
  --cream: #f6e1c5;
  --paper: #fff7e8;
  --amber: #e6a756;
  --display: "Alfa Slab One", Georgia, "Times New Roman", serif;
}
 
/* ---------- Page base ---------- */
/* Crisp diner-tile checks drawn in CSS, so there is no photo to look blurry.
   To use a photo instead, replace the background-image line with:
   background-image: linear-gradient(rgba(23, 17, 16, 0.8), rgba(23, 17, 16, 0.8)), url("../assets/img/bg.jpg"); */
body {
  color: var(--cream);
  background-color: var(--ink);
  background-image: conic-gradient(var(--ink) 25%, var(--ink-soft) 0 50%, var(--ink) 0 75%, var(--ink-soft) 0);
  background-size: 72px 72px;
  background-attachment: scroll;
  background-position: top left;
}
 
h1, h2, h3, .navbar-brand {
  font-family: var(--display);
  font-weight: 400;
}
 
.rounded {
  border-radius: 4px !important;
}
 
.bg-faded {
  background-color: var(--cream);
  color: var(--ink);
}
 
a:focus-visible,
.btn:focus-visible,
.accordion-button:focus-visible,
.navbar-toggler:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  box-shadow: none;
}
 
/* ---------- Site title (theme header) ---------- */
.site-heading .site-heading-lower {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.8rem, 6vw, 4.25rem);
  line-height: 1.05;
}
 
/* ---------- Navbar ---------- */
#mainNav {
  background-color: var(--ink);
  border-top: 4px solid var(--red);
  border-bottom: 4px solid var(--red);
}
 
#mainNav .navbar-brand {
  color: var(--cream);
  font-size: 1.15rem;
}
 
#mainNav .navbar-nav .nav-item .nav-link {
  color: var(--cream);
  font-weight: 800;
  border-bottom: 3px solid transparent;
  padding-left: 0;
  padding-right: 0;
}
 
#mainNav .navbar-nav .nav-item .nav-link:hover {
  color: #fff;
  border-bottom-color: var(--amber);
}
 
#mainNav .navbar-nav .nav-item .nav-link.active {
  color: #fff;
  border-bottom-color: var(--red);
}
 
/* ---------- Buttons ---------- */
.btn {
  border-radius: 2px;
  box-shadow: none;
}
 
.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--red);
  --bs-btn-border-color: var(--red);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--red-deep);
  --bs-btn-hover-border-color: var(--red-deep);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: var(--red-deep);
  --bs-btn-active-border-color: var(--red-deep);
  --bs-btn-focus-shadow-rgb: 186, 12, 47;
}
 
/* ---------- Section headings (theme two-line headings) ---------- */
.section-heading .section-heading-upper {
  color: var(--red);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}
 
.section-heading .section-heading-lower {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  text-transform: none;
  color: var(--ink);
  margin-top: 0.35rem;
}
 
/* ---------- Intro (theme's overlapping photo and text box) ---------- */
.intro .intro-img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
 
.intro .intro-text {
  box-shadow: 8px 8px 0 var(--red);
}
 
.intro .intro-text p {
  font-size: 1.05rem;
}
 
.intro .intro-text .section-heading-lower {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}
 
/* ---------- Marquee banner (theatre-sign nod) ---------- */
.marquee {
  position: relative;
  background-color: var(--red);
  color: #fff;
  text-align: center;
  padding: 2.1rem 1rem;
}
 
.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 10px;
  background: radial-gradient(circle, var(--amber) 0 3px, transparent 3.5px) 0 0 / 26px 10px repeat-x;
}
 
.marquee::before { top: 9px; }
.marquee::after { bottom: 9px; }
 
.marquee-text {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.1rem, 2.6vw, 1.65rem);
  line-height: 1.3;
}
 
/* ---------- Cards (The List) ---------- */
.card {
  --bs-card-bg: var(--paper);
  --bs-card-border-width: 0;
  --bs-card-border-radius: 3px;
  color: var(--ink);
  box-shadow: 0 2px 6px rgba(23, 17, 16, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
 
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 28px rgba(23, 17, 16, 0.35), 6px 6px 0 var(--red);
}
 
.card .card-img-top {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;
}
 
.card .badge {
  background-color: var(--red) !important;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.02em;
}
 
.card .badge.text-bg-dark {
  background-color: var(--ink) !important;
}
 
.card .card-title {
  font-size: 1.45rem;
  color: var(--ink);
}
 
.card .card-text {
  line-height: 1.7;
}
 
.card .card-footer {
  border-top: 1px solid rgba(23, 17, 16, 0.15);
}
 
.card .text-muted {
  color: #5a4a42 !important;
}
 
/* The closed cafe stays in black and white until you point at it */
.card-memorial .card-img-top {
  filter: grayscale(100%);
  transition: filter 0.4s ease;
}
 
.card-memorial:hover .card-img-top {
  filter: grayscale(0%);
}
 
/* ---------- Accordion ---------- */
.accordion {
  --bs-accordion-bg: var(--paper);
  --bs-accordion-color: var(--ink);
  --bs-accordion-border-color: rgba(23, 17, 16, 0.18);
  --bs-accordion-border-radius: 3px;
  --bs-accordion-inner-border-radius: 3px;
  --bs-accordion-btn-color: var(--ink);
  --bs-accordion-btn-bg: var(--paper);
  --bs-accordion-active-color: #fff;
  --bs-accordion-active-bg: var(--red);
  --bs-accordion-btn-focus-border-color: var(--red);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(186, 12, 47, 0.3);
  --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}
 
.accordion-item {
  margin-bottom: 0.75rem;
  border-radius: 3px;
  overflow: hidden;
  border-left: 6px solid var(--red);
}
 
.accordion-button {
  font-family: var(--display);
  font-size: 1.15rem;
  padding: 1.15rem 1.35rem;
}
 
.accordion-button:not(.collapsed) {
  box-shadow: none;
}
 
.accordion-body {
  font-size: 1.08rem;
  line-height: 1.85;
  padding: 1.5rem 1.35rem;
}
 
/* ---------- Closing band (theme's cta) ---------- */
.cta {
  background-color: var(--red);
}
 
.cta .cta-inner {
  color: var(--ink);
}
 
/* ---------- Footer (theme footer) ---------- */
.footer {
  background-color: #100b0a;
  border-top: 4px solid var(--red);
  color: var(--cream);
}
 
.footer .footer-brand {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 0.5rem;
}
 
.footer .footer-note {
  max-width: 36rem;
  margin: 1.75rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(246, 225, 197, 0.2);
}
 
/* ---------- Small screens ---------- */
@media (max-width: 991.98px) {
  .intro .intro-text {
    box-shadow: 6px 6px 0 var(--red);
  }
}
 
/* ---------- Respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .card,
  .card-memorial .card-img-top {
    transition: none;
  }
  .card:hover {
    transform: none;
  }
}
 