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

@font-face {
  font-family: 'OccamsEraser';
  src: url('font/Occamseraser-2O0ov.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

body, html {
  font-family: 'OccamsEraser', sans-serif;
  background-color: #1e1e1e;
  color: white;
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Splash Screen */
#splash {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-color: #1e1e1e;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: opacity 1s ease-out;
}

#splash.hidden {
  opacity: 0;
  pointer-events: none;
}

#splash img {
  max-width: 60vw;
  height: auto;
}

@media (max-width: 600px) {
  #splash img {
    max-width: 80vw;
  }
}

/* Navbar */
nav {
  position: sticky;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  z-index: 999;

  /* Glassmorphism Effect */
  background: #1e1e1e6b;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(7.8px);
  -webkit-backdrop-filter: blur(7.8px);
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 3rem;
  width: auto;
  height: auto;
  display: block;
}

.menu {
  position: relative;
  display: flex;
  align-items: center;
}

.menu i.fa-bars {
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
  padding: 10px;
}

.dropdown-toggle {
  background: none;
  border: none;
  color: white;
  font-size: 1rem;
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  background-color: #333;
  border: 1px solid #555;
  margin-top: 10px;
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: white;
  text-decoration: none;
}

.dropdown-menu a:hover {
  background-color: #444;
}

.menu:hover .dropdown-menu {
  display: block;
}

/* Intro Section */
.intro-section {
  background-color: #1e1e1e;
  padding: 60px 25px;
  text-align: center;
}

.intro-section h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.intro-section p {
  font-size: 1.8rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.1;
}

@media (min-width: 768px) {
  .intro-section p {
    font-size: 2rem;
  }
}

@media (min-width: 1024px) {
  .intro-section p {
    font-size: 3rem;
  }
}

@media (max-width: 768px) {
  .intro-section h1 {
    font-size: 2rem;
  }
}

/* Content Sections */
.section {
  height: 40vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  margin: 15px;
  border: 5px solid white;
}
@media (min-width: 768px) {
  .section {
    max-width: 60vw;
    margin: 30px auto;       /* centered with bigger margins */
    width: 100%;
  }
}

.section h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.section p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  max-width: 600px;
}

.section a.button {
  padding: 10px 20px;
  background-color: #ec1b1b;
  color: white;
  font-size: 1.5rem;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.section a.button:hover {
  background-color: #c2185b;
}

/* Section Background Images */
#artists {
  background-image: url('img/1.png');
}

#events {
  background-image: url('img/2.png');
}

#contact {
  background-image: url('img/3.png');
}

/* Responsive Mobile Backgrounds */
@media (max-width: 768px) {
  #artists {
    background-image: url('img/1-mobile.png');
  }

  #events {
    background-image: url('img/2-mobile.png');
  }

  #contact {
    background-image: url('img/3-mobile.png');
  }
}

/* Footer */
footer {
  background-color: #111;
  color: #aaa;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  margin-top: auto;
}


/* ==== ARTISTS LIST (reuses main layout) ==== */

.intro-section.narrow { max-width: 900px; margin: 0 auto; }
.artists-list { padding-bottom: 80px; }

.cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  max-width: 1100px;
  margin: 20px auto 0;
  padding: 0 16px;
}

.artist-card {
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 10px;
  border: 4px solid #fff;
  text-decoration: none;
  color: #fff;
  padding: 14px;
  background: #121212cc;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.artist-card:hover {
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  border-color: #ffffff;
  background: #ec1b1b;
  transition: 500ms;
}
.artist-card .thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #0d0d0d;
  border: 3px solid #fff;
}
.artist-card .thumb img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: contrast(1.05) saturate(.95);
}
.artist-card .name {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  letter-spacing: 1px;
}
.artist-card .tag { color: #aaa; font-size: .95rem; }

/* ==== ARTIST DETAIL "CIRCUIT" ==== */

.artist-shell { position: relative; min-height: calc(100vh - 140px); }

.film-grain{
  position: fixed; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 50% -40%, rgba(255,255,255,.07), transparent 60%);
  mix-blend-mode: lighten; opacity: .25; z-index: -1;
}

/* grid container that holds the boxes (nodes) */
.circuit{
  --gap: 20px;
  max-width: 1200px;
  margin: clamp(8px,3vw,40px) auto 80px;
  padding: clamp(8px,2vw,20px);
  position: relative;

  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: minmax(90px, auto);
}

/* SVG underlay for the “wires” */
.wires{
  position: absolute; inset: 0;
  width: 100%; height: 100%; z-index: 0;
}
.wires path{ fill: none; stroke: #ffffff; stroke-width: 10; stroke-linecap: square; stroke-linejoin: round; }

/* boxes */
.node{
  position: relative; z-index: 1;
  border: 5px solid #fff;
  background: #121212;
  color: #fff; padding: 14px;
}
.node h1{ font-size: clamp(2.2rem, 5vw, 4.2rem); line-height: .9; }
.node h2{ font-size: clamp(1.1rem, 2vw, 1.4rem); margin-bottom:.6rem; letter-spacing:.5px; }
.node .meta{ color:#f2f2f2; opacity:.85; margin-top:.35rem; }

/* biggest one */
.node--photo{
  grid-column: 2 / span 6;
  grid-row: 2 / span 6;
  padding: 0; background:#0d0d0d;
}
.node--photo img{ width:100%; height:100%; object-fit:cover; display:block; }

/* name (top-right) */
.node--name{
  grid-column: 9 / span 3;
  grid-row: 2 / span 2;
  display:flex; flex-direction:column; justify-content:center;
}

/* bio (right middle) */
.node--bio{
  grid-column: 9 / span 3;
  grid-row: 5 / span 3;
  line-height: 1.25;
}

/* links (bottom-left) */
.node--links{
  grid-column: 2 / span 3;
  grid-row: 9 / span 2;
}
.node--links ul{ list-style:none; display:grid; gap:8px; padding-left:0; }
.node--links a{
  color:#fff; text-decoration:none; font-weight:bold;
  border:3px solid #fff; padding:8px 10px; display:inline-block;
  transition: border-color .2s ease, color .2s ease, transform .1s ease;
}
.node--links a:hover{ border-color:#ec1b1b; color:#ec1b1b; transform:translateY(-2px); }

/* responsive */
@media (max-width: 980px){
  .circuit{ grid-template-columns: repeat(8, 1fr); }
  .node--photo{ grid-column: 1 / span 8; grid-row: 2 / span 6; }
  .node--name { grid-column: 1 / span 8; grid-row: 1 / span 1; }
  .node--bio  { grid-column: 1 / span 8; grid-row: 8 / span 3; }
  .node--links{ grid-column: 1 / span 4; grid-row: 11 / span 2; }
}
@media (max-width: 560px){
  .circuit{ grid-template-columns: repeat(4, 1fr); }
  .node--photo{ grid-column: 1 / span 4; grid-row: 2 / span 6;}
  .node--name { grid-column: 1 / span 4; grid-row: 1 / span 1;}
  .node--bio  { grid-column: 1 / span 4; grid-row: 8 / span 4;}
  .node--links{ grid-column: 1 / span 4; grid-row: 12 / span 2;}
}

