/* 
  Waldrick Project Design System
  Color Palette: Black, Dark Blue, Brown
*/

:root {
  /* Colors */
  --bg-black: #05070a;
  --bg-dark-blue: #0a141e;
  --bg-deep-blue: #080c12;
  --accent-blue: #2a4b6c;
  --accent-brown: #4e3b2e;
  --text-main: #d1d1d1;
  --text-muted: #888888;
  --text-bright: #ffffff;
  --glass-bg: rgba(10, 20, 30, 0.7);
  --glass-border: rgba(255, 255, 255, 0.1);

  /* Fonts */
  --font-main: "Outfit", "Lexend", "Quicksand", "Century Gothic", "Futura", sans-serif;
  --font-tech: "Courier Prime", "Courier New", monospace;

  /* Spacing */
  --section-padding: 8rem 2rem;
  --inner-max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-black);
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-black);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Base Headings */
h1, h2, h3 {
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem 2rem;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
}

.nav-brand img {
  height: 30px;
  filter: brightness(0) invert(1);
}

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

.nav-links a {
  text-decoration: none;
  font-family: var(--font-tech);
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
  text-transform: lowercase;
}

.nav-links a:hover {
  color: var(--text-bright);
}

.lang-toggle {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 0.3rem 0.6rem;
  cursor: pointer;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.lang-toggle:hover {
  color: var(--text-bright);
  border-color: var(--text-bright);
}

/* Sections */
section {
  padding: var(--section-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.container {
  width: 100%;
  max-width: var(--inner-max-width);
  margin: 0 auto;
}

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

/* Hero Section */
#hero {
  min-height: 100vh;
  justify-content: center;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(5, 7, 10, 0.4), var(--bg-black));
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 10;
}

.hero-logo {
  max-width: 400px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

.hero-subtitle {
  font-family: var(--font-tech);
  font-size: 1.2rem;
  color: var(--accent-blue);
  opacity: 0.8;
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.about-image img {
  width: 100%;
  border: 1px solid var(--glass-border);
  filter: grayscale(1);
  transition: filter 0.8s ease;
}

.about-image img:hover {
  filter: grayscale(0.5);
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--text-bright);
}

.about-text-content {
  line-height: 2;
  color: var(--text-main);
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

/* Releases Section */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-bright);
}

.section-header p {
  font-family: var(--font-tech);
  color: var(--text-muted);
}

.release-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 4rem;
}

.release-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  transition: border-color 0.4s ease;
}

.release-card:hover {
  border-color: var(--accent-blue);
}

.release-cover {
  position: relative;
  margin-bottom: 1.5rem;
  overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--bg-deep-blue);
}

.cover-link {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.release-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.cover-hint {
  position: absolute;
  bottom: 0px;
  right: 0px;
  background: rgba(0,0,0,0.8);
  color: var(--text-bright);
  font-family: var(--font-tech);
  font-size: 0.7rem;
  padding: 0.3rem 0.6rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cover-link:hover img {
  transform: scale(1.08);
  filter: brightness(1.2);
}

.cover-link:hover .cover-hint {
  transform: translateY(0);
}

.release-info {
  text-align: center;
}

.release-info h3 {
  font-size: 1.2rem;
  color: var(--text-bright);
  margin-bottom: 0.4rem;
}

.release-info .year {
  font-family: var(--font-tech);
  color: var(--accent-blue);
  font-size: 0.85rem;
  display: block;
  margin-bottom: 1.5rem;
}

/* Buttons */
.release-actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.btn-release {
  padding: 0.6rem 1rem;
  font-family: var(--font-tech);
  font-size: 0.8rem;
  text-decoration: none;
  text-transform: uppercase;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-bc { color: #df9e3a; border-color: #df9e3a; }
.btn-bc:hover { background: #df9e3a; color: #000; }

.btn-sp { color: #1ed760; border-color: #1ed760; }
.btn-sp:hover { background: #1ed760; color: #000; }

/* Tracklist */
.tracklist-container {
  background: rgba(0,0,0,0.4);
  text-align: left;
  border-top: 1px solid var(--glass-border);
}

.tracklist-container ul {
  list-style: none;
  padding: 1.2rem;
}

.tracklist-container li {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: var(--text-muted);
}

.tracklist-container li:last-child { border-bottom: none; }

.tracklist-container span.duration {
  font-family: var(--font-tech);
  font-size: 0.75rem;
  color: var(--accent-blue);
}

/* Links Section */
.link-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.btn-link {
  min-width: 180px;
  padding: 1.2rem;
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  text-decoration: none;
  font-family: var(--font-tech);
  text-transform: uppercase;
  font-size: 0.9rem;
  text-align: center;
  transition: all 0.4s ease;
}

.btn-link:hover {
  background: var(--accent-blue);
  color: #fff;
  border-color: var(--accent-blue);
}

/* Footer & Legal */
footer {
  padding: 6rem 2rem;
  border-top: 1px solid var(--glass-border);
  text-align: center;
  background: #000;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-family: var(--font-tech);
  transition: color 0.3s ease;
}

.footer-nav a:hover { color: var(--text-bright); }

.copyright {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.4;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.98);
  z-index: 2000;
  padding: 4rem 2rem;
  overflow-y: auto;
}

.modal-content {
  max-width: 900px;
  margin: 0 auto;
}

.modal-content h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  color: var(--accent-blue);
}

.close-modal {
  position: fixed;
  top: 2rem;
  right: 2rem;
  font-size: 3rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in { animation: fadeIn 1s ease forwards; }

/* Responsiveness */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .section-header h2 { font-size: 2rem; }
}
