/* style.css */

:root {
  /* Colors */
  --bg-primary: #121212;
  --bg-secondary: #1e1e1e;
  --bg-overlay: rgba(0, 0, 0, 0.7);
  --text-primary: #f5f5f5;
  --text-secondary: #a0a0a0;
  --accent: #ff9800; /* Muted Orange */
  --accent-hover: #ffa726;
  --border-color: #333;

  /* Typography */
  --font-heading: "Oswald", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Spacing */
  --spacing-sm: 10px;
  --spacing-md: 20px;
  --spacing-lg: 40px;
  --spacing-xl: 80px;

  /* Transitions */
  --transition-speed: 0.3s;
}

/* --- Global Styles --- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-top: 0;
}

h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 0.5em;
}
h2 {
  font-size: 2.2rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 10px;
  margin-bottom: var(--spacing-lg);
  display: inline-block;
}
h3 {
  font-size: 1.5rem;
  letter-spacing: 2px;
}
h4 {
  font-size: 1.1rem;
  letter-spacing: 1px;
  color: var(--accent);
}

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

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

p {
  margin-bottom: 1.5em;
}

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

section {
  padding: var(--spacing-xl) var(--spacing-md);
  max-width: 1100px;
  margin: 0 auto;
}

/* --- Header & Navigation --- */
header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background-color: rgba(18, 18, 18, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

nav {
  display: flex;
  justify-content: center;
  padding: var(--spacing-md) 0;
}

nav a {
  padding: 10px 25px;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-weight: 600;
  position: relative;
  color: var(--text-secondary);
}

nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 5px;
  left: 50%;
  background-color: var(--accent);
  transition: all var(--transition-speed) ease;
  transform: translateX(-50%);
}

nav a:hover,
nav a:focus {
  color: var(--text-primary);
}

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

/* --- Hero Section --- */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  max-width: none;
  overflow: hidden;
}

.hero img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.6;
  filter: contrast(1.1) brightness(0.8);
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(18, 18, 18, 0.3) 0%,
    rgba(18, 18, 18, 1) 95%
  );
  z-index: -1;
}

.hero-text {
  z-index: 1;
  max-width: 800px;
  padding: var(--spacing-md);
  animation: fadeIn 1.5s ease-out;
}

.hero-text h1 {
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-text p {
  font-size: 1.2rem;
  color: var(--text-primary);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 300;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.bio p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.bio p:first-of-type {
  font-size: 1.2rem;
  color: var(--text-primary);
  font-weight: 400;
}

.members {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.member {
  text-align: center;
  background: var(--bg-secondary);
  padding: var(--spacing-md);
  border-radius: 4px;
  transition: transform var(--transition-speed) ease;
  border: 1px solid var(--border-color);
}

.member:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.member img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 2px;
  margin-bottom: var(--spacing-md);
  filter: grayscale(100%);
  transition: filter var(--transition-speed) ease;
}

.member:hover img {
  filter: grayscale(0%);
}

.member h4 {
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.4;
}

/* --- Music Section --- */
#music {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.tracklist ol {
  list-style: none;
  padding: 0;
  counter-reset: track-counter;
  max-width: 600px;
  margin: 0 auto var(--spacing-lg) auto;
  border: 1px solid var(--border-color);
  background: var(--bg-primary);
}

.tracklist li {
  counter-increment: track-counter;
  padding: 15px 20px 15px 60px;
  position: relative;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.2s;
  font-family: var(--font-heading);
  letter-spacing: 1px;
}

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

.tracklist li::before {
  content: counter(track-counter, decimal-leading-zero);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: bold;
}

.tracklist li:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

iframe {
  margin-top: var(--spacing-lg);
  border-radius: 4px;
}

/* --- Gallery Section --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-sm);
}

.gallery-grid img {
  width: 100%;
  height: 300px; /* Fixed height for uniformity */
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.4s ease, filter 0.4s ease;
  border-radius: 2px;
  filter: brightness(0.8);
}

.gallery-grid img:hover {
  transform: scale(1.02);
  filter: brightness(1.1);
  z-index: 10;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* --- Contact & Footer --- */
#contact {
  text-align: center;
  padding: 100px 20px;
}

.contact-btn {
  display: inline-block;
  margin-top: var(--spacing-md);
  padding: 15px 30px;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  transition: all var(--transition-speed);
}

.contact-btn:hover {
  background-color: var(--accent);
  color: #000;
}

footer {
  text-align: center;
  padding: 40px 20px;
  background-color: #000;
  font-size: 0.8rem;
  color: #666;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 1.8rem;
  }

  .hero {
    height: 80vh; /* Smaller hero on mobile */
  }

  nav {
    flex-wrap: wrap;
  }

  nav a {
    padding: 10px 15px;
    font-size: 0.75rem;
  }

  section {
    padding: var(--spacing-lg) 20px;
  }

  .members {
    gap: var(--spacing-md);
  }
}
