/* Primary Design Token System */
:root {
  --bg-base: #0b0c10;
  --bg-card: rgba(31, 40, 51, 0.6);
  --text-main: #e0e2e4;
  --text-muted: #8f9ba8;
  --accent-glow: #66fcf1;
  --accent-secondary: #45a29e;
  --border-subtle: rgba(102, 252, 241, 0.15);
  --font-stack: 'Outfit', system-ui, -apple-system, sans-serif;
}

/* Base Reset and Setup */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-base);
}

body {
  font-family: var(--font-stack);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Fixed Scrolling/Fading Background Layer */
.fade-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: -1;
  will-change: transform, opacity;
  pointer-events: none;
  /* Updated to use the user-defined cropped background */
  background-image: url('./images/fuzzy-bkgnd3-cropped.png');
}

/* Sticky Glassmorphic Header Navigation */
.sticky-nav {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  /* premium glassmorphic background set to 25% opacity as requested */
  background: rgba(11, 12, 16, 0.25);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.3s ease, padding 0.3s ease;
}

#top-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 3rem;
}

/* Miniature Logo/Home Styling */
.nav-logo-link {
  display: flex;
  align-items: center;
  height: 45px;
  transition: transform 0.2s ease;
}

.nav-logo-link:hover {
  transform: scale(1.08);
}

.nav-item-logo {
  text-decoration: none;
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 2.5px;
  transition: color 0.2s ease;
}

.nav-item-logo:hover {
  color: var(--accent-glow);
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
  gap: 3rem;
}

.nav-item {
  text-decoration: none;
  /* Premium high-contrast white navigation text */
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0%;
  height: 2.5px;
  /* Teal glow accent line */
  background-color: var(--accent-glow);
  transition: width 0.3s ease, left 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
  color: var(--accent-glow);
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
  left: 0;
}

/* Main Container Core Layout */
#content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* Prominent Hero Banner Section (tagline styles removed) */
.hero-section {
  width: 100%;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  text-align: center;
  position: relative;
  margin-bottom: 2rem;
}

.hero-logo-container {
  max-width: 550px;
  width: 90%;
}

.prominent-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  animation: logoFloat 6s ease-in-out infinite;
}

/* Rich Micro-animation Directive */
@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: drop-shadow(0 0 15px rgba(102, 252, 241, 0.2));
  }
  50% {
    transform: translateY(-10px) scale(1.015);
    filter: drop-shadow(0 0 30px rgba(102, 252, 241, 0.55));
  }
}

/* Common Reusable Section Wrappers */
.content-section {
  width: 100%;
  max-width: 1150px;
  padding: 4rem 2rem;
  scroll-margin-top: 90px; /* offsets the sticky nav height perfectly */
}

.section-container {
  padding: 3.5rem 4rem;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

/* Sleek Glassmorphism Backdrop Classes */
.glass-card {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: var(--bg-card);
}

.section-header {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: 4px;
  color: var(--accent-glow);
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
}

.section-header::after {
  content: '';
  display: block;
  width: 40px;
  height: 4px;
  background: var(--accent-secondary);
  margin-top: 8px;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.accent-link {
  color: var(--accent-glow);
  text-decoration: none;
  transition: color 0.2s ease;
}

.accent-link:hover {
  color: #fff;
}

/* About Section Layout */
.about-flex-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  margin-top: 2rem;
}

.about-text {
  font-size: 1.1rem;
  max-width: 750px;
  width: 100%;
}

.about-text .lead-text {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 1.5rem;
  font-weight: 400;
  line-height: 1.7;
}

.image-wrapper {
  width: 100%;
  height: auto;
  max-height: 450px;
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
}

.image-wrapper img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.paragraph-spacing {
  margin-top: 1.2rem;
}

/* Photos & Videos Grid Layout System */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 1.5rem;
}

.gallery-card {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 30px rgba(102, 252, 241, 0.15);
  border-color: rgba(102, 252, 241, 0.3);
}

.gallery-card figcaption {
  padding: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-main);
  text-align: center;
  font-weight: 300;
}

.about-photo-container {
  width: 100%;
  max-width: 750px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.about-photo-container:hover {
  transform: scale(1.02);
}

.about-band-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Placeholder Text Styles (Photos & Videos) */
.placeholder-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  border: 1px dashed rgba(102, 252, 241, 0.3);
  border-radius: 12px;
  background: rgba(11, 12, 16, 0.4);
  margin-top: 1.5rem;
}

.placeholder-text {
  font-size: 1.3rem;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 300;
}

/* Contact & Mailing List Grid System */
.contact-split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2.5rem;
}

.inquiry-column,
.subscribe-column {
  display: flex;
  flex-direction: column;
}

.sub-section-header {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--accent-glow);
  margin-bottom: 1.2rem;
}

.subscribe-verbiage {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Booking Form Styling System */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-main);
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: 8px;
  background: rgba(11, 12, 16, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-family: var(--font-stack);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent-glow);
  box-shadow: 0 0 15px rgba(102, 252, 241, 0.25);
}

.btn-primary,
.btn-secondary {
  align-self: flex-start;
  padding: 1rem 2.5rem;
  border-radius: 8px;
  font-family: var(--font-stack);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 2px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-glow), var(--accent-secondary));
  color: #0b0c10;
  box-shadow: 0 8px 20px rgba(102, 252, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(102, 252, 241, 0.5);
  filter: brightness(1.1);
}

.btn-secondary {
  background: rgba(102, 252, 241, 0.1);
  color: var(--accent-glow);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--accent-glow);
  color: #0b0c10;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(102, 252, 241, 0.3);
}

/* Footer Sections */
#main-footer {
  width: 100%;
  padding: 3rem 2rem;
  background: rgba(7, 8, 11, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 4rem;
}

.footer-content {
  max-width: 1150px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.scroll-top-link {
  color: var(--accent-secondary);
  text-decoration: none;
  letter-spacing: 1px;
  transition: color 0.2s ease;
}

.scroll-top-link:hover {
  color: var(--accent-glow);
}

/* (Responsive adaptation layers moved to the bottom of the file to ensure correct CSS cascade overrides) */

/* Photo Slideshow Montage Styles */
.slideshow-wrapper {
  position: relative;
  max-width: 800px;
  width: 100%;
  margin: 1.5rem auto 0 auto;
  padding: 0 50px 45px 50px; /* Pads outer wrapper to house control buttons off-photo */
}

.slideshow-container {
  width: 100%;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  background: rgba(11, 12, 16, 0.4);
  aspect-ratio: 16 / 9;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Navigation Buttons (Moved outside the photo frame) */
.prev-slide-btn, .next-slide-btn {
  cursor: pointer;
  position: absolute;
  top: calc(50% - 22.5px); /* Perfectly centered relative to the photo box height */
  transform: translateY(-50%);
  width: auto;
  padding: 14px 18px;
  color: white;
  font-weight: bold;
  font-size: 22px;
  transition: all 0.2s ease;
  border-radius: 8px;
  border: none;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10;
  outline: none;
}

.prev-slide-btn {
  left: 0px;
}

.next-slide-btn {
  right: 0px;
}

.prev-slide-btn:hover, .next-slide-btn:hover {
  background-color: var(--accent-glow);
  color: #0b0c10;
  box-shadow: 0 0 15px rgba(102, 252, 241, 0.4);
  border-color: var(--accent-glow);
}

/* Dot Indicators (Moved below the photo frame) */
.dot-container {
  position: absolute;
  bottom: 10px; /* Positioned cleanly in the bottom padding of the wrapper */
  width: 100%;
  left: 0;
  text-align: center;
  z-index: 10;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.dot {
  cursor: pointer;
  height: 10px;
  width: 10px;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  transition: background-color 0.4s ease, transform 0.2s ease;
}

.active-dot, .dot:hover {
  background-color: var(--accent-glow);
  transform: scale(1.25);
  box-shadow: 0 0 8px var(--accent-glow);
}

/* Slide Animation fade */
.fade {
  animation-name: slideFade;
  animation-duration: 1s;
}

@keyframes slideFade {
  from { opacity: 0.55; }
  to { opacity: 1; }
}

/* Responsive YouTube Video Container */
.video-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 1.5rem auto 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  background: rgba(11, 12, 16, 0.4);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   RESPONSIVE ADAPTATION LAYERS (At Bottom to guarantee correct overrides)
   ========================================================================== */

@media (max-width: 950px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-split-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  /* Hide HOME button only on mobile to save vertical header space */
  .nav-logo-link {
    display: none !important;
  }
  
  #top-navbar {
    padding: 0.6rem 1rem;
    flex-direction: row;
    justify-content: center;
  }
  
  .nav-links {
    padding: 0;
    gap: 1.5rem; /* Tight horizontal spacing on mobile */
    justify-content: center;
    width: 100%;
  }
  
  .content-section {
    padding: 2rem 0.25rem; /* Maximize outer screen width space on mobile */
  }
  
  .section-container {
    padding: 2rem 0.75rem; /* Maximize inner content width space on mobile */
    border-radius: 12px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Mobile Slideshow: Full-Width Photo & Clean Inline Controls Dashboard */
  .slideshow-wrapper {
    padding: 0 0 55px 0; /* Zero side padding so photo expands 100% edge-to-edge; 55px bottom padding for controls */
    margin-top: 1.2rem;
  }
  
  .slideshow-container {
    border-radius: 8px; /* Tighter corners look sharper in full-width mobile view */
  }
  
  /* Relocate navigation buttons to the bottom corners, inline with dots */
  .prev-slide-btn, .next-slide-btn {
    top: auto;
    bottom: 5px; /* Position inside the bottom padding area of the wrapper */
    transform: none;
    padding: 6px 12px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .prev-slide-btn {
    left: 5px;
  }
  
  .next-slide-btn {
    right: 5px;
  }
  
  /* Compact dots container centered between the navigation buttons */
  .dot-container {
    bottom: 15px; /* Perfectly aligned vertically with the bottom buttons */
    gap: 6px;
  }
  
  .dot {
    height: 7px;
    width: 7px; /* Scaled down dots to guarantee zero overlap on narrow phone screens */
  }
}
