/* ==========================================================================
   สถานีวิทยุกลุ่มสื่อสารเพื่อการศึกษา FM 103 MHz วัดสำโรงเกียรติ (หลวงพ่อตาตน)
   Design System & Modern Responsive Stylesheet
   ========================================================================== */

:root {
  --primary: #1e3a8a;        /* Deep Royal Navy */
  --primary-dark: #0f172a;   /* Slate 900 */
  --primary-light: #2563eb;  /* Vivid Blue */
  --gold: #d97706;           /* Amber/Buddhist Gold */
  --gold-light: #fbbf24;     /* Bright Gold */
  --gold-dark: #b45309;      /* Deep Gold */
  --gold-soft: #fef3c7;      /* Warm Gold Tint */
  --accent: #059669;         /* Emerald Green (Live) */
  --bg-main: #f8fafc;        /* Soft Off-White */
  --bg-card: #ffffff;
  --text-main: #1e293b;      /* Slate 800 */
  --text-muted: #64748b;     /* Slate 500 */
  --text-light: #f8fafc;
  --border-color: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-heading: 'Prompt', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Sarabun', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.25s ease-in-out;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  padding-bottom: 80px; /* Space for sticky player */
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--gold);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  line-height: 1.35;
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   Header & Top Navigation
   ========================================================================== */
.top-bar {
  background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 100%);
  color: #cbd5e1;
  font-size: 0.875rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.top-bar-info a {
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.top-bar-info a:hover {
  color: var(--gold-light);
}

.top-bar-badge {
  background: rgba(217, 119, 6, 0.25);
  color: var(--gold-light);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

/* Full-Width Top Header Banner */
.site-banner-wrapper {
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 50%, #fef3c7 100%);
  width: 100%;
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.banner-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.site-banner-link {
  display: block;
  width: 100%;
  line-height: 0;
}

.site-banner-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
  object-fit: cover;
}

/* Standalone Sticky Navigation Bar below Banner */
.site-nav-header {
  background: linear-gradient(90deg, #0f172a 0%, #1e3a8a 50%, #0f172a 100%);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--gold);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: #e2e8f0;
  padding: 12px 18px;
  border-radius: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  background: var(--gold-light);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
}

.nav-link.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold-light);
  font-weight: 600;
}

.nav-item-right {
  margin-left: auto;
}

.nav-link.btn-live {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #ffffff;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin: 6px 0;
  box-shadow: 0 2px 10px rgba(217, 119, 6, 0.4);
}

.nav-link.btn-live::after {
  display: none;
}

.nav-link.btn-live:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  transform: translateY(-1px);
}

/* Dynamic Live Dot for Navigation Button */
.nav-live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  background: #ef4444; /* Default red when offline */
  box-shadow: 0 0 6px rgba(239, 68, 68, 0.8);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

/* Green Pulsing Dot when Station is Online */
.nav-live-dot.online {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  animation: navPulseGreen 1.5s infinite;
}

@keyframes navPulseGreen {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

.mobile-nav-brand {
  display: none;
}

/* Mobile Toggle */
.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px 12px;
  color: #ffffff;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(135deg, #091326 0%, #1e293b 60%, #1e3a8a 100%);
  color: #ffffff;
  padding: 60px 0 70px;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../images/wat-samrongkiat.webp') center/cover no-repeat;
  opacity: 0.18;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.hero-text .badge-on-air {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(5, 150, 105, 0.2);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.4);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #10b981;
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-text h1 {
  font-size: 2.5rem;
  color: #ffffff;
  margin-bottom: 14px;
  line-height: 1.25;
}

.hero-text h1 span {
  color: var(--gold-light);
}

.hero-text p {
  font-size: 1.125rem;
  color: #cbd5e1;
  margin-bottom: 24px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

/* Hero Player Card */
.hero-player-box {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.player-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.player-artwork {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  transition: transform 0.3s ease;
}

/* Rotating Wheel/Logo Animation when Playing */
@keyframes spinDharmachakra {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.player-artwork.spinning,
.sticky-thumb.spinning,
.live-logo-wrap img.spinning {
  animation: spinDharmachakra 8s linear infinite;
}

.player-meta h3 {
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 4px;
}

.player-meta p {
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 0;
}

.player-on-air-now {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--gold);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 20px;
}

.on-air-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.on-air-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f1f5f9;
}

.on-air-host {
  font-size: 0.825rem;
  color: #94a3b8;
}

/* Live Stream Stats from Radio Port (JSON API) */
.live-stream-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(255, 255, 255, 0.12);
}

.stream-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.725rem;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.stream-status-pill.online {
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.stream-status-pill.offline {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.stream-status-pill .status-indicator-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}

.stream-status-pill.online .status-indicator-dot {
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.stream-status-pill.offline .status-indicator-dot {
  background: #64748b;
}

.stream-quality-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.725rem;
  color: var(--gold-light);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  font-weight: 600;
}

.live-now-playing-track {
  display: none;
  width: 100%;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: #fef08a;
  background: rgba(254, 240, 138, 0.08);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  margin-top: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-now-playing-track.active {
  display: flex;
}

.sticky-now-playing {
  display: none;
  font-size: 0.725rem;
  color: #fef08a;
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sticky-now-playing.active {
  display: block;
}

/* Audio Controls */
.player-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.play-btn-large {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.5);
  transition: var(--transition);
  flex-shrink: 0;
}

.play-btn-large:hover {
  transform: scale(1.06);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
}

.play-btn-large svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.volume-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.mute-btn {
  background: none;
  border: none;
  color: #cbd5e1;
  cursor: pointer;
  padding: 4px;
}

.volume-slider {
  flex: 1;
  accent-color: var(--gold);
  cursor: pointer;
}

/* Visualizer Bars */
.visualizer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 24px;
  gap: 3px;
  padding: 4px 0;
}

.visualizer-bar {
  flex: 1;
  background: rgba(251, 191, 36, 0.4);
  border-radius: 2px;
  height: 4px;
  transition: height 0.15s ease;
}

.visualizer.playing .visualizer-bar {
  animation: bounceBar 1.2s ease-in-out infinite alternate;
}

.visualizer.playing .visualizer-bar:nth-child(2n) { animation-delay: 0.2s; }
.visualizer.playing .visualizer-bar:nth-child(3n) { animation-delay: 0.4s; }
.visualizer.playing .visualizer-bar:nth-child(4n) { animation-delay: 0.1s; }
.visualizer.playing .visualizer-bar:nth-child(5n) { animation-delay: 0.5s; }

@keyframes bounceBar {
  0% { height: 4px; background: rgba(251, 191, 36, 0.3); }
  50% { height: 22px; background: var(--gold-light); }
  100% { height: 8px; background: var(--gold); }
}

/* App Download Badges */
.app-download-grid {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.app-badge-link img {
  height: 42px;
  width: auto;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.app-badge-link:hover img {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* ==========================================================================
   Sections Layout & Cards
   ========================================================================== */
.section {
  padding: 60px 0;
}

.section-bg-alt {
  background-color: #f1f5f9;
}

.section-title-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-subtitle {
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.section-title {
  font-size: 2rem;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Grid & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.card-img-wrap {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card-img-wrap img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: var(--gold-light);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.card-body {
  padding: 24px;
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.card-text {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

/* Story / Article Section */
.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.story-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 3px solid #ffffff;
}

.story-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.story-content h2 {
  font-size: 1.85rem;
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.story-content p {
  margin-bottom: 16px;
  font-size: 1.025rem;
  color: var(--text-main);
  text-align: justify;
}

/* Highlights Box */
.highlight-pill-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 24px 0;
}

.highlight-pill {
  background: var(--gold-soft);
  border-left: 4px solid var(--gold);
  padding: 12px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.highlight-pill h4 {
  font-size: 0.95rem;
  color: var(--gold-dark);
}

.highlight-pill p {
  font-size: 0.85rem;
  color: var(--text-main);
  margin: 0;
}

/* ==========================================================================
   Schedule Table & List
   ========================================================================== */
.schedule-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  background: var(--bg-card);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.filter-btn-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.filter-btn {
  background: #f1f5f9;
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-main);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--gold);
  color: #ffffff;
  border-color: var(--gold);
}

.search-box {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  min-width: 260px;
}

.search-box input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.9rem;
  margin-left: 8px;
}

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

.schedule-item {
  display: grid;
  grid-template-columns: 140px 1.5fr 1fr 100px;
  align-items: center;
  background: var(--bg-card);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.schedule-item:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow-sm);
}

.schedule-item.is-current {
  background: linear-gradient(90deg, #fffbeb 0%, #ffffff 100%);
  border: 2px solid var(--gold);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.15);
  position: relative;
}

.schedule-item.is-current::before {
  content: 'กำลังออกอากาศ';
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.4);
}

.schedule-time {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.schedule-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
}

.schedule-host {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.schedule-duration {
  font-size: 0.85rem;
  color: var(--gold-dark);
  font-weight: 600;
  text-align: right;
}

/* ==========================================================================
   Gallery Section & Lightbox
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 220px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  background: #000000;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
  opacity: 0.85;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(15, 23, 42, 0.9));
  color: #ffffff;
  padding: 14px 12px 10px;
  font-size: 0.85rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* ==========================================================================
   Contact & Location Box
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 30px;
}

.contact-card {
  background: var(--bg-card);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: var(--gold-soft);
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-text h4 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--primary);
}

.contact-text p, .contact-text a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  height: 100%;
  min-height: 400px;
}

.contact-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Sticky Bottom Audio Player
   ========================================================================== */
.sticky-player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.25);
  z-index: 999;
  display: flex;
  align-items: center;
}

.sticky-player-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 16px;
}

.sticky-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.sticky-thumb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--gold);
}

.sticky-text h4 {
  font-size: 0.9rem;
  color: #ffffff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.sticky-text p {
  font-size: 0.75rem;
  color: var(--gold-light);
  margin: 0;
}

.sticky-center-controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sticky-play-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #ffffff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(217, 119, 6, 0.4);
  transition: var(--transition);
}

.sticky-play-btn:hover {
  transform: scale(1.08);
}

.sticky-play-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.sticky-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sticky-volume {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sticky-volume input {
  width: 90px;
  accent-color: var(--gold);
  cursor: pointer;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--primary-dark);
  color: #94a3b8;
  padding: 60px 0 30px;
  border-top: 3px solid var(--gold);
  font-size: 0.925rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: #ffffff;
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.footer-brand p {
  margin-bottom: 16px;
  line-height: 1.6;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 8px;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #cbd5e1;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-text p {
    margin: 0 auto 24px;
  }
  .hero-actions {
    justify-content: center;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .story-layout {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .schedule-item {
    grid-template-columns: 120px 1fr 90px;
  }
  .schedule-host {
    grid-column: 2 / -1;
    margin-top: 4px;
  }
  .nav-link {
    padding: 10px 12px;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .header-quick-actions {
    display: none;
  }
  .brand-logo {
    width: 48px;
    height: 48px;
  }
  .brand-text h1 {
    font-size: 1.15rem;
  }
  .brand-text p {
    font-size: 0.775rem;
  }
  .site-nav-header {
    padding: 8px 0;
  }
  .site-nav-header .nav-container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative !important;
    width: 100% !important;
    padding: 0 16px !important;
  }
  .nav-menu-wrapper {
    position: static;
    width: auto !important;
  }
  .mobile-nav-brand {
    display: flex !important;
    align-items: center !important;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
  }
  .mobile-nav-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid var(--gold);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
  }
  .mobile-nav-title {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
  }
  .mobile-nav-title strong {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
  }
  .mobile-nav-title span {
    font-size: 0.725rem;
    color: var(--gold-light);
    font-weight: 600;
  }
  .menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    margin-left: auto !important;
    padding: 6px 14px;
    background: rgba(251, 191, 36, 0.22) !important;
    border: 1px solid var(--gold) !important;
    border-radius: var(--radius-full);
    color: #ffffff !important;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    flex-shrink: 0 !important;
    transition: var(--transition);
  }
  .menu-toggle:hover, .menu-toggle:active {
    background: var(--gold) !important;
    color: #0f172a !important;
  }
  .menu-toggle svg {
    width: 18px;
    height: 18px;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #0f172a;
    flex-direction: column;
    padding: 12px 16px 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 3px solid var(--gold);
    display: none;
    z-index: 1000;
  }
  .nav-menu.active {
    display: flex;
  }
  .nav-link {
    width: 100%;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  .nav-link::after {
    display: none;
  }
  .nav-item-right {
    margin-left: 0;
    width: 100%;
  }
  .nav-link.btn-live {
    text-align: center;
    justify-content: center;
    margin-top: 10px;
  }
  .grid-3, .grid-2 {
    grid-template-columns: 1fr;
  }
  .hero {
    padding: 36px 0;
  }
  .hero-text h1 {
    font-size: 1.5rem;
    line-height: 1.3;
    word-break: normal;
  }
  .hero-text h1 span {
    display: block;
    color: var(--gold-light);
    font-size: 1.25rem;
    margin-top: 4px;
  }
  .hero-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .schedule-item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px;
  }
  .schedule-duration {
    text-align: left;
  }
  .sticky-player-bar {
    height: 64px;
    padding: 0 12px;
  }
  .sticky-info {
    min-width: 0;
    flex: 1;
    overflow: hidden;
  }
  .sticky-text h4 {
    max-width: 170px;
    font-size: 0.85rem;
  }
  .sticky-actions a.btn {
    display: none; /* Hide redundant button on mobile to save space */
  }
  .sticky-volume {
    display: none;
  }
  .sticky-play-btn {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 1.4rem;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .mobile-nav-title strong {
    font-size: 0.875rem;
  }
  .sticky-text h4 {
    max-width: 130px;
    font-size: 0.8rem;
  }
}
