/* TedNugent.nl — modern rebuild */
:root {
  --bg: #0c0c0e;
  --bg-2: #141416;
  --card: #1a1a1e;
  --card-2: #202026;
  --line: #2c2c33;
  --text: #f2f0ec;
  --muted: #a9a49c;
  --red: #e02b2b;
  --red-2: #ff5544;
  --gold: #d9a441;
  --radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.65 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--red-2); text-decoration: none; }
a:hover { color: #fff; }

h1, h2, h3, .display {
  font-family: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
  letter-spacing: .04em;
  line-height: 1.1;
  margin: 0 0 .4em;
  font-weight: 400;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.35rem; color: var(--red-2); }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 12, 14, .82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex; align-items: center; gap: 18px;
  max-width: 1100px; margin: 0 auto; padding: 10px 20px;
}
.logo {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.7rem; letter-spacing: .06em; color: #fff;
  white-space: nowrap;
}
.logo .nl { color: var(--red); }
nav.main { margin-left: auto; }
nav.main ul {
  display: flex; gap: 4px; list-style: none; margin: 0; padding: 0;
  flex-wrap: wrap;
}
nav.main a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: var(--muted); font-size: .95rem; font-weight: 500;
}
nav.main a:hover { color: #fff; background: var(--card); }
nav.main a.active { color: #fff; background: var(--red); }
.nav-toggle {
  display: none; margin-left: auto; background: none; border: 1px solid var(--line);
  color: var(--text); font-size: 1.3rem; border-radius: 8px; padding: 4px 12px;
  cursor: pointer;
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  nav.main { display: none; width: 100%; margin: 0; }
  nav.main.open { display: block; }
  nav.main ul { flex-direction: column; padding-bottom: 10px; }
  .site-header .bar { flex-wrap: wrap; }
}

/* Hero */
.hero {
  position: relative;
  background:
    radial-gradient(1200px 500px at 70% -10%, rgba(224, 43, 43, .28), transparent 60%),
    linear-gradient(180deg, #161014 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero .wrap {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px;
  align-items: center; padding: 64px 20px;
}
.hero p.tag {
  color: var(--muted); font-size: 1.1rem; max-width: 46ch; margin: 0 0 1.4em;
}
.hero .photo {
  justify-self: center;
  transform: rotate(2deg);
  background: #fff; padding: 10px 10px 34px;
  box-shadow: var(--shadow);
  border-radius: 4px;
  max-width: 340px;
}
.hero .photo img { display: block; border-radius: 2px; }
.hero .photo figcaption {
  color: #333; font-size: .85rem; text-align: center; margin-top: 10px;
  font-family: "Bebas Neue", sans-serif; letter-spacing: .08em;
}
.accent { color: var(--red); }
@media (max-width: 760px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 40px 20px; }
  .hero .photo { max-width: 260px; }
}

.btn {
  display: inline-block; padding: 11px 22px; border-radius: 10px;
  background: var(--red); color: #fff; font-weight: 600;
  border: none; cursor: pointer; font-size: 1rem;
}
.btn:hover { background: var(--red-2); color: #fff; }
.btn.ghost { background: transparent; border: 1px solid var(--line); color: var(--text); }
.btn.ghost:hover { border-color: var(--red); color: var(--red-2); }
.btn.small { padding: 6px 14px; font-size: .88rem; border-radius: 8px; }
.btn.danger { background: #7a1f1f; }
.btn.danger:hover { background: #a02525; }

/* Sections & cards */
main { padding: 44px 0 70px; }
.section { margin-bottom: 48px; }
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px 28px;
}
.card + .card { margin-top: 18px; }
.kicker {
  font-family: "Bebas Neue", sans-serif; letter-spacing: .14em;
  color: var(--red-2); text-transform: uppercase; font-size: 1rem;
  margin-bottom: 4px;
}
.prose p { margin: 0 0 1em; }
.prose h3 { margin-top: 1.6em; }
.prose ol, .prose ul { margin: 0 0 1em; padding-left: 1.4em; }
.prose li { margin-bottom: .15em; }
.muted { color: var(--muted); }
.center { text-align: center; }

/* News */
.news-item { border-left: 3px solid var(--red); }
.news-item .date {
  font-family: "Bebas Neue", sans-serif; letter-spacing: .08em;
  color: var(--gold); font-size: 1.05rem;
}
.news-item h3 { color: #fff; margin: 2px 0 10px; }

/* Grids */
.grid { display: grid; gap: 18px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid.cols-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 440px) {
  .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; }
}

.tile {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; display: block;
  transition: transform .15s ease, border-color .15s ease;
}
.tile:hover { transform: translateY(-3px); border-color: var(--red); }
.tile img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.tile .label { padding: 10px 14px; }
.tile .label b { display: block; color: #fff; font-weight: 600; font-size: .95rem; }
.tile .label span { color: var(--muted); font-size: .82rem; }

/* CD grid */
.cd-tile img { aspect-ratio: 1; object-fit: contain; background: #000; }

/* Photo grid */
.photo-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.photo-grid a {
  display: block; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--line); background: #000;
}
.photo-grid a:hover { border-color: var(--red); }
.photo-grid img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* Lightbox / modal */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(0, 0, 0, .92);
  align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(92vw, 1000px); max-height: 86vh;
  border-radius: 6px; box-shadow: var(--shadow);
}
.lightbox .lb-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255, 255, 255, .08); color: #fff; border: none;
  font-size: 2rem; padding: 14px 18px; cursor: pointer; border-radius: 10px;
}
.lightbox .lb-btn:hover { background: var(--red); }
.lightbox .prev { left: 14px; }
.lightbox .next { right: 14px; }
.lightbox .close { position: absolute; top: 14px; right: 14px; transform: none; font-size: 1.4rem; }
.lightbox .count {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  color: var(--muted); font-size: .9rem;
}

.modal {
  position: fixed; inset: 0; z-index: 100; display: none;
  background: rgba(0, 0, 0, .8); align-items: center; justify-content: center; padding: 20px;
}
.modal.open { display: flex; }
.modal .inner {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  max-width: 720px; width: 100%; max-height: 88vh; overflow: auto; padding: 28px;
  position: relative;
}
.modal .close-x {
  position: absolute; top: 10px; right: 14px; background: none; border: none;
  color: var(--muted); font-size: 1.6rem; cursor: pointer;
}
.modal .close-x:hover { color: #fff; }
.cd-detail { display: grid; grid-template-columns: 220px 1fr; gap: 24px; }
@media (max-width: 620px) { .cd-detail { grid-template-columns: 1fr; } }

/* Tables */
table.tour { width: 100%; border-collapse: collapse; }
table.tour td, table.tour th {
  padding: 9px 12px; border-bottom: 1px solid var(--line); text-align: left;
}
table.tour tr:hover td { background: var(--card-2); }
table.tour .hdr td {
  font-family: "Bebas Neue", sans-serif; font-size: 1.3rem; color: var(--red-2);
  letter-spacing: .1em; padding-top: 26px; border-bottom: 2px solid var(--red);
}

/* Songteksten */
.song-layout { display: grid; grid-template-columns: 300px 1fr; gap: 22px; align-items: start; }
@media (max-width: 800px) { .song-layout { grid-template-columns: 1fr; } }
.song-list { list-style: none; margin: 0; padding: 0; }
.song-list a {
  display: block; padding: 9px 14px; border-radius: 8px; color: var(--text);
  font-weight: 500; border: 1px solid transparent;
}
.song-list a:hover { background: var(--card-2); }
.song-list a.active { background: var(--red); color: #fff; }
.song-frame {
  width: 100%; min-height: 70vh; border: 1px solid var(--line);
  border-radius: var(--radius); background: #000;
}

/* Links page */
.link-card { display: flex; gap: 18px; align-items: center; }
.link-card img {
  width: 110px; height: 110px; object-fit: cover; border-radius: 8px;
  background: #000; flex-shrink: 0;
}
.link-card .u { word-break: break-all; font-size: .9rem; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line); padding: 30px 0 40px;
  color: var(--muted); font-size: .9rem; background: var(--bg-2);
}
.site-footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--red-2); }

/* Admin */
.admin main { max-width: 900px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
input[type="text"], input[type="password"], input[type="date"], textarea, select {
  width: 100%; background: var(--bg-2); color: var(--text);
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px;
  font: inherit;
}
textarea { min-height: 160px; font-family: ui-monospace, Consolas, monospace; font-size: .88rem; }
textarea:focus, input:focus, select:focus { outline: none; border-color: var(--red); }
.admin-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 22px; }
.admin-tabs button {
  background: var(--card); color: var(--muted); border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 8px; cursor: pointer; font: inherit; font-weight: 600;
}
.admin-tabs button.active { background: var(--red); color: #fff; border-color: var(--red); }
.admin-section { display: none; }
.admin-section.active { display: block; }
.flash {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: #1e4620; color: #c9f0c9; border: 1px solid #2f7032;
  padding: 10px 22px; border-radius: 10px; z-index: 200; display: none;
}
.flash.err { background: #4a1a1a; color: #f2c0c0; border-color: #7a2828; }
.admin-thumbs { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.admin-thumbs .ath { position: relative; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.admin-thumbs .ath.hidden-img { opacity: .35; }
.admin-thumbs img { display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.admin-thumbs .ath button {
  position: absolute; bottom: 6px; right: 6px; font-size: .72rem;
  padding: 3px 8px; border-radius: 6px; border: none; cursor: pointer;
  background: rgba(0, 0, 0, .75); color: #fff;
}
.admin-thumbs .ath button:hover { background: var(--red); }
.spin { text-align: center; color: var(--muted); padding: 30px; }
