@import "fonts.css";

/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles: Arx Atrata - Epic Atmospheric Black Metal
   ========================================================================== */

:root {
  --bg-color: #05070a;
  --bg-card: rgba(10, 15, 24, 0.88);
  --text-main: #d1d5db;
  --text-heading: #f3f4f6;
  --accent-blue: hsl(195, 80%, 50%);
  --accent-blue-dark: hsl(201, 80%, 36%);
  --accent-glow: hsla(195, 80%, 50%, 0.3);
  --border-color: hsla(195, 80%, 50%, 0.25);
  --font-heading: 'Leander', serif;
  --font-body: 'EB Garamond', serif;
}

/* Single color scheme regardless of light/dark mode */
html {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.65;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: transparent;
  color: var(--text-main);
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Accessibility: Skip Link & Focus Styles */
.skip-link {
  position: absolute;
  top: -50px;
  left: 0;
  background: var(--accent-blue);
  color: var(--bg-color);
  padding: 0.75rem 1.5rem;
  z-index: 1000;
  font-family: var(--font-heading);
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 3px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.hero h1, .hero p.tagline, .cta-button, nav.main-nav a {
  font-family: var(--font-heading);
}

*, *:before, *:after {
  box-sizing: inherit;
}

/* Background cover art overlay wrapper */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('../img/AA4-cover.jpg') no-repeat center center fixed;
  background-size: cover;
  filter: brightness(0.35) contrast(1.1);

  z-index: -1;
  pointer-events: none;
}

header.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  background: radial-gradient(circle at center, rgba(5,7,10,0.5) 0%, rgba(5,7,10,0.92) 100%);
  border-bottom: 2px solid var(--accent-blue);
  box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.hero-logo img {
  max-width: 280px;
  width: 100%;
  height: auto;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 15px hsla(195, 80%, 50%, 0.6));
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--text-heading);
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 0 20px var(--accent-blue);
}

.hero p.tagline {
  font-size: 1.25rem;
  color: var(--accent-blue);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: 0 0 2rem 0;
}

.cta-button {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: transparent;
  color: var(--accent-blue);
  border: 2px solid var(--accent-blue);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 191, 255, 0.2);
}

.cta-button:hover {
  background: var(--accent-blue);
  color: var(--bg-color);
  box-shadow: 0 0 25px var(--accent-blue);
}

nav.main-nav {
  background: rgba(5, 7, 10, 0.95);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 1rem;
}

nav.main-nav a {
  color: var(--text-main);
  text-decoration: none;
  margin: 0.5rem 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

nav.main-nav a:hover {
  color: var(--accent-blue);
  text-shadow: 0 0 8px var(--accent-blue);
}

main.container {
  max-width: 1050px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

section.content-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

section.content-section h2 {
  color: var(--text-heading);
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-align: center;
}

section.content-section h2::before {
  content: "☾ ";
  font-family: var(--font-body), serif;
  color: var(--accent-blue);
  margin-right: 0.4em;
  font-weight: normal;
}

section.content-section h2::after {
  content: " ☽";
  font-family: var(--font-body), serif;
  color: var(--accent-blue);
  margin-left: 0.4em;
  font-weight: normal;
}

section.content-section h3 {
  color: var(--accent-blue);
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
  text-align: center;
}

section.content-section h3::before {
  content: "☾ ";
  font-family: var(--font-body), serif;
  color: var(--accent-blue);
  margin-right: 0.3em;
  font-weight: normal;
}

section.content-section h3::after {
  content: " ☽";
  font-family: var(--font-body), serif;
  color: var(--accent-blue);
  margin-left: 0.3em;
  font-weight: normal;
}

p {
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.discography-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.album-card {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.album-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 191, 255, 0.3);
  border-color: var(--accent-blue);
}

.album-card img {
  width: 100%;
  height: auto;
  border: 1px solid var(--border-color);
  margin-bottom: 1rem;
}

.album-card h3 {
  margin: 0.75rem 0 0.5rem 0;
  font-size: 1.1rem;
}

.album-card p {
  font-size: 0.85rem;
  color: #9ca3af;
  margin-bottom: 0;
}

ul.reviews-list {
  list-style: none;
  padding: 0;
}

ul.reviews-list li {
  background: rgba(0, 0, 0, 0.4);
  border-left: 3px solid var(--accent-blue);
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  font-style: italic;
  font-size: 0.95rem;
}

ul.reviews-list li strong {
  font-style: normal;
  color: var(--accent-blue);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contact-links a {
  color: var(--accent-blue);
  text-decoration: none;
  border-bottom: 1px dashed var(--accent-blue);
  padding-bottom: 2px;
  transition: all 0.2s ease;
}

.contact-links a:hover {
  color: var(--text-heading);
  border-color: var(--text-heading);
  text-shadow: 0 0 8px var(--accent-blue);
}

footer {
  text-align: center;
  padding: 3rem 1rem;
  background: rgba(2, 4, 6, 0.95);
  border-top: 1px solid var(--border-color);
  color: #6b7280;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
    letter-spacing: 0.15em;
  }
  section.content-section {
    padding: 1.5rem;
  }
  nav.main-nav {
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
  }
  nav.main-nav a {
    margin: 0.25rem 0;
  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

