/* ============================================
   ST-SAOUL — STYLES.CSS
   Thème ultra-foncé | Design artiste musical
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:ital,wght@0,300;0,400;0,600;1,300&display=swap');

/* ---- VARIABLES ---- */
:root {
  --bg-deep:      #080808;
  --bg-dark:      #0f0f0f;
  --bg-card:      #141414;
  --bg-sidebar:   #0d0d0d;
  --border:       #1e1e1e;
  --accent:       #c8002a;
  --accent-glow:  rgba(200, 0, 42, 0.35);
  --text-primary: #e8e4dc;
  --text-muted:   #ffffff;
  --text-dim:     #3a3632;
  --header-h:     110px;
  --sidebar-w:    290px;
}

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

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

body {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ---- HEADER ---- */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(8, 8, 8, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#site-header img {
  height: 62px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(200, 0, 42, 0.2));
  transition: filter 0.4s ease;
}

#site-header img:hover {
  filter: drop-shadow(0 0 28px rgba(200, 0, 42, 0.5));
}

/* ---- MAIN LAYOUT ---- */
#main-wrapper {
  margin-top: var(--header-h);
}

/* ---- MAP SECTION ---- */
#map-section {
  display: flex;
  max-width: 1200px;
  width: calc(100% - 48px);
  height: auto;
  margin: 40px auto;
  position: relative;
  border-radius: 4px;
  border: 1px solid var(--border);
  overflow: hidden;
  align-items: stretch;
}

#map-image-wrapper {
  flex: 1;
  min-width: 0;
  position: relative;
  overflow: hidden;
}

#map-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  user-select: none;
  pointer-events: none;
  vertical-align: bottom;
}

/* ---- MAP PINS ---- */
.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 28px;
  height: 28px;
  display: block;
  cursor: pointer;
}

#pin-1 { left: 72.5%; top: 40.2%; }
#pin-2 { left: 66.7%; top: 68.8%; }

.pin-dot {
  position: absolute;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  border: 2px solid rgba(255, 100, 100, 0.5);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(200, 0, 42, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  z-index: 2;
}

.pin-ripple {
  position: absolute;
  width: 14px;
  height: 14px;
  background: rgba(200, 0, 42, 0.5);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: pin-pulse 1.8s ease-out infinite;
  z-index: 1;
}

.map-pin:hover .pin-dot,
.map-pin.active-spot .pin-dot {
  transform: translate(-50%, -50%) scale(5);
  background: #d4001f;
  border-color: rgba(255, 220, 220, 0.9);
  box-shadow: 0 0 0 3px rgba(255, 200, 200, 0.4), 0 0 28px rgba(200, 0, 42, 0.9);
}

@keyframes pin-pulse {
  0%   { transform: translate(-50%, -50%) scale(1);   opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(3.5); opacity: 0; }
}

/* ---- SIDEBAR MAP NAV ---- */
#map-sidebar {
  width: var(--sidebar-w);
  background: var(--bg-sidebar);
  border-left: 1px solid var(--border);
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  align-self: stretch;
}

#map-sidebar::-webkit-scrollbar { width: 4px; }
#map-sidebar::-webkit-scrollbar-track { background: var(--bg-deep); }
#map-sidebar::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

.sidebar-header {
  padding: 22px 20px 16px;
  border-bottom: 1px solid var(--border);
}

.sidebar-header h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  text-transform: uppercase;
}

.sidebar-header p {
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.spot-list {
  list-style: none;
  padding: 10px 0;
  flex: 1;
}

.spot-list li {
  border-bottom: 1px solid rgba(30,30,30,0.7);
}

.spot-list li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s, padding-left 0.2s;
  position: relative;
}

.spot-list li a::before {
  content: '';
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 7px var(--accent-glow);
  transition: box-shadow 0.2s;
}

.spot-list li a:hover {
  background: rgba(200, 0, 42, 0.07);
  color: #fff;
  padding-left: 26px;
}

.spot-list li a:hover::before {
  box-shadow: 0 0 14px var(--accent);
}

.spot-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  margin-left: auto;
}

/* ---- ARTIST LANDING ---- */
#artist-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 24px;
  text-align: center;
}

/* Artist intro */
.artist-intro {
  margin-bottom: 60px;
}

.artist-intro h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  letter-spacing: 0.12em;
  line-height: 1;
  color: var(--text-primary);
  text-shadow: 0 0 60px rgba(200, 0, 42, 0.15);
}

.artist-intro .tagline {
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 14px;
}

/* Section titles */
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.2em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.section-title::before,
.section-title::after {
  content: '';
  height: 1px;
  width: 50px;
  background: var(--accent);
}

/* ---- SOCIAL LINKS ---- */
.social-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 60px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 22px;
  border: 1px solid var(--border);
  flex: 0 0 200px;
  width: 200px;
  background: var(--bg-card);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: border-color 0.2s, background 0.2s, color 0.2s, transform 0.15s;
}

.social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

.social-btn img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 3px;
  flex-shrink: 0;
}

.social-btn:hover {
  border-color: var(--accent);
  background: rgba(200, 0, 42, 0.08);
  color: #fff;
  transform: translateY(-2px);
}

.social-btn.spotify  { --icon-c: #1DB954; }
.social-btn.youtube  { --icon-c: #FF0000; }
.social-btn.facebook { --icon-c: #1877F2; }
.social-btn.instagram{ --icon-c: #E1306C; }
.social-btn.tiktok   { --icon-c: #69C9D0; }
.social-btn.soundcloud{ --icon-c: #FF5500; }
.social-btn.apple    { --icon-c: #FA2D48; }
.social-btn.bandcamp { --icon-c: #1DA0C3; }

.social-btn svg { color: var(--icon-c); }

/* ---- EMBEDS ---- */
.embeds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 60px;
}

.embed-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  padding: 0;
}

.embed-block iframe {
  display: block;
  width: 100%;
  border: none;
}

.embed-block.full-width {
  grid-column: 1 / -1;
}

/* ---- MUSIC LISTS ---- */
.music-list-block {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px 28px;
  margin-bottom: 60px;
  text-align: left;
}

.music-list-block h3 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.12em;
  font-size: 1.1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.track-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(30,30,30,0.5);
  transition: background 0.15s;
}

.track-row:last-child { border-bottom: none; }

.track-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.85rem;
  color: var(--text-dim);
  width: 24px;
  text-align: right;
  flex-shrink: 0;
}

.track-name {
  flex: 1;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.track-duration {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

/* ---- DIVIDER ---- */
.section-divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 60px;
}

/* ---- FOOTER ---- */
#site-footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--accent);
  padding: 28px 20px;
  text-align: center;
  font-size: 0.78rem;
  font-weight: bold;
  color: var(--text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

#site-footer span {
  color: var(--text-muted);
}

/* ---- SCROLL FADE-IN ---- */
.fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1248px) {
  #map-section {
    width: calc(100% - 48px);
  }
}

@media (max-width: 820px) {
  :root { --sidebar-w: 220px; }

  #map-section {
    flex-direction: column;
    height: auto;
    width: calc(100% - 32px);
    margin: 20px auto;
  }

  #map-image-wrapper {
    width: 100%;
    flex: none;
  }

  #map-sidebar {
    width: 100%;
    height: auto;
    max-height: 260px;
    border-left: none;
    border-top: 1px solid var(--border);
  }

  #artist-section {
    padding: 60px 20px;
  }
}

@media (max-width: 480px) {
  :root { --header-h: 80px; }

  #map-section {
    width: calc(100% - 24px);
    margin: 16px auto;
  }

  #map-image-wrapper {
    width: 100%;
  }

  #artist-section {
    padding: 48px 16px;
  }

  .social-grid {
    gap: 10px;
  }

  .social-btn {
    flex: 0 0 calc(50% - 5px);
    width: calc(50% - 5px);
    font-size: 0.75rem;
    padding: 10px 12px;
  }

  .section-title {
    font-size: 1.3rem;
  }

  .embeds-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  #map-section {
    flex-direction: column;
    height: auto;
  }

  #google-map {
    height: 55vw;
    min-height: 260px;
  }

  #map-sidebar {
    width: 100%;
    height: auto;
    max-height: 300px;
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .embeds-grid {
    grid-template-columns: 1fr;
  }

  .social-grid { gap: 10px; }
}

.ThaCodingMan {
    padding-top: 10px;
	color: #ffff00 !important;
	text-decoration: none;
}

.ThaCodingMan a {
    padding-top: 20px;
	color: #ffff00 !important;
	text-decoration: none;
}