/* =========================================================
   THE LUCKY SHOTS — MODERN GLOBAL STYLESHEET (2025)
   Complete redesign for Option C unified layout
   Clean, modern, responsive, consistent across all pages
========================================================= */

/* =========================================================
   ROOT VARIABLES
========================================================= */
:root {
  --max-width: 1000px;

  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-xxl: 72px;

  --color-bg: #ffffff;
  --color-text: #222222;
  --color-muted: #666666;
  --color-accent: #c20808; /* Lucky Shots red */
  --color-light: #f5f5f5;
  --color-dark: #111111;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 14px;

  --shadow-sm: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 6px 18px rgba(0,0,0,0.12);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.18);

  --font-body: "Source Sans Pro", sans-serif;
  --font-head: "Montserrat", sans-serif;
}

/* =========================================================
   GLOBAL RESET
========================================================= */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
  font-size: 1rem;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}


a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-main > .wrapper {
  display: block;
}


/* =========================================================
   WRAPPER — GLOBAL PAGE WIDTH
========================================================= */
.wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================================
   HEADER 
========================================================= */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  padding: var(--space-sm) 0;
}


.site-header .wrapper.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto; 
  align-items: center;
  gap: var(--space-md);
}

.logo img {
  width: 180px; 
  height: auto;
  display: block;
}

/* NAVIGATION */
.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;            
  justify-content: center;    
  gap: 18px;                  
  padding: 0;
  margin: 0;
}


.site-nav a {
  font-weight: 600;
  color: var(--color-text);
}

.site-nav a.active {
  color: var(--color-accent);
}

/* SOCIAL ICON LINKS */
.social-links {
  display: flex;
  flex-wrap: wrap;            
  justify-content: flex-end;  
  gap: 10px;
}


.social-links img {
  width: 44px;
  height: 44px;
  display: block;
}



/* =========================================================
   MAIN CONTENT
========================================================= */

.page-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.page-main {
  margin-top: var(--space-lg);
  margin-bottom: var(--space-xxl);
}

.page-title {
  font-family: var(--font-head);
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: var(--space-md);
  color: var(--color-accent);
}

.page-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-xl);
  color: var(--color-muted);
  font-size: 1.1rem;
}

h2, h3, h4 {
  font-family: var(--font-head);
}

h2 {
  margin-bottom: var(--space-md);
}

h3 {
  margin-bottom: var(--space-sm);
}
.page-main h2,
.page-main h3,
.page-main h4 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}


main {
  display: block;
}


/* =========================================================
   SECTIONS
========================================================= */
.section {
  margin-bottom: var(--space-xxl);
}

.section-title {
  text-align: center;
  font-family: var(--font-head);
  font-size: 1.75rem;
  margin-bottom: var(--space-sm);
}

.section-rule {
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: 0 auto var(--space-xl);
  border: none;
}

/* =========================================================
   ALBUM LIST (MUSIC PAGE)
========================================================= */
.album-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.album-item {
  background: var(--color-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: var(--space-lg);
  align-items: center;
}

.album-text h3 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  margin-bottom: var(--space-xs);
}

.album-text p {
  margin-bottom: var(--space-md);
}

.album-cover img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}


/* MOBILE STACK */
@media (max-width: 700px) {
  .album-item {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* =========================================================
   HOMEPAGE HERO (updated for modern layout)
========================================================= */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xxl);
}

@media (min-width: 800px) {
  .hero {
    grid-template-columns: 0.45fr 0.55fr;
  }
}

.hero-figure img {
  border-radius: var(--radius-lg);
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.spotify-card {
  background: var(--color-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-md) var(--space-lg) var(--space-sm);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}


.spotify-embed {
  width: 100%;
  display: block;
  border: 0;
}

.spotify-embed {
  border-radius: var(--radius-md);
}

/* HERO CTA BUTTONS — pill-style modifier */
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.hero-buttons .button-primary,
.hero-buttons .button-secondary {
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
}


/* =========================================================
   BUTTONS (Global UI Elements)
========================================================= */

.button {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  font-weight: 700;
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-head);
  transition: background 0.2s ease, color 0.2s ease;
}

.button-primary {
  background: var(--color-accent);
  color: #fff;
}

.button-primary:hover {
  background: #a30606; /* slightly darker accent */
}

.button-secondary {
  background: var(--color-dark);
  color: #fff;
}

.button-secondary:hover {
  background: #000;
}

.button-link {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: none;
}

.button-link:hover {
  text-decoration: underline;
}

/* =========================================================
   FEATURE GRID (Homepage)
========================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}

@media (min-width: 700px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--color-light);
  padding: var(--space-md) var(--space-lg) var(--space-sm);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.feature-card h3 {
  margin-bottom: var(--space-sm);
  font-family: var(--font-head);
}




/* =========================================
   CONCERTS PAGE — HERO IMAGE 
========================================= */
.page-concerts .page-hero {
  max-width: 760px; /* matches paragraph width */
  margin: var(--space-xl) auto;
}

.page-concerts .page-hero img {
  display: block;
  width: 100%;
  border-radius: var(--radius-md);
}

/* =========================================
   CONCERTS PAGE — POSTER GRID WIDTH
========================================= */
.page-concerts .poster-grid-wrapper {
  max-width: 760px; /* matches text + hero */
  margin: 0 auto;
}



/* =========================================================
   PHOTO & POSTER GRID
========================================================= */
.photo-grid,
.poster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
}

.photo-grid img,
.poster-grid img {
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: transform 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.photo-grid img:hover,
.poster-grid img:hover {
  transform: scale(1.05);
}

/* =========================================================
   PRESS
========================================================= */

.press-list {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.press-meta {
  margin-left: var(--space-lg);
}

/* Featured press pull-quote */
.press-featured-quote {
  max-width: 700px;
  margin: var(--space-xl) auto var(--space-xxl);
  padding-left: var(--space-lg);
  border-left: 3px solid var(--color-accent);
}

.press-featured-quote p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin: 0 0 var(--space-sm);
}

.press-featured-quote cite {
  font-style: normal;
  font-weight: 600;
  color: var(--color-muted);
}

.press-card blockquote {
  margin: 0;                
  padding: 0;
  max-width: 700px;
}


/* =========================================================
   BIO PAGE
========================================================= */

.bio-centered-image {
  margin: 0 auto;          /* overrides default figure margins */
  max-width: 760px;
  padding: 0;              /* defensive: ensures no inherited padding */
}

.bio-centered-image img {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin: 0 auto var(--space-lg);
  display: block;
}

main p,
main ul,
main ol {
  max-width: 760px;
  margin: 0 auto var(--space-md);
}

main ul,
main ol {
  list-style-position: inside;
  padding-left: 0.75rem;
}

/* =========================================================
   HISTORY PAGE
========================================================= */

.history-image {
  max-width: 760px;        /* matches paragraph width */
  margin: 0 auto var(--space-lg);
}

.history-image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  cursor: zoom-in;        /* optional: indicates click-to-enlarge */
  transition: none;      /* disable inherited hover animations */
}

.history-image img:hover {
  transform: none;       /* explicitly prevent hover zoom */
}

.history-next {
  margin-top: var(--space-lg);
  font-style: italic;
  color: var(--text-muted);
}



/* =========================================================
   LUCKY SHOTS — UNIFIED LIGHTBOX (JS-DRIVEN)
   Matches lightbox.js (ls-lightbox namespace)
========================================================= */

/* Root overlay (hidden by default) */
.ls-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

/* Open state (toggled by JS) */
.ls-lightbox.is-open {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: lsLightboxFadeIn 0.25s ease forwards;
}


/* Dark backdrop */
.ls-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.85);
}

/* Dialog container */
.ls-lightbox__dialog {
  position: relative;
  max-width: 95%;
  max-height: 95%;
  background: transparent;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 72px;
  padding-right: 72px;

}

/* Media container */
.ls-lightbox__content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Image */
.ls-lightbox__image {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 1;
}

/* Video */
.ls-lightbox__video {
  width: 80vw;
  max-width: 1000px;
  height: 45vw;
  max-height: 562px; /* 16:9 */
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  background: #000;
  z-index: 1;
}

/* Caption */
.ls-lightbox__caption {
  margin-top: var(--space-sm);
  color: #fff;
  text-align: center;
  max-width: 700px;
  font-size: 0.95rem;
}

/* Close button */
.ls-lightbox__close {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 10; /* ensure above image/video */
  background: rgba(0, 0, 0, 0.6);
  transition: background 0.2s ease, transform 0.2s ease;
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}

.ls-lightbox__close:hover {
  background: rgba(60, 0, 0, 0.8);
  transform: scale(1.1);
}


/* Prev / Next buttons */
.ls-lightbox__prev,
.ls-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

/* Focus ring ONLY for keyboard navigation (prevents “stuck” ring on mouse click) */
.ls-lightbox__prev:focus,
.ls-lightbox__next:focus {
  outline: none;
}

.ls-lightbox__prev:focus-visible,
.ls-lightbox__next:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}


.ls-lightbox__prev {
  left: 12px;
}

.ls-lightbox__next {
  right: 12px;
}

/* Lightbox trigger affordance */
.ls-lightbox-trigger {
  cursor: pointer;
  transition: transform 0.2s ease;
}


.ls-lightbox-trigger:hover img {
  transform: scale(1.05);
}

.ls-lightbox-trigger img {
  transition: transform 0.2s ease;
}


/* Do NOT scale large hero images */
.page-hero .ls-lightbox-trigger:hover {
  transform: none;
}


/* Mobile adjustments */
@media (max-width: 700px) {
  .ls-lightbox__prev {
    left: 10px;
  }
  .ls-lightbox__next {
    right: 10px;
  }
  .ls-lightbox__video {
    width: 95vw;
    height: 53vw;
  }

  .ls-lightbox__dialog {
    padding-left: 44px;
    padding-right: 44px;
  }
}


@keyframes lsLightboxFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


/* =========================================================
   VIDEOS PAGE
========================================================= */

/* Video grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-lg);
  margin: var(--space-lg) 0;
}


.video-thumb {
  width: 100%;
  display: block;
  border-radius: var(--radius-md);
}


/* =========================================================
   FOOTER
========================================================= */
.site-footer {
  padding: var(--space-xl) 0;
  background: #fafafa;
  border-top: 1px solid #e0e0e0;
  margin-top: var(--space-xxl);
}

.footer-inner {
  text-align: center;
}

.footer-nav a {
  color: var(--color-text);
  margin: 0 6px;
  font-weight: 600;
}

/* =========================================================
   MOBILE HEADER OPTIMIZATION
   Modern compact layout for small screens
========================================================= */
@media (max-width: 768px) {

  .site-header {
    padding: var(--space-sm) 0;
  }

  .site-header .wrapper.header-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "logo nav"
      "logo socials";
    align-items: center;
    row-gap: var(--space-sm);
  }

  .logo {
    grid-area: logo;
  }

  .logo img {
    width: 90px;
  }

  .site-nav {
    grid-area: nav;
  }

  .site-nav ul {
    justify-content: flex-start;
    gap: var(--space-sm);
  }

  .social-links {
    grid-area: socials;
    justify-content: flex-end;
  }
}

