/* Boulevard — main stylesheet (index / home)
   Assumes global.css + navbar.css + footer.css are loaded first
   All colours via global tokens only
*/

/* Page-level layout helpers */
html,
body {
  min-height: 100%;
}

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Hero */
.hero {
  position: relative;
  height: 74vh;
  min-height: 480px;
  display: block;
  overflow: visible;
}

.hero-slides {
  position: absolute;
  inset: 0;
}

.slide {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 1.2s ease, transform 9s ease;
}

.slide[aria-hidden="false"] {
  opacity: 1;
  transform: scale(1);
}

/* subtle dark overlay on slides */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  pointer-events: none;
}

/* hero centered logo */
.hero-logo {
  position: absolute;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  z-index: 4;
  pointer-events: none;
}

.hero-logo img {
  height: 96px;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.35));
}

/* Multi-line scroller (fixed top-left) */
.multi-scroller {
  position: fixed;
  top: 7rem;
  z-index: var(--z-multiscroller, 150);
  left: 3rem;
  width: 15vw;
  min-width: 180px;
  max-width: 260px;

  background: var(--scroller-bg);
  border-radius: 8px;
  padding: 0.7rem;
  border: 2px solid var(--scroller-border);
  box-shadow: var(--scroller-shadow);

  font-family: var(--font-heading);
  font-weight: 600;
}

.multi-scroller h4 {
  margin: 0 0 0.4rem 0;
  font-size: 0.85rem;
  color: var(--boulevard-primary-blue);
}

.scroller-viewport {
  height: 6.2rem;
  overflow: hidden;
  position: relative;
}

.scroller-list {
  display: block;
  transform: translateY(0);
  transition: transform 480ms cubic-bezier(.2, .9, .3, 1);
}

.scroller-item {
  padding: 0.45rem 0;
  border-bottom: 1px dashed var(--scroller-divider);
  font-size: 0.95rem;
  color: var(--text-main);

  /* Ensure consistent item height for clean scrolling */
  min-height: 2.6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.scroller-item strong {
  display: block;
}

.scroller-item .meta {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.12rem;
}

/* Featured Event Pulse */
.featured-event {
  color: var(--accent);
  animation: featuredPulse 1.8s ease-in-out infinite;
}

@keyframes featuredPulse {
  0%   { color: var(--accent); opacity: 0.75; }
  50%  { color: var(--accent); opacity: 1; }
  100% { color: var(--accent); opacity: 0.75; }
}

.multi-scroller:hover .scroller-list,
.multi-scroller:focus-within .scroller-list {
  transition: none;
}

/* Intro */
.intro {
  padding: 3.2rem 0;
  background: var(--surface-main);
}

.intro .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.intro h1 {
  font-size: 2.2rem;
  margin-bottom: .6rem;
}

.intro p {
  max-width: 70ch;
  color: var(--text-main);
  opacity: .95;
}

/* ===== Boulevard Club Mid Section ===== */
.mid-section {
  background: var(--boulevard-warm-soft-cream);
  position: relative;
  padding: 4rem 0 3rem;
  overflow: visible;
}

/* subtle paper-grain texture overlay */
.mid-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url("https://www.transparenttextures.com/patterns/paper-fibers.png");
  opacity: 0.12; /* subtle grain */
  pointer-events: none;
}

/* inner layout: two columns side-by-side */
.mid-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* logo side */
.mid-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-frame {
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  max-width: 360px;
}

.logo-frame img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.25));
}

/* text side */
.mid-text h2 {
  font-size: 2rem;
  color: var(--boulevard-deep-blue);
  margin-bottom: 1rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

.mid-text p {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* divider line between content and details */
.mid-divider {
  margin: 3rem auto;
  border: 0;
  height: 2px;
  background: var(--border-dark);
  width: calc(100% - 4rem);
  max-width: var(--container-w);
}

/* address / contact / hours layout */
.mid-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  z-index: 2;
  position: relative;
}

.detail-block h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--boulevard-primary-blue);
  margin-bottom: 0.5rem;
}

.detail-block p {
  font-size: 0.95rem;
  color: var(--text-main);
  margin: 0;
}

/* split image block */
.split-image {
  height: 46vh;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
}

.split-overlay {
  background: var(--split-overlay);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
}

.split-text {
  color: var(--white); /* formerly --text-inverse */
  padding: 2rem;
}

/* Home page — force white text on hero image */
.split-text h2,
.split-text p {
  color: var(--white) !important;
}

.split-text h2 {
  font-size: 2rem;
  margin-bottom: .4rem;
}

/* legacy footer wrapper (if still used on index) */
.site-footer {
  background: var(--boulevard-deep-blue);
  color: var(--text-inverse);
  padding: 1.25rem 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* =====================
   Unified Info Section
   ===================== */

.info-section {
  padding: 4rem 0 5rem;
  background: var(--surface-main);
}

.info-columns {
  display: grid;
  grid-template-columns: 1fr 8px 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3rem;
}

.info-left,
.info-right {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-main);
}

.info-left p,
.info-right p {
  margin-bottom: 1rem;
  line-height: 1.55;
}

.info-right {
  padding-top: 1.25rem;
}

.info-heading {
  font-size: 1.9rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--boulevard-deep-blue);
}

.info-list {
  margin: 1rem 0 1.2rem;
  padding-left: 1rem;
  list-style: none;
}

.info-list li {
  margin: 0.35rem 0;
  font-weight: 600;
}

.info-divider {
  background: var(--border-med);
  width: 2px;
  min-height: 100%;
  border-radius: 2px;
}

/* Gold banner row */
.info-banner {
  background: var(--boulevard-warm-gold);
  padding: 1.3rem 1.2rem;
  border-radius: 8px;
  margin: 2.5rem auto 1.5rem;
  max-width: var(--container-w);
  text-align: center;
}

.info-banner p {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-main);
}

/* Final line */
.info-final {
  text-align: center;
  max-width: 800px;
  margin: 1rem auto 0;
}

.info-final p {
  font-size: 1.05rem;
  color: var(--text-main);
  line-height: 1.7;
}

/* =====================
   Mobile adjustments
   ===================== */
@media (max-width: 900px) {
  .info-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .info-divider {
    display: none;
  }

  .info-heading {
    font-size: 1.6rem;
  }

  .info-section {
    padding: 3rem 0 4rem;
  }
}

/* small screens */
@media (max-width:900px){
  .hero-logo img {
    height:72px;
  }

  .multi-scroller {
    left: 1rem;
    width: 42vw;
    min-width: 170px;
  }

  .mid-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .mid-text {
    margin-top: 2rem;
  }

  .mid-divider {
    margin: 2rem auto;
  }

  .mid-details {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* utility */
.hidden {
  display: none;
}
