/* ===== Tokens ===== */
:root {
  --red: #DF272F;
  --blue: #0071BA;
  --black: #000000;
  --white: #FFFFFF;

  --font-display: 'Bangers', cursive;
  --font-body: 'Inter', sans-serif;

  --panel-border: 5px solid var(--black);
  --radius: 6px;
  --panel-height: 550px;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--black);
  color: var(--black);
  min-height: 100vh;
}

body {
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.topbar {
  flex-shrink: 0;
}

#view-home,
#view-services,
#view-events {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  width: 95vw;
}

.bottom-bar {
  flex-shrink: 0;
}


.main {
  flex: 1;
}

a { color: inherit; }

/* subtle halftone texture used behind main */
.main {
  background-image: radial-gradient(var(--black) 0.6px, transparent 0.6px);
  background-size: 14px 14px;
  background-position: -7px -7px;
}

/* ===== Top bar ===== */
.topbar {
  background: var(--red);
  border-bottom: var(--panel-border);
  position: sticky;
  top: 20px;
  z-index: 100;
  border-radius: 30px;
  min-width: 95vw;
}

.topbar-inner {
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: 0.5px;
  color: var(--white);
  text-decoration: none;
  -webkit-text-stroke: 1px var(--black);
  white-space: nowrap;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
  align-items: center;
}

.nav-item { position: relative; }

.nav-link {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
  background: transparent;
  border: none;
  padding: 10px 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  border-radius: var(--radius);
  transition: background 0.15s ease;
}

.nav-link:hover,
.nav-link:focus-visible {
  background: var(--red);
  outline: 2px solid var(--white);
  outline-offset: -2px;
}

.nav-link.nav-home {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dropdown {
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: var(--radius);
  min-width: 200px;
  box-shadow: 4px 4px 0 var(--black);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown {
  background: var(--red);

}

.dropdown li a {
  display: block;
  padding: 8px 10px;
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 4px;
}

.dropdown li a:hover,
.dropdown li a:focus-visible {
  background: var(--blue);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--white);
  border-radius: var(--radius);
  width: 42px;
  height: 38px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 22px;
  height: 3px;
  background: var(--white);
  border-radius: 2px;
}

/* ===== Middle / main ===== */
.main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto;
  padding: 48px 0;
  align-items: start;
  align-content: center;
}

.info-panel,
.slideshow-panel {
  height: var(--panel-height);
}

/* Info panel (blue) */
.info-panel {
  background: var(--blue);
  color: var(--white);
  border: var(--panel-border);
  box-shadow: 8px 8px 0 var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
}

.info-panel-inner {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  padding: 28px;
}

.info-panel-inner img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
}

.shop-title {
  font-family: var(--font-display);
  font-size: 4.6rem;
  line-height: 0.95;
  margin: 0 0 16px;
  letter-spacing: 0.5px;
}

.tagline {
  font-size: 1.15rem;
  line-height: 1.5;
  margin: 0 0 28px;
  max-width: 55ch;
  color: #EAF1FF;
}

/* Slideshow panel */
.slideshow-panel {
  display: flex;
}

.slideshow-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  border: var(--panel-border);
  box-shadow: 8px 8px 0 var(--black);
  overflow: hidden;
  background: var(--black);
  margin: 0 auto;
  border-radius: 30px;
}

.slideshow {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.slide.is-active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.slide-arrow:hover,
.slide-arrow:focus-visible {
  background: var(--red);
}

.slide-prev { left: 14px; }
.slide-next { right: 14px; }

.slide-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.slide-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--black);
  background: var(--white);
  cursor: pointer;
  padding: 0;
}

.slide-dot.is-active {
  background: var(--red);
}

/* ===== Bottom bar ===== */
.bottom-bar {
  border-top: var(--panel-border);
  padding: 28px 24px;
}

.bottom-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;

  .social-media-icons {
    display: flex;
    gap: 16px;
    margin: 0 auto;
  }
}

.cta-button {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  background: var(--red);
  border: 3px solid var(--black);
  border-radius: 30px;
  padding: 14px 28px;
  text-decoration: none;
  box-shadow: 4px 4px 0 var(--black);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.cta-button:hover,
.cta-button:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--black);
  outline: none;
}
.social-media-link {
  display: flex;
  align-items: center;
}

.social-media-icon {
  max-height: 3rem;
}

/* ===== Focus visibility (accessibility floor) ===== */
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  .slide { transition: none; }
  .cta-button { transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 1050px) {
  .main {
    grid-template-columns: 1fr;
  }
  .shop-title { font-size: 2.6rem; }

  /* add these two: */
  .info-panel,
  .slideshow-panel {
    height: auto;
  }
  .slideshow-frame {
    height: auto;
  }
}

@media (max-width: 720px) {
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--red);
    border-bottom: var(--panel-border);
    display: none;
  }
  .nav.is-open { display: block; }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 16px;
  }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    display: none;
    border: none;
    background: var(--red);
    margin-top: 4px;
  }
  .nav-item.is-open .dropdown { display: block; }
  .dropdown li a { color: var(--white); }
  .dropdown li a:hover { background: var(--red); }
  .nav-toggle { display: flex; }
  .info-panel-inner { padding: 28px; }
  .topbar-inner {
    flex-wrap: wrap;
    row-gap: 8px;
  }
  .tagline { font-size: 1rem; }
}

/* ===== Services view ===== */
.is-hidden {
  display: none !important;
}

.page-banner {
  background: var(--blue);
  border-bottom: var(--panel-border);
  padding: 44px 24px 40px;
  text-align: center;
  position: relative;
  border-radius: 30px;
}

.page-banner h1 {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 2.75rem;
  margin: 0 0 8px;
  letter-spacing: 0.5px;
}

.page-banner p {
  color: #C9D9EF;
  margin: 0;
  font-size: 1rem;
}

.services-wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 44px 24px 80px;
}

.events-wrap {
  padding: 44px 24px 80px;
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

.toc {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 48px;
  padding: 6px;
  list-style: none;
  background: #fff;
  border: 2px solid #E3DECF;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(20, 21, 26, 0.06);
}

.toc a {
  font-weight: 600;
  font-size: 0.88rem;
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 9px 18px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.15s ease, color 0.15s ease;
}

.toc a:hover,
.toc a:focus-visible {
  background: #EEF3FA;
}

.toc a.is-active {
  background: var(--blue);
  color: var(--white);
}

.service-section {
  background: var(--blue);
  border: 2px solid #E3DECF;
  border-left: 6px solid var(--red);
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(20, 21, 26, 0.08);
  padding: 36px 40px;
  margin-bottom: 28px;
  scroll-margin-top: 90px;
}

.service-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.service-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon img {
  width: 70%;
}

.service-section h2 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white);
  margin: 0;
  letter-spacing: 0.2px;
}

.service-section p {
  line-height: 1.65;
  margin: 0 0 14px;
  color: var(--white);
}

.service-section p:last-child {
  margin-bottom: 0;
}

.service-section ul {
  line-height: 1.65;
  margin: 0 0 14px;
  padding-left: 22px;
}

.service-section ul li {
  margin-bottom: 8px;
}

.service-image-placeholder {
  border: 2px dashed #B9C7DD;
  border-radius: 8px;
  background: #F6F9FD;
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  padding: 36px 16px;
  margin: 0 0 24px;
}

/* Reward tier cards */
.tier-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0 0 24px;
  color: var(--blue);
}

.tier-card {
  position: relative;
  border: 2px solid #E3DECF;
  border-radius: 10px;
  padding: 20px 14px;
  text-align: center;
  background: #FAFAF7;
  color: var(--blue);
}

.tier-card p {
  color: var(--blue);
}

p.tier-ribbon {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin: 0;
  white-space: nowrap;
}

.tier-name {
  font-weight: 700;
  font-size: 0.95rem;
  margin: 6px 0 2px;
}

.tier-sub {
  font-size: 0.78rem;
  opacity: 0.75;
  margin: 0 0 12px;
}

.tier-back {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--red);
  margin: 0;
  letter-spacing: 0.3px;
}

.tier-card--featured .tier-back {
  color: var(--blue);
}

.tier-back span {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  color: inherit;
  opacity: 0.8;
  letter-spacing: 0;
}

.catalog-links {
  display: grid;
  gap: 10px;
  margin: 0 0 4px;
}

.catalog-links a {
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  border-bottom: 2px solid #C9D9EF;
  padding-bottom: 2px;
  word-break: break-word;
  display: inline-block;
  width: fit-content;
  transition: border-color 0.15s ease;
}

.catalog-links a:hover,
.catalog-links a:focus-visible {
  border-color: var(--blue);
}

/* ===== Events page ===== */
.events-grid {
  columns: 2;
  column-gap: 24px;
  width: 100%;
}

.event-card {
  break-inside: avoid;
  margin-bottom: 24px;
  display: block;
  border: var(--panel-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 6px 6px 0 var(--black);
  background: var(--black);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  line-height: 0;
  cursor: default;
}

.event-card:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--black);
}

.event-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* Lightbox overlay */
.events-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-out;
}

.events-lightbox.is-open {
  display: flex;
}

.events-lightbox img {
  max-width: min(90vw, 900px);
  max-height: 90vh;
  object-fit: contain;
  border: var(--panel-border);
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: var(--white);
  border: 3px solid var(--black);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 3px 3px 0 var(--black);
  line-height: 1;
}

.lightbox-close:hover {
  background: var(--red);
  color: var(--white);
}

.events-empty {
  text-align: center;
  color: var(--white);
  font-size: 1.1rem;
  padding: 60px 0;
  opacity: 0.7;
}

/* Responsive events grid */
@media (max-width: 640px) {
  .events-grid {
    columns: 1;
  }
}

@media (max-width: 720px) {
  .tier-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .service-section { padding: 26px 22px; }
  .service-heading { gap: 10px; }
  .service-icon { width: 38px; height: 38px; }
  .page-banner h1 { font-size: 2.2rem; }
  .tier-cards { grid-template-columns: 1fr; }
}

@media (max-width: 1050px) {
  body {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  #view-home,
  #view-services,
  #view-events {
    overflow-y: visible;
    height: auto;
  }
}

@media (max-width: 480px) {
  .topbar-inner .nav-link[href*="ContactUs"] {
    padding: 8px;
    font-size: 0;
  }
  .topbar-inner .nav-link[href*="ContactUs"]::after {
    content: "✉";
    font-size: 1.2rem;
  }
}