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

/* ===== GLOBAL ===== */
body {
  font-family: 'IM Fell English', serif;
  background: #000;
  color: #fff;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'IM Fell English', serif;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 1rem;
}

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

/* ===== HEADER ===== */
header {
  position: relative;
  background: url("../img/wreckagebanner.jpg") no-repeat center center;
  background-size: cover;
  border-bottom: 2px solid #222;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.header-inner {
  position: relative;
  z-index: 1;

  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

#logo img {
  max-height: 200px;
}

/* ===== NAV ===== */
nav {
  background: #0a0a0a;
  border: 2px solid #222;
  padding: 0.8rem 1.5rem;
  font-size: 1.2rem;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

nav a {
  text-decoration: none;
  color: #f4fffd;
  text-transform: capitalize;
  transition: 0.2s;
}

nav a:hover,
.current a {
  color: #888;
}

/* ===== GRID ===== */
.grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.grid2 {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  justify-items: center;
}
.grid3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}
.grid4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* ===== CARD ===== */
.card {
  background: #0a0a0a;
  padding: 1.5rem;
  border: 1px solid #222;
  max-width: 500px;
  text-align: center;

  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(255, 60, 60, 0.3);
}

.card2 {
  margin: 2rem auto;
  background: #0a0a0a;
  padding: 1.5rem;
  border: 1px solid #222;
  max-width: 800px;
}

.card2 img {
  margin: 0 auto;
}

/* ===== TEXT ===== */
.date {
  color: #888;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.card h2 {
  margin-bottom: 1rem;
  color: #f00;
}

.card p {
  margin-bottom: 0.75rem;
}

.card a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #90f;
}
.card2 a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #90f;
  text-align: center;
}

/* ===== MEDIA ===== */
.media {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1rem;
}

.media a {
  display: inline-block;
}

.media img {
  display: block;
  max-width: 300px;
  border: 5px solid #000;
  margin: 0 auto;
  transition: transform 0.2s;
}

.media img:hover {
  transform: scale(1.05);
}

.media p {
  margin-top: 0.5rem;
}
/* ===== LINKS ===== */
a {
  color: #90f;
  transition: 0.2s;
}

a:hover {
  color: #808;
  text-decoration: underline;
  letter-spacing: 1px;
}
/* GRID LAYOUT */
.merch-grid {
    display: grid;
  grid-template-columns: repeat(2, 1fr);  gap: 25px;
  max-height: 150; 
}

/* EACH ITEM = 2 PER ROW */
.item {
  width: calc(50% - 2rem);
  max-width: 300px;
  text-align: center;
}

/* IMAGES */
.item img {
  width: 100%;
  height: auto;
  display: block;
  border: 2px solid #222;
  transition: transform 0.2s;
}

/* HOVER EFFECT */
.item img:hover {
  transform: scale(0.95);
}

/* TEXT UNDER IMAGE */
.item p {
  margin-top: 0.5rem;
}

/* LINK STYLE */
.item a {
  text-decoration: none;
  color: #90f;
}

.item a:hover {
  color: #808;
}

/* 📱 MOBILE: STACK TO 1 COLUMN */
@media (max-width: 600px) {
  .item {
    width: 100%;
  }
}
#releases {
  padding: 40px 0;
  text-align: center;
}

#releases h2 {
  margin-bottom: 30px;
}

/* GRID LAYOUT */
.releases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);  gap: 30px;
}

/* INDIVIDUAL ITEM */
.release {
  display: flex;
  flex-direction: column;
  align-items: center;

}

/* IMAGE */
.release img {
  max-height: 150px;
  width: auto;
  margin-bottom: 10px;
  transition: transform 0.2s ease;
}

.release img:hover {
  transform: scale(1.05);
}

/* LINKS UNDER IMAGE */
.release .links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.release .links a,
.release .links span {
  font-size: 14px;
  text-decoration: none;
  color: #90C;
}

.release .links a:hover {
  color: #808;
}

.release .links span {
  color: #90c;
}
/* layout */
.music-layout {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  margin-top: 20px;
}

/* cover */
.music-cover img {
  max-width: 250px;
  height: auto;
}

/* text */
.music-text {
  flex: 1;
}
.music-text h3 {
  color: #f00;
}

/* links */
.music-links {
  margin-top: 20px;
  display: flex;
  gap: 20px;
}

/* optional: stack on mobile */
@media (max-width: 768px) {
  .music-layout {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .music-links {
    justify-content: center;
  }
}
/* ===== BUTTON ===== */
.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid #ff3c3c;
  color: #ff3c3c;
  text-decoration: none;
  transition: 0.2s;
}

.btn:hover {
  background: #ff3c3c;
  color: #000;
}

/* ===== FOOTER ===== */
footer {
  text-align: center;
  padding: 1rem;
  background: #111;
  border-top: 2px solid #222;
  margin-top: 2rem;
  font-size: 0.9rem;
}

/* ===== UTILITY ===== */
.center {
  text-align: center;
}