/* ==========================================================================
   Appalachian Moon - Static Site Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --bg-primary: #050507;
  --bg-secondary: #0a0a0d;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.06);
  
  --text-primary: #f8f9fb;
  --text-secondary: #a8aeb8;
  --text-muted: #6b7280;
  
  --accent-primary: #4de1c1;
  --accent-secondary: #f35f8c;
  --accent-gradient: linear-gradient(135deg, #4de1c1 0%, #2bb3aa 50%, #f35f8c 100%);
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.15);
  
  /* Typography */
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Archivo', system-ui, -apple-system, sans-serif;
  
  /* Spacing */
  --section-padding: 100px 0;
  --container-max: 1200px;
  --border-radius: 16px;
  --border-radius-sm: 10px;
  --border-radius-xs: 6px;
  
  /* Effects */
  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 40px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(77, 225, 193, 0.15);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-primary);
  background: var(--bg-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background Pattern */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 20% -20%, rgba(77, 225, 193, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(243, 95, 140, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse 100% 100% at 50% 50%, rgba(30, 30, 40, 0.5) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
}

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

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px; /* increased by 4px as requested */
  padding: 2px 28px; /* extra right padding as requested */
  background: rgba(5, 5, 7, 0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: none;
  overflow: hidden; /* crop logo bottom so top shows inside navbar */
  transition: all var(--transition-base);
}

/* logo (large visual size but cropped by header) */
.logo {
  position: absolute;
  left: 20px;
  top: -45px; /* moved up 9px as requested */
  transform: translateY(0);
  height: 150px; /* keep large visual size */
  width: auto;
  z-index: 1100;
  pointer-events: auto; /* keep logo clickable */
}

.logo img {
  height: 100%;
  width: auto;
  display: block;
  object-fit: contain; /* show the logo inside the box without clipping to a solid area */
  object-position: center center; /* center the important portion in the visible area */
  padding: 0;
  border: 0;
  border-radius: 8px;
  /* soft gold glow + subtle shadow */
  box-shadow: 0 8px 30px rgba(0,0,0,0.35), 0 6px 30px rgba(255,215,79,0.10);
  filter: drop-shadow(0 10px 40px rgba(255,215,79,0.10));
  outline: 2px solid rgba(255,215,79,0.06);
  outline-offset: 2px;
}  

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: 240px; /* make room for the large, absolutely-positioned logo */
  flex: 1; /* allow nav to occupy remaining header width */
}

/* Right-align the navigation links within the nav container */
.nav-menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end; /* align menu items to the right edge */
}

@media (max-width: 720px) {
  .nav { margin-left: 160px; }
  /* logo adjustment for tablet */
  .logo { top: -25px; height: 140px; left: 16px; }
}

@media (max-width: 480px) {
  .nav { margin-left: 120px; }
}

.nav-link {
  font-family: var(--font-display);
  font-size: 15px; /* increased slightly */
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 14px; /* slightly wider horizontally */
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
  position: relative;
  /* soft gold glow */
  text-shadow: 0 2px 8px rgba(255,215,79,0.06);
  filter: drop-shadow(0 6px 18px rgba(255,215,79,0.04));
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-primary);
  transform: translateX(-50%);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--text-primary);
  text-shadow: 0 6px 18px rgba(255,215,79,0.12);
  filter: drop-shadow(0 8px 26px rgba(255,215,79,0.08));
}

.nav-link:hover::after {
  width: calc(100% - 32px);
}

.nav-link:focus-visible {
  outline: 2px solid rgba(255,215,79,0.18); /* soft gold outline */
  outline-offset: 4px;
  box-shadow: 0 10px 30px rgba(255,215,79,0.10);
  border-radius: var(--border-radius-sm);
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  transition: all var(--transition-fast);
}

.nav-toggle:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.hamburger {
  position: relative;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  bottom: -6px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 72px 24px 60px; /* reduced top padding to match smaller navbar */
  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.9) brightness(0.6);
  transform: scale(1.05);
  transition: background-image 0.8s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 7, 0.4) 0%,
    rgba(5, 5, 7, 0.2) 40%,
    rgba(5, 5, 7, 0.6) 100%
  );
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 40% at 30% 20%, rgba(77, 225, 193, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 70% 80%, rgba(243, 95, 140, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  text-align: center;
  animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-primary);
  margin-bottom: 16px;
  padding: 8px 20px;
  background: rgba(77, 225, 193, 0.1);
  border: 1px solid rgba(77, 225, 193, 0.2);
  border-radius: 30px;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 80px rgba(77, 225, 193, 0.3);
}

.hero-lead {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-controls {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 10;
}

.hero-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  color: var(--text-primary);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-primary);
  transform: scale(1.05);
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.hero-dot.active {
  background: var(--accent-primary);
  transform: scale(1.2);
}

.scroll-indicator {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--border-radius-sm);
  border: 1px solid transparent;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.btn:hover::before {
  opacity: 1;
}

.btn-primary {
  background: var(--accent-gradient);
  border-color: transparent;
  color: #050507;
  box-shadow: 0 4px 20px rgba(77, 225, 193, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(77, 225, 193, 0.4);
}

.btn-secondary {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: var(--bg-card);
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.btn-outline {
  padding: 10px 20px;
  font-size: 13px;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-primary);
}

.btn-outline:hover {
  background: var(--bg-card);
  border-color: var(--accent-primary);
}

.btn-small {
  padding: 10px 18px;
  font-size: 13px;
}

.btn-submit {
  width: 100%;
  padding: 16px 24px;
  font-size: 15px;
}

/* Support Section Buttons */
.btn-cashapp {
  background: #00D632;
  color: white;
}

.btn-cashapp:hover {
  background: #00c12d;
  transform: translateY(-2px);
}

.btn-venmo {
  background: #008CFF;
  color: white;
}

.btn-venmo:hover {
  background: #0077db;
  transform: translateY(-2px);
}

.btn-paypal {
  background: #003087;
  color: white;
}

.btn-paypal:hover {
  background: #00256b;
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 60px;
}

.section-label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-secondary);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Music Section
   -------------------------------------------------------------------------- */
.music-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.music-grid {
  display: grid;
  gap: 24px;
}

.music-featured {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 32px;
  overflow: hidden;
}

.music-featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent-gradient);
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-primary);
  padding: 6px 12px;
  background: rgba(77, 225, 193, 0.1);
  border: 1px solid rgba(77, 225, 193, 0.2);
  border-radius: 20px;
}

.featured-title {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.audio-player audio {
  width: 100%;
  height: 44px;
  border-radius: var(--border-radius-sm);
}

.track-list {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 24px;
}

.track-list-title {
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--text-secondary);
}

.tracks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.track-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  gap: 16px;
}

.track-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-hover);
}

.track-info h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.track-platform {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.track-item audio {
  width: 180px;
  height: 36px;
}

/* Custom scrub / media controls */
.custom-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 8px;
}
.custom-controls .btn-skip {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text-primary);
  padding: 6px 8px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}
.custom-controls .btn-skip:hover { border-color: var(--border-hover); }
.custom-controls .scrub-container {
  position: relative;
  flex: 1 1 auto;
  height: 8px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}
.custom-controls .scrub-bar { position: absolute; inset: 0; }
.custom-controls .scrub-filled {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-primary), #7dd3fc 120%);
}
.custom-controls .scrub-thumb {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.35);
  left: 0%;
  transition: left 0.08s linear;
}
.custom-controls .time-display {
  width: 88px;
  text-align: right;
  color: var(--text-secondary);
  font-size: 0.85rem;
}
@media (max-width: 680px) {
  .custom-controls .time-display { display: none; }
}


/* --------------------------------------------------------------------------
   Gallery Section
   -------------------------------------------------------------------------- */
.gallery-section {
  background: var(--bg-secondary);
}

.gallery-preview {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.preview-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.preview-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-info {
  padding: 20px 24px;
  border-top: 1px solid var(--border-color);
}

.preview-info h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.preview-info p {
  color: var(--text-secondary);
}

.gallery-thumbs {
  display: flex;
  align-items: center;
  gap: 12px;
}

.thumb-nav {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.thumb-nav:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-primary);
}

.thumb-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
}

.thumb-strip::-webkit-scrollbar {
  height: 6px;
}

.thumb-strip::-webkit-scrollbar-track {
  background: transparent;
}

.thumb-strip::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

.thumb-btn {
  flex-shrink: 0;
  width: 100px;
  aspect-ratio: 16 / 9;
  border-radius: var(--border-radius-xs);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
  background: none;
}

.thumb-btn:hover {
  border-color: var(--border-hover);
}

.thumb-btn.active {
  border-color: var(--accent-primary);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   Videos Section
   -------------------------------------------------------------------------- */
.videos-section {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.video-preview {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  margin-bottom: 24px;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-frame video,
.video-frame iframe {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.yt-iframe-container {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  margin-bottom: 8px;
}
.yt-iframe-container iframe { border: 0; }

@media (max-width: 720px) {
  .yt-iframe-container { height: 220px; }
}

.video-info {
  padding: 20px 24px;
  border-top: 1px solid var(--border-color);
}

.video-info h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.now-playing-badge {
  display: inline-block;
  margin-left: 10px;
  padding: 4px 8px;
  background: linear-gradient(90deg,#22c55e,#16a34a);
  color: #fff;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  vertical-align: middle;
  box-shadow: 0 1px 0 rgba(0,0,0,0.12);
}

.video-info p {
  color: var(--text-secondary);
}

.video-thumbs {
  display: flex;
  align-items: center;
  gap: 12px;
}

.video-thumb-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 4px;
  scrollbar-width: thin;
}

.video-thumb-btn {
  flex-shrink: 0;
  width: 140px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  padding: 0;
  background: none;
  position: relative;
}

.video-thumb-btn:hover {
  border-color: var(--border-hover);
}

.video-thumb-btn.active {
  border-color: var(--accent-primary);
}

.video-thumb-btn img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.video-thumb-btn:hover .play-overlay {
  opacity: 1;
}

.play-overlay span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-primary);
  color: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* Non-embeddable YouTube thumbnails: show distinct marker and keep carousel intact */
.video-thumb-btn[data-embeddable="false"] .play-overlay span {
  background: #fb923c; /* orange */
}
.video-thumb-btn[data-embeddable="false"] .play-overlay { background: rgba(0,0,0,0.55); }
.video-thumb-btn[data-embeddable="false"] { opacity: 0.95; }

/* YouTube fallback message */
.yt-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 24px;
  text-align: center;
}

.yt-fallback p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.yt-fallback a {
  color: var(--accent-primary);
  text-decoration: underline;
}

.yt-fallback a:hover {
  color: var(--accent-secondary);
}

/* --------------------------------------------------------------------------
   Tour Section
   -------------------------------------------------------------------------- */
.tour-section {
  background: var(--bg-primary);
}

/* Facebook post carousel (local JSON fallback) */
.fb-post-carousel {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  max-width: 980px;
  margin: 0 auto 18px;
  position: relative;
}
.fb-post-slide {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 18px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: start;
}
.fb-post-slide img {
  width: 120px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
}
.fb-post-slide .post-body {
  color: var(--text-secondary);
}
.fb-post-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}
.fb-post-controls {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
}
.fb-post-controls button { padding: 6px 10px; }

/* Facebook Page Plugin fallback styling — centered & responsive */
.facebook-feed {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 18px;
}

/* Profile card (improved, centered) */
.fb-profile-card {
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  max-width: 980px;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 10px 30px rgba(2,6,23,0.35);
}
.fb-profile-avatar {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.03);
}
.fb-profile-body {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fb-profile-title {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
}
.fb-profile-sub {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}
.fb-profile-link {
  margin-top: 6px;
  align-self: flex-start;
  padding: 8px 12px;
  border-radius: 999px;
  text-decoration: none;
}

/* Make the profile card stack on small screens and center the CTA */
@media (max-width: 680px) {
  .fb-profile-card {
    flex-direction: column;
    text-align: center;
    padding: 14px;
  }
  .fb-profile-body { align-items: center; }
  .fb-profile-link { align-self: center; }
}

.facebook-feed .fb-page {
  width: 100%;
  max-width: 980px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(0,0,0,0.25);
}
.facebook-feed .fb-page, .facebook-feed .fb-page > span, .facebook-feed .fb-page iframe {
  width: 100% !important;
  max-width: 980px !important;
  box-sizing: border-box;
}
.facebook-feed .fb-page iframe {
  height: 560px !important; /* reasonable default for desktop */
}
@media (max-width: 720px) {
  .facebook-feed .fb-page iframe { height: 460px !important; }
}
@media (max-width: 480px) {
  .facebook-feed .fb-page iframe { height: 380px !important; }
}
/* tour list styles removed — replaced by Facebook feed */

.tour-cta {
  text-align: center;
  margin-top: 40px;
  color: var(--text-secondary);
}

.tour-cta a {
  color: var(--accent-primary);
  font-weight: 500;
}

.tour-cta a:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Support Section
   -------------------------------------------------------------------------- */
.support-section {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 32px;
  text-align: center;
  transition: all var(--transition-base);
}

.support-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.support-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-primary);
}

.support-card h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.support-card p {
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.support-thanks {
  text-align: center;
  margin-top: 40px;
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   Contact Section
   -------------------------------------------------------------------------- */
.contact-section {
  background: var(--bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.contact-info > p {
  color: var(--text-secondary);
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
}

.contact-item svg {
  color: var(--accent-primary);
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  transform: translateY(-2px);
}

.contact-form-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 32px;
}

.contact-form-wrapper h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  background: rgba(255, 255, 255, 0.06);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a8aeb8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-group select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.form-status {
  text-align: center;
  min-height: 24px;
  color: var(--accent-primary);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 48px 0 32px;
}

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

.footer-brand {
  margin-bottom: 24px;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin: 0 auto 12px;
  opacity: 0.8;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 14px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 13px;
}

/* --------------------------------------------------------------------------
   Lightbox
   -------------------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
}

.lightbox:not([hidden]) {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

.lightbox-info {
  text-align: center;
  margin-top: 16px;
}

.lightbox-info h3 {
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.lightbox-info p {
  color: var(--text-secondary);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.5);
  color: var(--text-primary);
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-primary);
}

/* --------------------------------------------------------------------------
   Responsive Styles
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 72px 0;
  }
  
  .site-header {
    padding: 12px 16px;
  }
  
  .nav-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    background: rgba(10, 10, 13, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 16px;
    display: none;
    gap: 4px;
  }
  
  .nav-menu.open {
    display: flex;
  }
  
  .nav-link {
    width: 100%;
    padding: 12px 16px;
    text-align: center;
  }
  
  .hero {
    padding: 100px 16px 60px;
  }
  
  .hero-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-controls {
    bottom: 24px;
  }
  
  .scroll-indicator {
    display: none;
  }
  
  .section-header {
    margin-bottom: 40px;
  }
  
  .track-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .track-item audio {
    width: 100%;
  }
  

  

  
  .support-grid {
    grid-template-columns: 1fr;
  }
  
  .lightbox {
    padding: 20px;
  }
  
  .lightbox-close {
    top: -36px;
    right: 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero {
    padding: 90px 16px 50px;
  }
  
  .hero-lead {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .music-featured,
  .track-list,
  .gallery-preview,
  .video-preview,
  .support-card,
  .contact-form-wrapper {
    padding: 20px;
  }
  
  /* reduce logo on very small screens (doubled from previous) */
  .logo { top: -17px; height: 120px; left: 12px; }

  .footer-links {
    gap: 16px;
  }
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* --------------------------------------------------------------------------
   Reduced Motion
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}
