/* =======================================================
   THE SMOOVE SERIES – Main Stylesheet
   ======================================================= */

:root {
  --bg: #0f0f10;
  --panel: #1b1c1f;
  --muted: #777a81;
  --text: #f3f4f6;
  --accent: #e5e7eb;
  --line: #2a2b30;
  --radius: 16px;
  --pad: 18px;
  --maxw: 1180px;
  --shadow: 0 6px 18px rgba(0,0,0,0.25);
  --transition: 0.25s ease;
}

/* Base */
* { box-sizing: border-box; }
html, body { height: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}
a { color: var(--text); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
img { max-width: 100%; height: auto; border-radius: var(--radius); }

/* Containers */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

/* Utility */
.muted { color: var(--muted); }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -40px; left: 8px; background: #fff; color: #000;
  padding: 8px 12px; border-radius: 8px; transition: top .2s; z-index: 1000;
}
.skip-link:focus { top: 8px; }

/* =======================================================
   HEADER & NAVIGATION
   ======================================================= */

header,
.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  background: rgba(15, 15, 16, 0.85);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

body {
  padding-top: 80px; /* adjust if your header height differs */
}

body.scrolled header {
  background: rgba(15, 15, 16, 0.85);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap; /* prevent wrapping */
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.brand img {
  height: 40px;
  width: auto;
  max-width: 100%;
  border-radius: 0 !important;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Desktop Menu */
.menu {
  display: flex;
  gap: 24px;
  align-items: center;
}
.menu a {
  font-weight: 600;
  position: relative;
  padding: 8px 0;
}
.menu a.active::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

/* Book Us CTA */
.cta {
  font-family: 'Inter', sans-serif !important;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.3px;
  color: #fff;
  background: #337ea3;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease;
}

.cta:hover {
  background: #2d6e8e;
  transform: scale(1.03);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 8px;
  cursor: pointer;
  transition: background var(--transition);
}
.hamburger span {
  height: 2px;
  width: 20px;
  background: var(--text);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--panel);
  border-top: 1px solid var(--line);
  position: fixed;
  top: 72px; left: 0;
  width: 100%;
  padding: 16px 20px;
  box-shadow: var(--shadow);
}
.mobile-nav a {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
}
.mobile-nav.open { display: flex; }

@media (max-width: 959px) {
  .menu { display: none; }                       
  .cta {
    display: inline-flex;
    order: 1;
    font-size: 15px !important;
    padding: 8px 18px !important;

  }
  .hamburger {
    display: inline-flex;
    order: 2;
    /* Removed margin-left to avoid double spacing (using gap instead) */
    /* margin-left: 0; */  
  }
  .nav-right {
    gap: 8px;  /* tighter gap between CTA and hamburger on mobile */
  }
}

/* Under 520px: allow flex elements to shrink and avoid overflow */
@media (max-width: 520px) {
  .nav {
    gap: 10px;              
  }
  .brand {
    flex: 1 1 auto;         
  }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

  .brand img {
    height: auto;           
    width: auto;
    max-width: 45vw;        
  }
  .cta {
    flex-shrink: 0;
	font-size: 12px !important;
	padding: 6px 10px;
  }
}

@media (max-width: 400px) {

  .brand img {
    height: auto;           
    width: auto;
    max-width: 45vw;        
  }
  .cta {
    flex-shrink: 0;
	font-size: 12px !important;
	padding: 6px 10px;
  }
}

/* =======================================================
   HERO
   ======================================================= */
.hero {
  position: relative;
  isolation: isolate;
  padding: 84px 0 64px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0) 40%),
    radial-gradient(1200px 500px at 50% -100px, rgba(255,255,255,.05), transparent 70%);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 1000px) {
  .hero-grid { grid-template-columns: .9fr 1.1fr; }
}

@media (max-width: 510px) {
	.hero { padding: 64px 0px;}
}

/* === Hero Image Fade-in from Right Animation === */
.hero .frame img {
  opacity: 0;
  transform: translateX(60px);
  animation: heroImageFadeIn 1.2s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes heroImageFadeIn {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.kicker {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
}
h1 {
  font-size: clamp(36px, 4vw, 48px);
  line-height: 1.1;
  margin: 8px 0 12px;
}
.sub {
  color: #cfd1d6;
  font-size: clamp(16px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
}
.btn:hover { border-color: var(--accent); }
.btn.primary {
  background: var(--accent);
  color: #111;
  border-color: var(--accent);
}
.frame {
  aspect-ratio: 4/3;
  border: none;
  border-radius: var(--radius);
  background: none;
  display: grid;
  place-items: center;
  color: var(--muted);
}

.btn,
.cta {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  transform-origin: center;
}

/* Hover animation for all buttons */
.btn:hover,
.cta:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* =======================================================
   SECTIONS & LAYOUT
   ======================================================= */
section { padding: 32px 0; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.section-head h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  margin: 0;
}

.section-panel {
  background: #111215;
  border: none; /* prevent duplicate borders */
}

.section-panel,
.signup {
  position: relative;
  z-index: 0;
}

.section-panel,
.promo-row {
  padding-top: 16px;
  padding-bottom: 16px;
}

.section-panel,
.about-grid {
  padding-top: 16px;
  padding-bottom: 16px;
}

.section-panel,
.media-grid {
  padding-top: 16px;
  padding-bottom: 16px;
}

.section-panel,
.page-header {
  padding-bottom: 8px;
}

.section-panel,
.band-story {
  padding-top: 8px;
  padding-bottom: 8px;
}

/* Full-bleed background */
.section-panel::before,
.signup::before {
  content: "";
  position: absolute;
  inset: 0;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: inherit;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  z-index: -1;
}

/* =======================================================
   SHOWS
   ======================================================= */
.shows {
  background: #111215;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.cards {
  display: grid;
  gap: 14px;
  grid-auto-flow: column;
  grid-auto-columns: minmax(260px, 1fr);
  overflow-x: auto;
  padding-bottom: 6px;
}
.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--pad);
  background: var(--panel);
  min-height: 150px;
}
.date { font-weight: 800; font-size: 18px; }
.venue { font-weight: 600; margin: 4px 0 2px; }
.loc { color: var(--muted); font-size: 14px; }
.card-actions { display: flex; gap: 8px; margin-top: 12px; }

/* =======================================================
   ABOUT
   ======================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center; /* vertically centers content */
  gap: 40px;
}
@media (min-width: 1000px) {
  .about-grid { grid-template-columns: 1.1fr .9fr; }
}
.about-img {
  border: none;
  border-radius: var(--radius);
  background: none;
  display: block;
  color: var(--muted);
  width: 100%;
}

.about-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
}

/* === Fade-in from Left for About Section Image === */
.about-img {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.about-img.visible {
  opacity: 1;
  transform: translateX(0);
}

#about .section-head h2 {
  font-size: clamp(24px, 3.2vw, 36px);
  margin-bottom: 0px;
}

#about p {
  line-height: 1.6;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-img {
    order: -1;
    width: 100%;
    min-height: auto !important;  /* override old rule */
  }
}

.social-buttons a img {
  width: 38px;
  height: 38px;
  display: inline-block;
  border-radius: 10px;
  transition: transform .2s ease, opacity .2s ease;
  }

.social-buttons a:hover img {
  transform: scale(1.08);
  opacity: .85;
  }

.band-story {
  margin-bottom: 0px;
}

.member-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 24px;
}

.member-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--pad);
  text-align: center;
  transition: transform 0.2s ease;
}

.member-card:hover {
  transform: translateY(-4px);
}

.member-card img {
  width: 100%;
  border-radius: 12px;
  aspect-ratio: 1/1;
  object-fit: cover;
  margin-bottom: 12px;
}

.member-card h3 {
  margin: 4px 0 2px;
}

.member-card .role {
  color: #337ea3;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 16px;
}

/* Hover effects for any member/drink/fact card */
.member-card,
.drink-card,
.gear-card,
.influences-card,
.moment-card,
.songs-card,
.fun-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border-radius: 12px;
}

.member-card:hover,
.drink-card:hover,
.gear-card:hover,
.influences-card:hover,
.moment-card:hover,
.songs-card:hover,
.fun-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
}

.member-card,
.drink-card,
.gear-card,
.influences-card,
.moment-card,
.songs-card,
.fun-card {
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.band-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  text-align: center;
  align-items: start;
}

.member-photo {
  width: 100%;
  border-radius: 12px;
  box-shadow: var(--shadow);
  margin-bottom: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-photo:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.member h3 {
  font-weight: 700;
  margin-bottom: 6px;
}

.member .muted {
  margin-bottom: 12px;
}

.member-fun {
  padding-top: 16px;
  padding-bottom: 0px;
}

.member-fun .testi {
  margin: 0px 0px 0px 0px !important; /* or 0 if you want it tight */
}
/* =======================================================
   MEDIA
   ======================================================= */

#media .section-head {
  margin-top: 10px;
  margin-bottom: 5px;
}

.media-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .media-grid { grid-template-columns: 1.5fr 1fr; }
}
.video {
  aspect-ratio: 16/9;
  width: 100%;
  border: 0;
  border-radius: var(--radius);
}

.filterable .media-item {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.filterable .media-item.hidden {
  opacity: 0;
  transform: scale(0.96);
  pointer-events: none;
}

.igrail {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  min-height: 100%;
  display: grid;
  place-items: center;
  color: var(--muted);
}

/* Fix tall YouTube thumbnails inside media-grid */
.media-grid a img {
  border: 1px dashed var(--line);
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 16 / 9; /* Forces proper video thumbnail shape */
}

/* =======================================================
   TESTIMONIALS
   ======================================================= */
.testi {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  display: grid;
  gap: 12px;
  padding: var(--pad);
}
.testi-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .testi-grid { grid-template-columns: 1fr 1fr 1fr; }
}

/* =======================================================
   SIGNUP
   ======================================================= */
.signup {
  background: var(--dark);
  padding: 48px 0;
  border: none; /* remove real borders so pseudo-element can take over */
}
form { display: flex; gap: 10px; flex-wrap: wrap; }
input[type="email"], input[type="text"], textarea {
  background: #141517;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  min-width: 220px;
  font-family: inherit;
}
textarea { resize: vertical; }

/* =======================================================
   FOOTER
   ======================================================= */
footer { padding: 48px 0 28px; }
.footer-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .footer-grid {
    column-gap: 60px; /* Increase horizontal spacing between all columns */
  }
}

@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.2fr .8fr .8fr; }
}

.footer-grid p.muted {
  max-width: 340px;   /* adjust to 280–360 based on taste */
}

/* Mobile: narrower for easier reading */
@media (max-width: 700px) {
  .footer-grid p.muted {
    max-width: 240px;  /* adjust as needed */
    margin-left: 0px;
    margin-right: auto;
    text-align: left; /* optional, but usually looks better */
  }
}

.social a {
  display: inline-block;
  margin-right: 10px;
  color: var(--muted);
}
.fine {
  color: var(--muted);
  font-size: 14px;
  margin-top: 12px;
}
.footer-social img {
  width: 26px;
  height: 26px;
  opacity: .9;
  transition: opacity .2s ease;
}

.footer-social img:hover {
  opacity: 1;
}
.footer-social img {
  width: 26px;
  height: 26px;
  opacity: .9;
  transition: opacity .2s ease;
}

.footer-social img:hover {
  opacity: 1;
}

.social-buttons a img,
.footer-social img {
  border-radius: 0 !important;
}

.footer-social {
  margin-top: 14px; /* adjust higher or lower if needed */
}

.footer-logo {
  border-radius: 0 !important;
}

.footer-logo {
  width: 80%;
  max-width: 260px; /* keeps it from getting too big on large desktops */
  height: auto;
  display: block;
  margin-bottom: 10px; /* adjust depending on desired spacing */
  }
@media (max-width: 700px) {
  .footer-logo {
    max-width: 260px; /* keeps it from getting too big on large desktops */
  }
}

/* ==============================
   CONTACT FORM STYLES
   ============================== */
#contact form,
#contact form input,
#contact form textarea {
  font-family: 'Inter', sans-serif !important;
  font-size: 16px !important;
  color: #f3f4f6; /* light gray text for good contrast on dark bg */
}

#contact form button {
  font-family: 'Inter', sans-serif !important;
  font-size: 16px !important;
  line-height: 1.4;
  color: #000;
  letter-spacing: 0;
  font-weight: 400;
}

#contact form {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 600px;
  color: #FFF;
}

#contact form input,
#contact form textarea {
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

#contact form input:focus,
#contact form textarea:focus {
  border-color: #337ea3;
  box-shadow: 0 0 0 2px rgba(51, 126, 163, 0.2);
}

#contact form button[type="submit"] {
  background-color: #337ea3;
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 12px 24px;
  font-weight: 600;
  width: auto;
  justify-self: start;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

#contact form button[type="submit"]:hover {
  transform: scale(1.05);
  background-color: #2c6c8d;
}

/* Mobile: full width for better tap area */
@media (max-width: 600px) {
  #contact form button[type="submit"] {
    width: 100%;
    justify-self: stretch;
  }
}

/* =======================================================
   CONTACT SPACING FIXES
   ======================================================= */

/* Reduce space between header text and grid/form section */
.page-header {
  margin-bottom: 12px;
  text-align: left;
}
.page-header h1 {
  margin-bottom: 6px;
}
.page-header p {
  margin-top: 0;
  margin-bottom: 0;
}

/* Bring grid closer to header text */
.contact-grid,
.tour-grid {
  margin-top: 8px !important;
  padding-top: 0;
}

/* Contact form layout adjustments */
.contact-form {
  padding: 24px;
  display: grid;
  gap: 12px;
  align-content: start;
}

#contact .section-head {
  margin-top: 10px;
  margin-bottom: 5px;
}

/* Tighten grid spacing between form and info */
.contact-grid {
  display: grid;
  gap: 32px; /* smaller than global 56px section padding */
}
@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

/* Contact info spacing */
.contact-info h2 {
  margin-top: 0;
}
.contact-info p {
  margin: 4px 0;
}
.contact-info .hero-actions {
  margin-top: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

/* =======================================================
   TOUR PAGE ADDITIONS
   ======================================================= */

.shows-list, .past-shows {
  display: grid;
  gap: 20px;
  margin-bottom: 20px;
}

.hidden {
  display: none;
}

.toggle-past {
  margin-top: 8px;
  align-self: start;
}

/* Calendar button style */
.card-actions {
  margin-top: 10px;
}
.btn.outline {
  background: transparent;
  border: 1px solid #337ea3;
  color: #337ea3;
}
.btn.outline:hover {
  background: #337ea3;
  color: #fff;
}

/* === TOUR PAGE GRID === */
.shows-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 across by default */
  gap: 24px;
  margin-top: 10px;
}

.shows-list .card {
  background: var(--panel);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.shows-list .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.shows-list .card-actions {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.shows-list .btn {
  font-size: 16px;
  flex: 1;
  text-align: center;
}

/* Tablet (≤ 1110px): 2 columns */
@media (max-width: 1110px) {
  .shows-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile (≤ 600px): 1 column */
@media (max-width: 600px) {
  .shows-list {
    grid-template-columns: 1fr;
  }
}

/* === PAST SHOWS GRID & SPACING === */

/* Reduce overall space before/after Past Shows section */
.past-shows {
  padding-top: 8px;
  padding-bottom: 16px;
  margin-top: 0;
  text-align: center;
}

/* Bring Past Shows heading closer to list when used like:
   <section class="page-header"><h2>Past Shows</h2></section>
   <section class="past-shows">...</section>
*/
.page-header + .past-shows {
  margin-top: -8px;
}

/* Past Shows list grid */
.past-shows #pastShowsList {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 16px;
}

.past-shows .card {
  background: var(--panel);
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.past-shows .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.past-shows .card .date {
  font-weight: 600;
  color: #fff;
  margin-bottom: 5px;
}

.past-shows .card .venue {
  font-weight: 500;
  color: var(--accent);
}

.past-shows .card p {
  color: var(--muted);
  margin-top: 5px;
}

.past-shows .toggle-past {
  margin-top: 24px;
  background: #337ea3;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  transition: background 0.2s ease;
}

.past-shows .toggle-past:hover {
  background: #2a6684;
}

/* Make hidden list collapse properly */
.past-shows #pastShowsList.hidden {
  display: none;
}

/* Year labels inside the shows grid */
.year-divider {
  margin: 40px 0 15px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  opacity: 0.9;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 6px;
}

.shows-list .shows-year {
  grid-column: 1 / -1;  /* span full grid width */
  font-size: 1.8rem;
  margin: 10px 0 10px;
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-header.past-header h2 {
  font-size: 36px !important;
}

@media (max-width: 600px) {
  .page-header.past-header h2 {
    font-size: 28px !important;
  }
}

.page-header.past-header {
  padding-bottom: 6px !important;
  margin-bottom: 0 !important;
}

.page-header.past-header h2 {
  margin-bottom: 0 !important;
}

/* Pull cards up slightly */
.past-shows {
  margin-top: -10px !important;
}

/* ======================
   FILTERABLE MEDIA GRID
   ====================== */

.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.filter-btn {
  background: transparent;
  border: 1px solid #337ea3;
  color: #337ea3;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.25s ease;
}
.filter-btn.active,
.filter-btn:hover {
  background: #337ea3;
  color: #fff;
}

.media-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.media-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.media-item:hover img {
  transform: scale(1.02);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .media-grid {
    gap: 12px;
  }
  .filter-btn {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }
}

/* =======================================================
   LIGHTBOX STYLES
   ======================================================= */
   
.goverlay {
  background: rgba(0, 0, 0, 0.8) !important;
  backdrop-filter: blur(6px);
}

/* Inline Lightbox Container */
.glightbox-container .gslide-inline {
  background: #fff !important;
  color: #000 !important;
  opacity: 1 !important;
  max-width: 720px !important;
  margin: 0 auto;
  border-radius: 14px !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  overflow: hidden;
  isolation: isolate;
}

/* Inner wrapper */
.glightbox-container .gslide-inline .ginner {
  padding: 24px !important;
  color: #000 !important;
}

/* Text color enforcement */
.glightbox-container .gslide-inline,
.glightbox-container .gslide-inline * {
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
  filter: none !important;
  opacity: 1 !important;
  mix-blend-mode: normal !important;
  text-shadow: none !important;
}

/* Headings */
.glightbox-container .gslide-inline h2,
.glightbox-container .gslide-inline h3 {
  color: #000 !important;
}

/* Buttons inside lightbox (desktop baseline) */
.glightbox-clean .gslide-inline .btn {
  background: #337ea3 !important;
  color: #fff !important;
  border: 1px solid #337ea3 !important;
}

.glightbox-clean .gslide-inline .btn.outline {
  background: transparent !important;
  color: #337ea3 !important;
  border: 1px solid #337ea3 !important;
}

/* Close button styling */
  .glightbox-clean .gclose {
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  width: 28px !important;
  height: 28px !important;
  padding: 0 !important;
}

/* Position the X *inside* the popup box */
.glightbox-clean .gslide-inline .gclose {
  top: 12px !important;
  right: 12px !important;
  position: absolute !important;
  z-index: 9999 !important;
}

/* Make sure the icon is dark and visible */
.glightbox-clean .gclose,
.glightbox-clean .gclose svg {
  color: #000 !important;
  fill: #000 !important;
  stroke: #000 !important;
  opacity: 1 !important;
}

/* Hide navigation arrows for inline modals */
.glightbox-clean .gnext,
.glightbox-clean .gprev {
  display: none !important;
}

@media (min-width: 601px) {

  /* Primary button (blue background → white text) */
  .glightbox-container .gslide-inline .btn:not(.outline) {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }

  /* Outline button (transparent background → blue text) */
  .glightbox-container .gslide-inline .btn.outline {
    color: #337ea3 !important;
    -webkit-text-fill-color: #337ea3 !important;
  }

  .glightbox-container .gslide-inline p,
  .glightbox-container .gslide-inline span,
  .glightbox-container .gslide-inline .muted {
    color: rgb(0 0 0 / 1) !important;
  }
}

@media (max-width: 510px) {

  /* Close button styling */
  .glightbox-clean .gclose {
  background: none !important;
  box-shadow: none !important;
  border: none !important;
  width: 28px !important;
  height: 28px !important;
  padding: 0 !important;
}

/* Position the X *inside* the popup box */
.glightbox-clean .gslide-inline .gclose {
  top: 12px !important;
  right: 12px !important;
  position: absolute !important;
  z-index: 9999 !important;
}

/* Make sure the icon is dark and visible */
.glightbox-clean .gclose {
  /* Circle background */
  background-color: rgba(0, 0, 0, 0.55) !important; /* translucent black */
  border-radius: 50% !important;                   /* circular shape */
  width: 36px !important;
  height: 36px !important;

  /* X icon stays white because mask reveals background-color */
  -webkit-mask-repeat: no-repeat !important;
  mask-repeat: no-repeat !important;
  -webkit-mask-size: 18px 18px !important;
  mask-size: 18px 18px !important;
  -webkit-mask-position: center !important;
  mask-position: center !important;

  /* Position the button inside the lightbox */
  top: 12px !important;
  right: 12px !important;
  position: absolute !important;
  z-index: 9999 !important;
}

/* Hide navigation arrows for inline modals */
.glightbox-clean .gnext,
.glightbox-clean .gprev {
  display: none !important;
}
 
 .gslide-inline .ginlined-content {
    padding: 5px;
    width: 100%;
 }
}

/* =======================================================
   FIX — Preserve Desktop Button Styles in Lightbox (Mobile)
   ======================================================= */
@media (max-width: 600px) {
  /* Keep popup responsive */
  .glightbox-container .gslide-inline {
    width: 90vw !important;
    max-width: 500px !important;
    height: auto !important;
    padding: 18px !important;
    border-radius: 12px !important;
    background: #fff !important;
    color: #000 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  }
}

/* === Lightbox Button Fix (Cross-Browser Consistency) === */
.glightbox-container .gslide-inline .btn,
.glightbox-container .gslide-inline .btn.outline {
  appearance: none;
  -webkit-appearance: none;
  font-weight: 500 !important;
  font-family: inherit;
  line-height: 1.2;
  border-radius: 8px;
  padding: 10px 18px;
  display: inline-block;
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease, border 0.3s ease, transform 0.25s ease;
}

/* Primary “Add to Calendar” */
.glightbox-container .gslide-inline .btn:not(.outline) {
  background: #000 !important;
  color: #fff !important;
  border: 1px solid #000 !important;
}

/* Outline “Visit Venue” */
.glightbox-container .gslide-inline .btn.outline {
  background: transparent !important;
  color: #337ea3 !important;
  border: 1px solid #337ea3 !important;
}

/* Hover */
.glightbox-container .gslide-inline .btn:not(.outline):hover {
  background: #222 !important;
  border-color: #222 !important;
  transform: scale(1.05);
}
.glightbox-container .gslide-inline .btn.outline:hover {
  background: #337ea3 !important;
  color: #fff !important;
  transform: scale(1.05);
}

/* Normalize mobile browsers (prevents bold text or color shifts) */
@media (max-width: 600px) {
  .glightbox-container .gslide-inline .btn,
  .glightbox-container .gslide-inline .btn.outline {
    font-weight: 500 !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: currentColor !important;
    text-shadow: none !important;
  }
}

/* ===========================
   CUSTOM LIGHTBOX / MODAL (unused but kept)
   =========================== */
#eventModal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
}

#eventModal.open {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
}

.modal-content {
  position: relative;
  background: #fff;
  color: #000;
  border-radius: 12px;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
  max-width: 720px;
  width: 90%;
  padding: 24px;
  z-index: 1;
  overflow-y: auto;
  max-height: 90vh;
  animation: modalFade 0.3s ease;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  font-size: 24px;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  width: 32px;
  height: 32px;
  transition: background 0.3s;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 1);
}

.modal-body .btn {
  background: #337ea3;
  color: #fff;
  border: 1px solid #337ea3;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.modal-body .btn:hover {
  transform: scale(1.05);
}

.modal-body .btn.outline {
  background: transparent;
  color: #337ea3;
  border: 1px solid #337ea3;
}

@keyframes modalFade {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ===========================
   SPOTIFY PLAYLIST STYLING
   =========================== */
.spotify {
  padding: 20px 0;
  background: var(--panel);
  border-radius: 12px;
  margin-top: 40px;
}

.spotify iframe {
  width: 100%;
  max-width: 700px;
  display: block;
  margin: 0 auto;
  border: none;
}

.spotify {
  padding: 40px 0; /* was effectively 140px top/bottom combined */
  margin: 20px 0;
}

@media (max-width: 510px) {
	.spotify {
	  padding: 10px 0 20px 0; /* was effectively 140px top/bottom combined */
	  margin: 20px 0;
	}

.spotify .container {
  max-width: 850px; /* slightly narrower for better appearance */
}

.spotify .section-head {
  margin-bottom: 20px; /* was oversized by inheritance */
}

.spotify .section-head h2 {
  margin-bottom: 8px;
}

/* Improve spacing + padding for buttons inside tour cards */
.shows-list .card .card-actions,
.past-shows .card .card-actions {
  display: flex;
  gap: 12px;            /* More breathing room */
  margin-top: 14px;     /* Matches homepage spacing */
  flex-wrap: wrap;
}

/* Make tour card buttons match the homepage btn style */
.shows-list .card-actions .btn {
  flex: 0;                /* natural width */
  padding: 10px 18px;     /* adjust padding as needed */
  white-space: nowrap;    /* prevents unintended wrapping */
}

/* Optional: always keep a small gap between them */
.shows-list .card-actions {
  gap: 12px;
}

/* ===========================
   DRINK CARD LAYOUT - MEMBERS
   =========================== */

/* Drink card layout */
.drink-card {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-top: 0px;
}

.drink-img {
  width: 180px;
  border-radius: 12px;
  object-fit: cover;
}

.drink-content {
  flex: 1;
}

/* Toggle button */
.drink-toggle {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
}

.drink-toggle:hover {
  border-color: var(--accent);
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

/* Hidden section */
.drink-details {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.drink-details.open {
  max-height: 1000px; /* Large enough for content */
}

@media (max-width: 700px) {
  .drink-card {
    flex-direction: column;
    text-align: left;
  }

  .drink-img {
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
  }
}

/* GRID WRAPPER */
.member-extra-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  margin-top: 16px;
  margin-bottom: 16px;
}

/* CARD STYLING */
.extra-card {
  background: #1f2125; /* matches your dark sections */
  padding: 24px;
  border-radius: 12px;
  border: 1px solid #2a2c2f;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* Section Titles */
.extra-card h2 {
  margin-top: 0;
  margin-bottom: 8px;
}

/* Section Titles */
.extra-card h3 {
  margin-top: 8px;
  margin-bottom: 16px;
}

/* Section Titles */
.extra-card h4 {
  margin-top: 8px;
  margin-bottom: 8px;
}

/* Drink card needs more room */
.drink-card-wrapper {
  grid-column: 1; /* stays only in left column */
}

/* Mobile fallback */
@media (max-width: 510px) {
  .member-extra-grid {
    grid-template-columns: 1fr;
  }

  .drink-card-wrapper {
    grid-column: auto;
  }
}

/* Back to Top Button */
#backToTop {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-size: 22px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 9999;
}

#backToTop.visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1.05);
}

#backToTop:hover {
  border-color: var(--accent);
  transform: scale(1.12);
}

.breadcrumb {
  margin: 0 0 1rem 0;
  color: var(--muted);
  font-size: .85rem;
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.breadcrumb a {
  color: var(--muted);
}
.breadcrumb span {
  font-weight: 600;
  color: #ddd;
}

.photo-gallery img,
.media-grid img,
.about-img img {
  transition: transform 0.35s cubic-bezier(.2, .8, .2, 1), 
              box-shadow 0.35s cubic-bezier(.2, .8, .2, 1);
}

.photo-gallery img:hover,
.media-grid img:hover,
.about-img img:hover {
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.22);
}

/* ===========================
   GEAR LIST STYLING - MEMBERS
   =========================== */

.gear-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 25px;
}

.gear-list > li {
  margin-bottom: 18px;
}

.gear-list strong {
  color: #eee; /* adjust to your theme */
}

.gear-hidden {
  display: none;
  margin-top: 10px;
}

.gear-toggle {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  transition: all var(--transition);
}

.gear-toggle:hover {
  border-color: var(--accent);
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

@media (max-width: 600px) {
  .page-contact #contact .container {
    padding-left: 0;
	padding-right: 0;
  }
  
   .page-contact section#contact {
    padding-top: 0 !important;
    padding-bottom: 16px; /* or whatever you prefer */
  }
}

#contact form button[type="submit"] {
  justify-content: center !important;
  text-align: center;
}

@media (max-width: 600px) {
  .downloads {
    padding-top: 0 !important;
    padding-bottom: 16px; /* or whatever you prefer */
  }
}

@media (max-width: 600px) {
  .testi-grid {
    padding-top: 16px !important;
    padding-bottom: 32px; /* or whatever you prefer */
  }
}