/*
  Stylesheet for the Garmsen neural concept website.
  The design draws inspiration from the uploaded key art: dark cosmic colours with
  metallic and crimson accents. Headings use the futuristic Orbitron font, while body
  text uses Inter for readability. Sections feature subtle glows and animations.
*/

:root {
  --primary-bg: #0b0e17; /* deep navy/black */
  --secondary-bg: #13192b; /* dark blue backdrop for sections */
  --panel-bg: #1a2238; /* slightly lighter panel colour */
  --accent: #d64242; /* rich crimson accent for interactive elements */
  --accent-alt: #e89240; /* warm amber for secondary highlights */
  --text-color: #d8d8d8; /* soft off‑white for body copy */
  --font-title: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--primary-bg);
  color: var(--text-color);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Header with the provided image as a full bleed background */
header {
  position: relative;
  height: 100vh;
  background: var(--primary-bg) url('assets/header.png') no-repeat center/cover;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav a {
  font-family: var(--font-title);
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 1px;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--accent);
}

nav a:hover::after {
  width: 100%;
}

/* Tagline below the hero */
.tagline-section {
  background-color: var(--secondary-bg);
  text-align: center;
  padding: 1.5rem 1rem;
  box-shadow: 0 0 20px rgba(214, 66, 66, 0.15);
}

.tagline-section p {
  font-family: var(--font-title);
  color: var(--accent-alt);
  font-size: 1.5rem;
  letter-spacing: 1px;
  text-shadow: 0 0 6px rgba(232, 146, 64, 0.6);
}

section {
  padding: 4rem 2rem;
  opacity: 1;
}

.section-inner {
  max-width: 900px;
  margin: 0 auto;
}

h2 {
  font-family: var(--font-title);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--accent);
  text-transform: uppercase;
}

.subtitle {
  font-family: var(--font-body);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--accent-alt);
}

/* Musik section */
#music {
  background-color: var(--secondary-bg);
}

.player-box {
  background-color: var(--panel-bg);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 0 20px rgba(214, 66, 66, 0.2);
}

.spotify-button {
  display: inline-flex;
  align-items: center;
  margin-top: 1rem;
  padding: 0.6rem 1rem;
  background: var(--accent);
  color: #0f0f0f;
  border-radius: 4px;
  font-weight: bold;
  text-transform: uppercase;
  gap: 0.5rem;
  box-shadow: 0 0 10px rgba(214, 66, 66, 0.6);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.spotify-button svg {
  width: 20px;
  height: 20px;
}

.spotify-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(214, 66, 66, 0.8);
}

/* About section */
#about {
  background-color: var(--secondary-bg);
}

#about .section-inner {
  background: rgba(26, 34, 56, 0.85);
  padding: 2rem;
  border-radius: 8px;
  backdrop-filter: blur(3px);
  box-shadow: 0 0 20px rgba(214, 66, 66, 0.1);
}

#about p {
  font-size: 1rem;
  color: #b5b5c3;
}

/* Socials */
#socials {
  background-color: var(--secondary-bg);
}

.social-icons {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-circle {
  width: 64px;
  height: 64px;
  background-color: var(--panel-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-alt);
  transition: transform 0.3s ease;
  box-shadow: 0 0 10px rgba(232, 146, 64, 0.3);
  animation: pulse 3s infinite;
}

.social-circle:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px rgba(232, 146, 64, 0.8);
}

.social-circle svg {
  width: 32px;
  height: 32px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 10px rgba(232, 146, 64, 0.3);
  }
  50% {
    box-shadow: 0 0 25px rgba(232, 146, 64, 0.8);
  }
  100% {
    box-shadow: 0 0 10px rgba(232, 146, 64, 0.3);
  }
}

/* Kontakt section */
#contact {
  background-color: var(--primary-bg);
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-row .col {
  flex: 1;
}

.form-control {
  padding: 0.7rem;
  background-color: var(--panel-bg);
  border: 2px solid var(--panel-bg);
  border-radius: 4px;
  color: #f5f5f5;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.form-control::placeholder {
  color: #777;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-alt);
  box-shadow: 0 0 10px rgba(232, 146, 64, 0.4);
}

.btn {
  display: inline-block;
  align-self: flex-start;
  padding: 0.7rem 1.5rem;
  background: var(--accent);
  color: #0f0f0f;
  font-family: var(--font-title);
  font-size: 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 0 10px rgba(214, 66, 66, 0.5);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(214, 66, 66, 0.8);
}

.btn-dark {
  background: var(--accent);
  color: #0f0f0f;
}

.btn-lg {
  font-size: 1rem;
  padding: 0.7rem 1.5rem;
}

.btn-block {
  display: inline-block;
}

.social-contact {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.social-contact .social-icon {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: var(--panel-bg);
  border-radius: 4px;
  color: var(--accent-alt);
  text-transform: uppercase;
  font-family: var(--font-title);
  font-size: 0.9rem;
  letter-spacing: 1px;
  box-shadow: 0 0 10px rgba(232, 146, 64, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.social-contact .social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(232, 146, 64, 0.7);
}

footer {
  text-align: center;
  padding: 2rem;
  background-color: var(--primary-bg);
  font-size: 0.8rem;
  color: #666;
}

/* Fade in animation */
.hidden {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  nav ul {
    gap: 1rem;
  }
  .social-icons {
    gap: 1rem;
  }
  .social-circle {
    width: 56px;
    height: 56px;
  }
  .tagline-section p {
    font-size: 1.2rem;
  }
}