/* 
  Sichgart — Modern Dark Metal Design System
  Global tokens, variables, keyframes, and base overrides.
  Component-specific styles live in scoped <style> blocks in each .astro component.
*/

/* =============================================
   DESIGN TOKENS — CSS Custom Properties
   ============================================= */
:root {
  /* Colors */
  --color-bg-dark: #080a0c;
  --color-bg-card: #0e1115;
  --color-bg-section: #0b0d10;
  --color-primary: #ff3b30;
  --color-primary-dark: #9e1a1a;
  --color-primary-muted: rgba(255, 59, 48, 0.15);
  --color-text-white: #ffffff;
  --color-text-dim: rgba(255, 255, 255, 0.5);
  
  --glow-shadow: 0 0 15px rgba(255, 59, 48, 0.6);
  --glow-text: 0 0 8px rgba(255, 59, 48, 0.8);
  
  --glass-bg: rgba(14, 17, 21, 0.75);
  /* Lighter glass tint for the transparent-over-artwork default nav bar */
  --glass-bg-soft: rgba(8, 10, 12, 0.38);
  --glass-border: rgba(255, 255, 255, 0.08);
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  
  --font-display: 'Dosis', "Raleway", "Helvetica Neue", Arial, sans-serif;
  --font-logo: 'Oswald', "Dosis", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

/* Global resets for base body backgrounds to avoid white flashes */
html, body {
  background-color: var(--color-bg-dark) !important;
  color: var(--color-text-white) !important;
  scroll-behavior: smooth;
}

html {
  scroll-padding-top: 5.5rem;
}

/* Custom Scrollbar for dark metal theme */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-dark);
}
::-webkit-scrollbar-thumb {
  background: #1a2228;
  border-radius: 4px;
  border: 1px solid var(--glass-border);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-primary);
  box-shadow: var(--glow-shadow);
}

/* Keyframe animations */
@keyframes zoom {
  0% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1.05, 1.05);
  }
  100% {
    transform: scale(1, 1);
  }
}

/* Preloader styles */
.loader {
  background: var(--color-bg-dark);
  bottom: 0;
  height: 100%;
  left: 0;
  position: fixed;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 10000;
}
.loader-inner {
  left: 0;
  position: absolute;
  top: 50%;
  width: 100%;
  text-align: center;
  transform: translateY(-50%);
}
.loading-spinner {
  width: 6.25rem;
  height: 6.25rem;
  animation: spinner-rotate 2s ease-in-out infinite;
}
.spinner {
  animation: spinner-color 8s ease-in-out infinite, spinner-dash 2s ease-in-out infinite;
  stroke-linecap: round;
  stroke: var(--color-primary);
}

@keyframes spinner-rotate {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes spinner-color {
  0%, 100% {
    stroke: var(--color-primary-dark);
  }
  20% {
    stroke: var(--color-primary);
  }
  40% {
    stroke: var(--color-primary-dark);
  }
  60% {
    stroke: var(--color-primary);
  }
  80% {
    stroke: var(--color-primary-dark);
  }
}
@keyframes spinner-dash {
  0% {
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 200;
    stroke-dashoffset: -35px;
  }
  100% {
    stroke-dasharray: 90, 200;
    stroke-dashoffset: -125px;
  }
}

/* Site wrapper */
.wrapper {
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg-dark);
}

/* Hero section — layout required for slider + navigation */
section.hero {
  padding: 0;
  overflow: hidden;
  position: relative;
  background-color: var(--color-bg-dark);
}

section.hero .header {
  pointer-events: auto;
}

.hero .background-img img {
  display: none;
}

.hero .background-img {
  background-attachment: scroll;
  background-color: #151514;
  background-position: 50% 50% !important;
  background-repeat: no-repeat;
  background-size: cover !important;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero .slider .slides > li {
  position: relative;
}

.hero .hero-content {
  color: var(--color-text-white);
  position: absolute;
  inset: 0;
  z-index: 4;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.hero .hero-content .row {
  height: 100%;
  margin: 0;
}

.hero .hero-content .col-sm-12 {
  height: 100%;
  padding: 0;
}

.hero .inner-hero {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  pointer-events: none;
}

.hero .hero-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0 1.5rem 5.75rem;
  text-align: center;
  pointer-events: none;
}

/* Pagination dots sit at bottom: 4em — keep caption above them */
.hero .main-slider .flex-control-nav {
  bottom: 1.75rem;
  z-index: 6;
}

.hero h1.large {
  font-size: clamp(2rem, 7vw, 4.4rem);
  line-height: 1.2;
  letter-spacing: 0.425rem;
  font-weight: 100;
}

.hero .video-play-but {
  border: 2px solid #ffffff;
  border-radius: 50%;
  /* Flex centering keeps the triangle mathematically centered */
  display: flex;
  align-items: center;
  justify-content: center;
  height: 7.5em;
  width: 7.5em;
  margin: 0;
  position: relative;
  flex-shrink: 0;
  z-index: 5;
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero .video-play-but:after {
  border-color: transparent transparent transparent #ffffff;
  border-style: solid;
  border-width: 17px 0 17px 24px;
  content: "";
  height: 0;
  width: 0;
  /* Optical alignment: nudge the triangle right so it reads as centered */
  transform: translateX(3px);
  transition: all 0.3s ease;
}

.hero .video-play-but:hover {
  border-color: var(--color-primary);
  box-shadow: 0 0 15px var(--color-primary), inset 0 0 15px var(--color-primary);
}

.hero .video-play-but:hover:after {
  border-left-color: var(--color-primary);
  transform: translateX(3px) scale(1.12);
}

/* Premium hero call-to-action button */
.hero .hero-cta {
  display: inline-block;
  margin-top: 1.75rem;
  padding: 0.85rem 2.4rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  background: rgba(8, 10, 12, 0.35);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-decoration: none;
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero .hero-cta:hover,
.hero .hero-cta:focus {
  color: #ffffff;
  border-color: var(--color-primary);
  background: rgba(255, 59, 48, 0.15);
  box-shadow: 0 0 15px rgba(255, 59, 48, 0.6), inset 0 0 12px rgba(255, 59, 48, 0.15);
  text-shadow: 0 0 8px var(--color-primary);
  text-decoration: none;
}

#album,
#discography,
#band,
#gallery,
#contact {
  scroll-margin-top: 5.5rem;
}

/* Search form */
.block-search-form {
  position: fixed;
  background: rgba(8, 10, 12, 0.95);
  backdrop-filter: blur(10px);
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1045;
  overflow: hidden;
  display: none;
}
span.close-search {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}
.block-search-form .block-content {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Back to Top button styling */
.block-top:not(.active) {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  pointer-events: none;
}
.block-top.active:hover {
  transform: translate3d(0, -5px, 0);
  color: var(--color-text-white);
  box-shadow: var(--glow-shadow);
  background: var(--color-primary-dark);
}
.block-top {
  position: fixed;
  width: 3.2rem;
  height: 3.2rem;
  background: var(--color-primary);
  text-align: center;
  right: 2.875rem;
  bottom: 3.6875rem;
  padding-top: .6rem;
  z-index: 100;
  color: var(--color-text-white);
  border-radius: 50%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: var(--transition-smooth);
}
.block-top i {
  font-size: 1.2rem;
}
#google_translate_element {
  display: none; /* Hide the default Google Translate widget (temporary)*/
}