/*
Theme Name: Death Metal
Theme URI: https://starter.dev
Description: Generated theme with asymmetric-grid layout
Author: starter workshop
Author URI: https://starter.dev
Version: 1.0.0
*/

/* accessibility & reduced motion */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:focus-visible {
  outline: 2px solid var(--dm-accent);
  outline-offset: 3px;
}

/* css custom properties */

:root {
  color-scheme: dark;
  --dm-bg: rgb(26, 26, 26);
  --dm-surface: #2C2C2C;
  --dm-surface-alt: rgba(255,255,255,0.06);
  --dm-text: rgb(224, 224, 224);
  --dm-text-muted: #E0E0E0;
  --dm-heading: rgb(255, 76, 76);
  --dm-accent: rgb(178, 34, 34);
  --dm-accent-hover: rgb(178, 34, 34);
  --dm-accent-contrast: rgb(26, 26, 26);
  --dm-border: #444444;
  --dm-shadow: 0 8px 24px rgba(0,0,0,0.2);
  --dm-radius-lg: 12px;
  --dm-radius-md: 12px;
  --dm-radius-sm: 12px;
  --dm-transition: 200ms ease;
  font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* base reset */

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

body {
margin: 0;  background: var(--dm-bg);
  color: var(--dm-text);
  min-height: 100vh;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:hover, a:focus-visible { color: var(--dm-heading); }
img { max-width: 100%; display: block; }
::selection { background: #FF4C4C; }

/* background pattern */


/* scrollbar */


/* typography */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Oswald', 'Roboto', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--dm-heading);
margin: 0 0 0.5em;}

h1 { font-size: calc(16px * 1.25 * 1.25 * 1.25); }
h2 { font-size: calc(16px * 1.25 * 1.25); }
h3 { font-size: calc(16px * 1.25); }

/* main content area */

.dm-main {
  display: grid;
  gap: calc(2rem * 1.0);
  margin-top: calc(1.5rem * 1.0);
  padding-bottom: calc(3rem * 1.0);
}

/* section gradient */


/* divider */


/* layout / wrapper */

.dm-wrapper {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: calc(2rem * 1.0);
  max-width: 1200px;
  margin: 0 auto;
padding: calc(2rem * 1.0);}

/* header */

.dm-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(0.5rem * 1.0);
padding: calc(2rem * 1.0) 0;  border-bottom: 1px solid var(--dm-border);
}

.dm-brand {
  display: grid;
  gap: 0.35rem;
}

/* logo styles */

.dm-logo {
  font-weight: 700;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--dm-heading);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dm-tagline {
  font-size: 0.85rem;
  color: var(--dm-text-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* navigation */

.dm-nav {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.dm-nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--dm-transition);
padding: 0.3rem 0;  border-bottom: 2px solid transparent;
}



.dm-nav a:hover,
.dm-nav a:focus-visible {
  box-shadow: 0 0 24px #B2222260;
}

/* hero section */

.dm-hero {
  position: relative;
padding: calc(2.5rem * 1.0);  border-radius: var(--dm-radius-lg);
  border: 1px solid var(--dm-border);
  background: var(--dm-surface);
  background-size: cover;
  background-position: center;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}


.dm-hero h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: calc(0.5rem * 1.0);
}

.dm-hero-subtitle {
  position: relative;
  z-index: 1;
  font-size: 1.1rem;
  color: var(--dm-text-muted);
margin: 0 0 0.75rem;}

.dm-hero-intro {
  position: relative;
  z-index: 1;
  color: var(--dm-text-muted);
  line-height: 1.7;
margin: 0;}

/* card grid layout */

.dm-grid {
  display: grid;
  gap: calc(1rem * 1.0);
}

/* card styles */

.dm-card {
padding: calc(1.25rem * 1.0);  border-radius: var(--dm-radius-lg);
  transition: var(--dm-transition);
  background: var(--dm-bg);
  box-shadow: 8px 8px 16px rgba(0,0,0,0.25), -8px -8px 16px rgba(255,255,255,0.06);
}


/* card accent decoration */

.dm-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: var(--dm-radius-lg);
  right: var(--dm-radius-lg);
  height: 3px;
  background: linear-gradient(90deg, var(--dm-accent), var(--dm-accent-hover));
  border-radius: 0 0 2px 2px;
}
.dm-card { position: relative; overflow: hidden; }

.dm-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.dm-card h3 { font-size: 1.15rem; margin-bottom: 0.35rem; }
.dm-card h3 a { text-decoration: none; }
.dm-card h3 a:hover { color: var(--dm-accent); }
.dm-card p { color: var(--dm-text-muted); font-size: 0.92rem; margin: 0.25rem 0; }
.dm-card dl { display: grid; gap: 0.25rem; margin: 0.5rem 0 0; font-size: 0.88rem; }
.dm-card dl div { display: flex; gap: 0.5rem; }
.dm-card dl dt { color: var(--dm-text-muted); min-width: 5rem; }
.dm-card time { display: block; font-size: 0.8rem; color: var(--dm-text-muted); margin-top: 0.75rem; }

/* filters */

.dm-filters {
  margin-bottom: calc(1.5rem * 1.0);
}

.dm-filter-form {
  display: grid;
  gap: calc(1rem * 1.0);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.dm-filter-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.dm-filter-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dm-text-muted);
}

/* form elements */

input, select, textarea {
  font: inherit;
padding: 0.6rem 0.8rem;  border-radius: var(--dm-radius-sm);
  color: var(--dm-text);
  transition: var(--dm-transition);
  background: transparent;
  border: 1px solid var(--dm-border);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--dm-accent);
  box-shadow: 0 0 0 3px #B2222230;
}

/* buttons */

button, .dm-btn {
  font: inherit;
  cursor: pointer;
padding: 0.6rem 1.2rem;  border-radius: var(--dm-radius-md);
  font-weight: 600;
  transition: var(--dm-transition);
  background: var(--dm-accent);
  color: var(--dm-accent-contrast);
  border: none;
}

button:hover, .dm-btn:hover {
  transform: translateY(-1px);
}

/* footer */

.dm-footer {
  border-top: 1px solid var(--dm-border);
padding: calc(2rem * 1.0) 0;  margin-top: calc(3rem * 1.0);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: calc(1.5rem * 1.0);
  font-size: 0.85rem;
  color: var(--dm-text-muted);
}

.dm_dock-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: calc(1rem * 1.0);
  font-size: 0.85rem;
}

.dm_dock-nav a {
  color: var(--dm-text-muted);
  text-decoration: none;
  transition: var(--dm-transition);
}

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

.dm_dock-nav a + a::before {
  content: '\00B7';
  margin-right: 0.6rem;
  color: var(--dm-border);
}



/* responsive breakpoints */

@media (max-width: 800px) {
  .dm-grid {
    grid-template-columns: 1fr;
  }
  .dm-filter-form {
    grid-template-columns: 1fr;
  }
  .dm-header {
    flex-direction: column;
    text-align: center;
  }
  .dm-nav {
    justify-content: center;
  }
  .dm-hero {
  }
  .dm-wrapper {
    grid-template-columns: 1fr;
  }
}
