/*
  Stylesheet for DeadSaint Audio website
  Emphasizes a dark, gothic aesthetic with clean typography
*/

/* Global variables */
:root {
  --bg-color: #0a0a0a;
  --bg-secondary: #111111;
  --text-light: #dddddd;
  --text-muted: #999999;
  --accent: #444444;
  --accent-hover: #666666;
  --font-primary: 'Libre Baskerville', serif;
  --font-heading: 'Cinzel', serif;
}

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

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

header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}

.logo {
  width: 280px;
  max-width: 90%;
  margin-bottom: 10px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 4px;
  transition: color 0.3s, border-bottom-color 0.3s;
  border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
  color: var(--text-light);
  border-bottom-color: var(--accent-hover);
}

/* Hero section on home page */
.hero {
  position: relative;
  background-image: url('hero.jpg');
  background-size: cover;
  background-position: center;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

/* Aesthetic overlay card for hero content */
.hero-overlay {
  /* semi-transparent dark background with blur for glass-like effect */
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 50px 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  max-width: 640px;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  margin-bottom: 16px;
  color: #f5f5f5;
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Product hero section */
.product-hero {
  background-color: var(--bg-secondary);
  padding: 80px 10% 60px;
  text-align: center;
}

.product-hero h1 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  margin-bottom: 10px;
  color: var(--text-light);
}

.product-hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
}

/* Sections */
.about,
.product-details,
.product-description {
  padding: 60px 10% 40px;
  text-align: center;
}

.about h2,
.product-details h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 20px;
}

.about p,
.product-description p {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--text-muted);
}

.product-details ul {
  list-style: none;
  max-width: 800px;
  margin: 0 auto 25px;
  text-align: left;
  padding-left: 0;
}

.product-details ul li {
  margin-bottom: 12px;
  line-height: 1.5;
}

.product-details ul li strong {
  color: var(--text-light);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 32px;
  color: var(--text-light);
  background-color: var(--accent);
  border: 1px solid var(--accent-hover);
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  letter-spacing: 1px;
  transition: background-color 0.3s, border-color 0.3s;
}

.btn:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* Contact section */
.contact {
  background-color: #0f0f0f;
  padding: 60px 10% 80px;
  text-align: center;
}

.contact h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1rem;
  color: var(--text-muted);
}

.contact a {
  color: var(--text-light);
  text-decoration: underline;
}

footer {
  background-color: #080808;
  padding: 25px 10%;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Decorative heading style for sections */
.section-title {
  position: relative;
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 24px;
  padding-bottom: 8px;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background-color: var(--accent-hover);
}

.section-title::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 1px;
  height: 12px;
  background-color: var(--accent-hover);
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1rem;
  }
  .product-hero h1 {
    font-size: 2rem;
  }
  nav ul {
    gap: 14px;
  }
  nav a {
    font-size: 0.85rem;
  }
}

img {
  width: 100%;
  height: auto;
  max-width: intrinsic;
  max-width: -moz-fit-content;
  max-width: -webkit-fit-content;
  max-width: fit-content;
  display: block;
}