/* ============================================
   THE TAPS — styles_.css  (clean rewrite)
   ============================================ */

/* ------ Variables ------ */
:root {
  --gold:       rgb(226, 170, 71);
  --gold-hover: rgb(206, 150, 51);
  --white:      #ffffff;
  --black:      rgb(9,10,13);
  --font-main:  'Times New Roman', serif;
  --grey:       grey;

  /*
   * LOGO SCALE SYSTEM
   * ─────────────────
   * Every logo size is driven by ONE variable per context.
   * The letter-t parts are drawn at 40×50 px (natural size).
   * --logo-scale shrinks the whole letter-t box.
   * --logo-offset collapses the phantom space left by scaling.
   *
   * Change only these two numbers to resize a logo.
   */
  --logo-scale:   0.65;   /* default: inline h2/h1 logos       */
  --logo-offset:  -20px;  /* margin-right to close phantom gap  */
  --logo-bottom:  -18px;  /* margin-bottom to close phantom gap */
}

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

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  background-image: url("../img/background_2.jpg");
  background-color: var(--black);
  background-size: cover;
  background-attachment: fixed; /* makes it stay put while scrolling */
  background-repeat: no-repeat;
  background-position: center center;
  color: var(--white);
  font-family: var(--font-main);
}



/* ── Typography ── */
h1, h2, h3, h4 {
  color: var(--gold);
  font-family: var(--font-main);
  text-align: center;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
}

h1 { font-size: clamp(22px, 5vw, 40px); }
h2 { font-size: clamp(18px, 4vw, 30px); }
h3 { font-size: clamp(16px, 3vw, 25px); }
h4 { font-size: clamp(14px, 2.5vw, 20px); }

p {
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: clamp(14px, 2.5vw, 20px);
  font-family: var(--font-main);
  color: var(--white);
  line-height: 1.5;
  word-break: normal;
  white-space: normal;
}

ul, li {
  font-size: clamp(14px, 2.5vw, 25px);
  font-family: var(--font-main);
  color: var(--white);
  list-style-type: none;
}
ul { text-align: center; }

.golden, dt.golden, dd.golden { color: var(--gold); }
dt, dd { text-align: left; }

/* ── Links ── */
a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}
a:hover, a:focus { color: var(--gold); }

/* ── Buttons ── */



.button,
.beer-menu-btn,
.submit-btn,
.action-btn,
.directions-link a {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--gold);
  color: var(--black);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  font-family: var(--font-main);
}
.button:hover,
.beer-menu-btn:hover,
.submit-btn:hover,
.action-btn:hover,
.directions-link a:hover {
  background-color: var(--gold-hover);
  color: white;
}

/* ── Layout helpers ── */
.centered { text-align: center; }

.container { text-align: center; }

main.container,
main.intro.section.centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.section {
  padding: 15px 20px;
  margin: 5px auto;
  position: relative;
  width: 100%;
}

/* ── Navigation ── */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.6rem 0.5rem;
  margin-top: 1em;
  margin-bottom: 1rem;
  flex-wrap: nowrap;
  width: 100%;
}

nav a {
  color: var(--white);
  text-decoration: none;
  font-size: clamp(11px, 1.5vw, 16px);
  letter-spacing: 0.5px;
  font-weight: 500;
  white-space: nowrap;
}
nav a:hover { color: var(--gold); }
nav a.active { color: var(--gold); font-weight: bold; }

.main-nav { text-align: center; }
.main-nav a,
.main-nav .dropdown {
  display: flex;
  vertical-align: top;
}

/* ── Dropdown ── */
.dropdown { position: relative; display: inline-block; }

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #333;
  min-width: 1em;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  z-index: 10;
}
.dropdown-content a {
  /* color: white; */
  padding: 12px 16px;
  display: block;
  font-size: clamp(9px, 1.5vw, 14px);
}
.dropdown-content a:hover { background-color: #555; }
.dropdown:hover .dropdown-content { display: block; }

/* ── Header ── */
.site-header { text-align: center; width: 100%; }

.contact-line {
  font-size: clamp(9px, 1.5vw, 14px);
  padding: 6px 10px;
  width: 100%;
}

/* ── Footer ── */
.site-footer {
  padding-top: 20px;
  font-size: 0.85rem;
  line-height: 1.4;
  text-align: center;
  width: 100%;
}

/* ── Section dividers ── */
.section--lined {
  position: relative;
  padding: 40px 20px;
  margin: 30px auto;
  max-width: 1200px;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.section--lined > * { margin: 0 auto; }
.section--lined::before,
.section--lined::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  height: 2px;
  background-color: var(--white);
}
.section--lined::before { top: 15px; }
.section--lined::after  { bottom: 15px; }

/* ── Two-column layout ── */
.highlighted-wines {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 60px);
  flex-wrap: wrap;
  width: 100%;
  padding: 40px 20px;
}
.highlighted-wines .text-content,
.highlighted-wines .image-content {
  flex: 1 1 280px;
  text-align: center;
}
.highlighted-wines .image-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.highlighted-wines.reverse { flex-direction: row-reverse; }

/* ── Information grid ── */
.information {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: start;
  text-align: left;
  padding: 20px;
  margin: 0 auto;
  max-width: 1200px;
}
.information .text-content,
.information .entertainment {
  padding-left: 5px;
  padding-bottom: 40px;
  border-radius: 8px;
}
.information dl, .information dt, .information dd { margin: 0; padding: 0; }
.information dt { margin-left: 10%; font-weight: bold; margin-top: 10px; }
.information dd { margin-left: 20%; color: var(--white); margin-bottom: 8px; }
.information dd.bolded { font-weight: bold; color: var(--gold); }
.information.with-divider { position: relative; }
.information.with-divider::before {
  content: "";
  position: absolute;
  top: 10px; bottom: 10px;
  left: 50%;
  width: 1px;
  background-color: rgba(255,255,255,0.12);
  transform: translateX(-50%);
  pointer-events: none;
}

/* ── Images ── */
img { max-width: 100%; height: auto; }

.gif-outline {
  border: 5px solid var(--gold);
  box-shadow: 0 0 20px rgba(226, 170, 71, 0.3);
  margin: 20px auto;
  display: block;
  width: min(50%, 600px);
  height: auto;
}

.gif-container {
  width: min(90%, 700px);
  margin: 0 auto 20px auto;
  text-align: center;
}
.gif-container .gif-outline { width: 100%; }

/* ── Map ── */
.map {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 20px 0;
}
.map iframe {
  width: 100%;
  max-width: 1200px;
  height: 400px;
  border: 0;
}

.directions-link { margin-top: 20px; text-align: center; }

/* ── Forms ── */
.firetruck-booking {
  background-color: #111;
  color: white;
  padding: 40px 20px;
  width: min(90%, 500px);
  margin: 40px auto;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  text-align: left;
  font-family: var(--font-main);
}
.firetruck-booking h1,
.firetruck-booking h2 {
  color: var(--gold);
  text-align: center;
  margin-bottom: 20px;
}
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}
.form-group {
  display: flex;
  flex-direction: column;
  width: 100%;
}
label { margin-bottom: 5px; font-weight: bold; }
input, select, textarea {
  padding: 10px;
  border: 1px solid #444;
  border-radius: 5px;
  background-color: #222;
  color: white;
  font-size: 1rem;
}
input[type="date"] { color-scheme: dark; }

.beer-options { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.beer-options label { font-weight: normal; }

.submit-btn {
  align-self: center;
  padding: 12px 30px;
  background-color: var(--gold);
  color: black;
  font-size: 1.1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.submit-btn:hover { background-color: var(--gold-hover); }

.custom-input {
  display: none;
  margin-top: 8px;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #444;
  background: #222;
  color: white;
  width: 100%;
}
.beer-options label { margin-right: 12px; display: inline-block; }

/* ── Venue ── */
.venue-item { width: 100%; text-align: center; }

.intro.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin-top: 0;
  width: 100%;
}
.intro.section .main-nav { margin-top: 0; }
.intro h1, .intro h2, .intro p { margin-top: 0; margin-bottom: 0; }

/* ── Wine menu ── */
.wine-menu {
  max-width: 700px;
  margin: 2em auto;
  text-align: left;
  padding: 1em 2em;
  border: none !important;
  /* border: 4px solid #d4af37; */
  border-radius: 12px;
  background-color: #fffdf7;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.wine-menu h1 { text-align: center; color: var(--gold); margin-bottom: 0.5em; }
.wine-menu .subtitle { text-align: center; font-style: italic; color: white; margin-bottom: 2em; }
.wine-category { margin-bottom: 2em; }
.wine-category h2 { color:var(--gold); border-bottom: 1px solid #d4af37; padding-bottom: 0.2em; margin-bottom: 0.5em; }
.wine-category ul { list-style: none; padding: 0; }
.wine-category li { margin: 0.5em 0; line-height: 1.5; }
.wine-menu .note { text-align: center; font-size: 0.9em; color: #666; margin-top: 2em; font-style: italic; }
.wine-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1em 0;
  border-bottom: 1px dashed rgba(184, 134, 11, 0.3);
}
.wine-info { max-width: 90%; }
.wine-info strong { font-size: 1.1em; color: white; }
.wine-price { margin-top: 0.4em; color: #b8860b; font-weight: bold; font-size: 0.95em; }

/* ── Calendar / Events ── */
#calendar {
  max-width: 900px;
  margin: 20px auto 40px auto;
  background-color: #111;
  padding: 20px;
  border-radius: 8px;
  font-size: 0.85rem;
}
#calendar .fc { font-size: 0.85rem; }
#calendar .fc-daygrid-day-number { font-size: 0.8rem; }
#calendar .fc-event { font-size: 0.75rem; padding: 2px 4px; }

.event-list {
  max-width: 900px;
  margin: 40px auto;
  background-color: #111;
  padding: 20px;
  border-radius: 8px;
}
.centered-wrapper { max-width: 600px; margin: 0 auto; text-align: center; }
.centered-wrapper h2 { text-align: center; }
#events-container { width: 100%; text-align: left; }

.event-item {
  border-bottom: 1px solid rgba(255,255,255,0.2);
  padding: 10px 0;
  text-align: left;
}
.event-item:last-child { border-bottom: none; }
.event-item h3, .event-item h4 {
  margin: 0;
  color: var(--gold);
  font-size: 20px;
  text-align: left;
  margin-bottom: 5px;
}
.event-item p { font-size: 16px; text-align: left !important; line-height: 1.4; }
.calendar-section { text-align: center; }

/* ── Gallery ── */
.gallery-container {
  position: relative;
  width: min(90vw, 900px);
  margin: 40px auto 60px auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 4px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}
.gallery-image {
  width: 100%; height: 100%;
  position: absolute; top: 0; left: 0;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.gallery-image.active { opacity: 1; }

/* ── Lightbox ── */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.98);
  z-index: 9999;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 4px; }
#lightbox-prev, #lightbox-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none; color: white; font-size: 2rem;
  padding: 12px 18px; cursor: pointer; z-index: 10000; border-radius: 4px;
}
#lightbox-prev { left: 20px; }
#lightbox-next { right: 20px; }
#lightbox-prev:hover, #lightbox-next:hover { background: rgba(255,255,255,0.3); }
#lightbox-pause {
  background: rgba(255,255,255,0.15);
  border: none; color: white; font-size: 1rem;
  padding: 10px 20px; cursor: pointer; border-radius: 4px;
}
#lightbox-pause:hover { background: rgba(255,255,255,0.3); }
.section img { cursor: zoom-in; }

/* ── Untappd ── */
.untappd-section { display: flex; justify-content: center; width: 100%; padding: 20px 0; }
.untappd-section iframe { width: 100%; max-width: 1200px; height: 2000px; }

/* ── Slider (about page) ── */
.slider {
  background-color: var(--black);
  box-shadow: inset 0 0 2px hsla(0,0%,0%,.2), 0 3px 1px hsla(0,0%,100%,.75), 0 -1px 1px 2px hsla(0,0%,0%,.1);
  width: min(100%, 25em);
  aspect-ratio: 4 / 3;
  margin: 2em auto;
  padding: 0.5em;
  position: relative;
}
.slider li { list-style: none; position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.slider li:has(input:checked) img { pointer-events: auto; }
.slider input { display: none; }
.slider label {
  background-color: #111;
  background-image: linear-gradient(transparent, hsla(0,0%,0%,.25));
  border: .2em solid transparent;
  bottom: .5em; border-radius: 100%; cursor: pointer;
  display: block; height: .5em; left: 24em;
  opacity: 0; position: absolute; transition: .25s;
  width: .5em; visibility: hidden; z-index: 10;
}
.slider label:after {
  border-radius: 100%;
  bottom: -.2em;
  box-shadow: inset 0 0 0 .2em #111, inset 0 2px 2px #000, 0 1px 1px hsla(0,0%,100%,.25);
  content: '';
  left: -.2em; position: absolute; right: -.2em; top: -.2em;
}
.slider:hover label { opacity: 1; visibility: visible; }
.slider input:checked + label { background-color: #fff; }
.slider:hover li:nth-child(1) label { left: .5em; }
.slider:hover li:nth-child(2) label { left: 2em; }
.slider:hover li:nth-child(3) label { left: 3.5em; }
.slider:hover li:nth-child(4) label { left: 5em; }
.slider:hover li:nth-child(5) label { left: 6.5em; }
.slider img {
  cursor: zoom-in;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0; transition: .25s;
  vertical-align: top; visibility: hidden;
}
.slider li input:checked ~ img { opacity: 1; visibility: visible; z-index: 10; }

/* ============================================
   LOGO SYSTEM
   ============================================
   The CSS-drawn "T" letters are 40px wide × 50px tall at natural size.
   We scale them with transform: scale(--logo-scale).
   Because transform doesn't shrink layout space, we use negative margins
   to collapse the phantom space.

   THREE usage contexts:
   1. .logo-text  — large header logo (75px text)
   2. h1 logo     — inside h1, .word-wrapper or .bolded
   3. h2 logo     — inside h2, .word-wrapper or .bolded
   ============================================ */

/* ── Fire Glow animation ── */
@keyframes fireGlow {
  0% {
    text-shadow:
      0 0 10px #fff6b9, 0 -2px 15px #ffec85, 0 -5px 25px #ffae34,
      0 -8px 35px #ec760c, 0 -10px 45px #cd4606, 0 -15px 55px #972d16;
  }
  100% {
    text-shadow:
      0 0 15px #fff6b9, 0 -2px 20px #ffec85, 0 -5px 30px #ffae34,
      0 -8px 40px #ec760c, 0 -10px 50px #cd4606, 0 -15px 60px #972d16;
  }
}

.bolded, .main-nav a.bolded {
  font-weight: bold;
  color: var(--black);
  animation: fireGlow 1s ease-in-out infinite alternate;
}
.bolded.burn { animation: fireGlow 0.7s ease-in-out infinite alternate; }

/* ── Fire Script ── */
.fire-script {
  font-family: 'Yellowtail', cursive;
  color: #e60000;
  font-weight: 400;
  font-size: 1.3em;
  display: inline-block;
  transform: rotate(-4deg);
}

/* ── CSS T-letter parts ──
   All values in em. Base reference = 50px (natural height of the T box).
   .letter-t is 0.8em wide × 1em tall. Internal parts are positioned
   relative to that box using the same em scale.
   The T auto-scales with whatever h1/h2/h3 font-size it sits inside —
   no transform:scale() needed anywhere.
   ─────────────────────────────────────── */
.letter-t {
  width: 0.8em;
  height: 1em;
  display: inline-flex;
  position: relative;
  flex-shrink: 0;

  transform: scale(var(--logo-scale));   /* 🔥 THIS is the key */
  transform-origin: center right;
}

.letter-t span,
.letter-t div { position: absolute; display: inline-block; }

/* Thin T (original px ÷ 50) */
.gold-square       { top:0;      left:0.06em; width:0.20em; height:0.10em; background:var(--gold); }
.t-top-left-serif  { border-top-left-radius:3px; top:0; left:0; width:0.10em; height:0.20em; background:var(--gold); }
.t-top-right       { top:0;      left:0.34em; width:0.32em; height:0.10em; background:white; }
.t-stem            { top:0;      left:0.34em; width:0.10em; height:1.00em; background:white; }
.t-top-right-serif { border-top-right-radius:3px; top:0; left:0.64em; width:0.10em; height:0.20em; background:white; }
.t-bottom-serif    { top:0.98em; left:0.20em; width:0.36em; height:0.06em; background:white; }

/* Bold T (original px ÷ 50) */
.gold-square-bold       { top:0;      left:0.06em; width:0.20em; height:0.14em; background:var(--gold); }
.t-top-left-serif-bold  { border-top-left-radius:3px;  top:0; left:0; width:0.14em; height:0.24em; background:var(--gold); }
.t-top-right-bold       { top:0;      left:0.34em; width:0.36em; height:0.14em; background:white; }
.t-stem-bold            { top:0;      left:0.34em; width:0.18em; height:1.00em; background:white; }
.t-top-right-serif-bold { border-top-right-radius:3px; top:0; left:0.68em; width:0.14em; height:0.24em; background:white; }
.t-bottom-serif-bold    { top:0.93em; left:0.20em; width:0.44em; height:0.12em; background:white; }

/* ── Large header logo (.logo-text) ──
   .text-part is 75px. .letter-t has font-size:75px so it matches.
   Uses clamp() on font-size so the whole logo scales fluidly.      */
.logo-text {
  display: inline-flex;
  align-items: flex-start;
  /* justify-content: center; */
  /* gap: 0; */
  /* fluid scale: 32px on tiny phones, 75px on desktop */
  font-size: clamp(32px, 8vw, 75px);
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.8));
}
.logo-text .letter-t{
  margin-top: 0.1em;
}

.text-part {
  font-family: 'Times New Roman', Times, serif;
  color: white;
  font-size: 1em; /* inherits from .logo-text */
  line-height: 1;
  padding-top: 0.1em;
}

/* ── Inline logos (h1, h2) ──
   .letter-t inherits font-size from its h1/h2 parent via em.
   .word-wrapper and .bolded just need flex alignment — no scaling. */

.word-wrapper,
h1 .bolded,
h2 .bolded {
  display: inline-flex;
  align-items: flex-start;
  line-height: 1;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

h2 .word-wrapper .letter-t:first-of-type {
  /* Your specific styles here */
  margin-top: 0.0001em;
}
h2 .word-wrapper .letter-t:last-of-type {
  /* Your specific styles here */
  margin-top: 0.0001em;
}


/* Fire script spacing */
h1 .bolded .fire-script,
h2 .bolded .fire-script {
  margin-left: 0.1em;
  margin-right: 0.05em;
}

/* Wine list:*/

.wine-menu {
  max-width: 700px;
  margin: 2em auto;
  text-align: left;
  padding: 1em 2em;
  border: 4px solid #d4af37; 
  border-radius: 12px;
  background-color: var(--black);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.wine-menu h1 {
  text-align: center;
  color: #b8860b;
  margin-bottom: 0.5em;
}

.wine-menu .subtitle {
  text-align: center;
  font-style: italic;
  color: white;
  margin-bottom: 2em;
}

.wine-category {
  margin-bottom: 2em;
}

.wine-category h2 {
  color: #b8860b;
  border-bottom: 1px solid #d4af37;
  padding-bottom: 0.2em;
  margin-bottom: 0.5em;
}

.wine-category ul {
  list-style: none;
  padding: 0;
}

.wine-category li {
  margin: 0.5em 0;
  line-height: 1.5;
}

.wine-menu .note {
  text-align: center;
  font-size: 0.9em;
  color: #666;
  margin-top: 2em;
  font-style: italic;
}
.wine-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1em 0;
  border-bottom: 1px dashed rgba(184, 134, 11, 0.3);
}

.wine-info {
  max-width: 90%;
}

.wine-info strong {
  font-size: 1.1em;
  color: white;
}

.wine-price {
  margin-top: 0.4em;
  color: #b8860b; /* gold tone */
  font-weight: bold;
  font-size: 0.95em;
}

html, body {
  height: auto !important; /* Overrides the height: 100% which can break scroll scripts */
  min-height: 100%;
  overflow-y: auto !important;
}

/* Allow the main container to grow naturally with its content */
main.container,
main.intro.section.centered {
  display: block !important; /* Flex can sometimes trap the scroll height */
  height: auto !important;
  width: 100%;
}

.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background-color: rgba(9, 10, 13, 0.9); /* Matches your black variable */
  border-bottom: 2px solid var(--gold);
  padding: 12px 0;
  white-space: nowrap;
}

.ticker {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 60s linear infinite; /* Adjusted speed for longer text */
  color: var(--gold);
  font-family: var(--font-main);
  font-size: 1.1rem;
  font-weight: bold;
  text-transform: uppercase;
}

.ghost-ticker {
  width: min(90vw, 900px); /* Matches your gallery width */
  margin: -35px auto 40px auto; /* Pulls it up slightly toward the gallery */
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent black */
  border-bottom: 1px solid rgba(226, 170, 71, 0.3); /* Faint gold line */
  border-radius: 0 0 12px 12px; /* Rounds the bottom corners to match gallery */
  padding: 8px 0;
  z-index: 5;
  position: relative;
}

.ghost-ticker .ticker {
  opacity: 0.7; /* Makes the text look 'ghosted' */
  font-size: 0.9rem; /* Slightly smaller so it doesn't compete with photos */
  animation-duration: 10s; /* Slower, more relaxing scroll for a gallery */
}

/* Make it more visible when user hovers */
.ghost-ticker:hover .ticker {
  opacity: 1;
  animation-play-state: paused;
}
/* Styling for the ticker when inside the Lightbox */
.lightbox-ticker {
  position: absolute;
  bottom: 60px; /* Sits just above the Pause button */
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.3); /* Very subtle ghost background */
  border: none;
  z-index: 10000;
  pointer-events: none; /* Allows clicks to pass through to the image */
}

.lightbox-ticker .ticker {
  animation: ticker 25s linear infinite;
  opacity: 0.98; /* Ghost effect */
  color: var(--gold);
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* Ensure the lightbox image doesn't get covered by the ticker if it's tall */
.lightbox-overlay img {
  margin-bottom: 40px; 
}

@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Only move halfway because we doubled the text */
}

.ticker-wrap:hover .ticker {
  animation-play-state: paused;
}

@media (max-width: 600px) {

  #calendar {
    max-width: 120%;
    height: 30em;
    /* margin: 10px auto;
    padding: 5px; */
    font-size: 0.75rem; /* Shrinks the text globally inside the calendar */
  }

  /* 1. Force the grid to a single column and remove side padding */
  .information {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 10px;
  }

  /* 2. Target the wrappers to ensure they take up full width */
  .information .text-content, 
  .information .entertainment {
    width: 100%;
    text-align: center;
    padding-left: 0;
    margin-bottom: 30px;
  }

  /* 3. The "Kill Switch" for the specific margins on dt and dd */
  .information dt {
    margin-left: 0 !important;
    text-align: center;
    width: 100%;
  }

  .information dd {
    margin-left: 0 !important;
    text-align: center;
    width: 100%;
    margin-bottom: 15px; /* Adds nice breathing room between pairs */
  }

  /* 4. Center the event list (dl) */
  .event-list {
    display: block;
    margin: 0 auto;
    text-align: center;
  }


  /* Target the T letters inside the GIF container heading */
  .gif-container h2 .letter-t {
  position: relative;
  /* Use 'top' to nudge it up (negative) or down (positive) */
  top: -0.04em; 
  
  /* Use margin-right to pull the 'HE' or 'APS' closer */
  margin-right: 0.05em; 
  
  /* Reset any margin-bottom that was causing gaps */
  margin-bottom: 0 !important;
}

/* Specifically nudge the second T if it needs different spacing after 'HE' */
.gif-container h2 .letter-t:last-of-type {
  margin-left: 0.1em;
}
  /* Fix the general alignment for all T's in the intro on mobile */
  .intro.section .letter-t {
    display: inline-block;
    position: relative;
  }

  /* Target the first T in the Venue Section */
  .venue-item h2 .letter-t:first-of-type {
    top: -0.1em;         /* Nudges the T down visually */
    margin-right: 0.05em; /* Pulls "HE" closer to the T */
    margin-bottom: 0;    /* Removes that big gap you were seeing */
  }
  .venue-item .fire-script{
    margin-top: -0.15em

  }
  /* Target the second T in the Venue Section */
  .venue-item h2 .letter-t:last-of-type {
    top: -0.1em;         /* Matches the first T */
    margin-left: 0.05em;  /* Space after "Fire" */
    margin-right: 0.1em; /* Pulls "APS" closer to the T */
  }

  /* Shrink the dropdown links so they don't wrap or look huge */
  .dropdown-content a {
    font-size: 13px !important;
    padding: 8px 12px;
  }
}
@media (max-width: 768px){
  .intro.section .letter-t {
     display: inline-block; /* Sometimes flex ignores vertical margins on inline children */
     
     position: relative;
     margin-top: 0.06em;
  }
  
  body { background-attachment: scroll; }
}


/* ── Mobile layout tweaks (no logo rules needed — em handles it) ── */
/* @media (max-width: 600px) {
  .contact-line      { font-size: 9px; }
  .gif-container     { width: 95%; }
  .firetruck-booking { width: 95%; }
  p                  { max-width: 95%; }
  .gallery-container { aspect-ratio: 4 / 3; }
} */

/* ── Single small-tablet breakpoint for layout only ── */
@media (max-width: 880px) {
  .information {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 20px;
  }
  .information.with-divider::before { display: none; }
  .highlighted-wines,
  .highlighted-wines.reverse { flex-direction: column; }
  .wine-menu { max-width: 95%; padding: 1em; }
}

@media (max-width: 1024px) {
  
  .logo-text, 
  .word-wrapper, 
  h1 .bolded, 
  h2 .bolded {
    display: flex;         /* Changes from inline-flex to flex */
    justify-content: center;
    align-items: center;  
    /* flex-wrap: nowrap;     Prevents the 'HE' from dropping below the T */
  }
.letter-t {
    /* --logo-scale: 0.6;     Make it slightly smaller if it's hitting the edges */
    position: relative;
    top: -0.02em;
    margin-right: 0.05em;    /* Pulls the 'HE' closer to the T */
  }
    .venue-item h2 .letter-t:first-of-type {
    top: -0.05em;         /* Nudges the T down visually */
    margin-right: 0.05em; /* Pulls "HE" closer to the T */
    margin-bottom: 0;    /* Removes that big gap you were seeing */
  }
  .venue-item .fire-script{
    margin-top: -0.15em

  }
  /* Target the second T in the Venue Section */
  .venue-item h2 .letter-t:last-of-type {
    top: -0.05em;         /* Matches the first T */
    margin-left: 0.05em;  /* Space after "Fire" */
    margin-right: 0.1em; /* Pulls "APS" closer to the T */
  }

}