/* Grundreset */
* { box-sizing:border-box; margin:0; padding:0; }
body { font-family:'Lora', serif; background:#f5f5f5; color:#222; }

/* Header */
.site-header {
  position: absolute; top:0; left:0; width:100%; z-index:2000;
  background-color: transparent; color:white;
  padding:1.5rem 2rem; display:flex; justify-content:space-between; align-items:center;
  transition: background-color 0.3s, padding 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  position: fixed;
  background: rgba(0,0,0,0.85); padding:0.75rem 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.25);
}
.site-header nav a { color: rgba(255,255,255,0.8); text-decoration:none; margin-left:1rem; }
.site-header nav a:hover { text-decoration:underline; }

.site-header a {
  color: white;
  text-decoration: none;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - 150px);
  width: 100%;
  background-image: url("danfoto2.JPG");
  background-size: cover;
  background-position: center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 4rem 2rem;
  overflow: hidden;
}

@media (max-width: 768px) {
  .hero {
    min-height: 110vh;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), #222);
  z-index: 1;
}
/* Fade in og op fra 20px under */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hero */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  text-align: center;
  color: white;

  opacity: 0; /* starter skjult */
  animation: fadeInUp 6s ease forwards;
  animation-delay: 1s; /* venter 2 sekunder før animationen starter */
}

.hero blockquote {
  font-size: clamp(1rem,2vw,2rem);
  font-style: italic;
  line-height:1.2;
  opacity: 0;
  animation: fadeInUp 5s ease forwards;
  animation-delay: 1s; /* lidt efter hero-content, fx 0.3s senere */
}

.hero-author {
  color:rgba(255, 255, 255, 0.749);
  margin-top: 0.8rem;
  font-size: 1.3rem;
  opacity: 0;
  animation: fadeInUp 5s ease forwards;
  animation-delay: 4s; /* lidt efter blockquote */
}

.hero-scroll {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.hero-scroll-text {
    font-style: italic;
  font-size: 0.9rem;
  margin-bottom: 5px;
}

.hero-scroll-icon {
  fill: white;
  width: 24px;
  height: 24px;
}

.hero-scroll-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  text-align: center;
  animation: bounce 4s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Hero nyheder */
.hero-news {
  position: absolute;
  bottom: 150px;
  width: 100%;
  max-width: 900px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;

  z-index: 2;
}

@media (max-width: 768px) {
  .hero-news {
    grid-template-columns: 1fr;
    gap: 1rem;
    bottom: 4vh;
    padding: 0 1rem;
  }

  .hero-content {
    margin-bottom: 8rem;
  }
}

.news-card {
  background: transparent; /* ingen baggrund */
  backdrop-filter: none;   /* fjern blur */
  -webkit-backdrop-filter: none;
  border: none;            /* fjern kant */
  padding: 0;              /* valgfrit, så det ikke fylder for meget */
  color: white;            /* sørg for teksten er synlig */
  font-size: 1rem;         /* evt juster størrelse */
  line-height: 1.3;
}

.news-card:hover {
  /*transform: translateY(-3px);*/
  background: rgba(255, 255, 255, 0.01)
}

.news-card h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.news-card .date {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 0.5rem;
}

.news-card p {
  font-size: 0.9rem;
  line-height: 1.3;
}


/* Discography Hero */
#discography-hero {
  position: relative;
  width: 100%;
  min-height: 0;      /* fjern ekstra højde */
  margin: 0;          /* fjern margin */
  padding: 0;         /* ingen padding */
  overflow: hidden;
}

/* Grid med albums */
.albums-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0;          /* ingen margin */
  gap: 0;             /* ingen mellemrum mellem albums */
}

/* Store skærme: 8 i én række */
@media (min-width: 1000px) {
  .album {
    width: 12.5%;      /* 8 albums på en række */
    height: 0;
    padding-bottom: 12.5%; /* kvadratisk */
    position: relative;
    cursor: pointer;
  }
}

/* Mellem/små skærme: 4x4 */
@media (max-width: 999px) {
  .album {
    width: 25%;        /* 4 albums pr. række */
    height: 0;
    padding-bottom: 25%; /* kvadratisk */
    position: relative;
    cursor: pointer;
  }
}

.album img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* Album info fullscreen overlay */
/* Overlay hele skærmen */
.album-info-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(34, 34, 34, 0.95); /* næsten sort */
  backdrop-filter: blur(6px);           /* let glas-effekt */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 5000;
  opacity: 0;
  pointer-events: none;                 /* skjult til start */
  transition: opacity 0.4s ease;
}

/* Når aktiv */
.album-info-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

/* Selve boksen med cover + tekst */
.album-info-box {
  background: #222;
  border-radius: 12px;
  max-width: 900px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  color: white;
  gap: 1rem;
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Når aktiv */
.album-info-box.show {
  transform: translateY(0);
  opacity: 1;
}

/* Cover */
.album-info-cover img {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
}

/* Tekst */
.album-info-text {
  text-align: center;
}

.album-info-text h3 {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.album-info-subtitle {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 0.8rem;
}

.album-info-text p {
  font-size: 1rem;
  line-height: 1.4;
}

/* Close-knap */
.album-info-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.2s;
}

.album-info-close:hover {
  background: rgba(255,255,255,0.25);
  transform: scale(1.2);
}


/* ABOUT ME */

.about-me {
  width: 100vw;                  /* fylder hele bredden */
  padding: 4rem 2rem;            /* indvendig afstand */
  display: flex;
  flex-direction: column;
  gap: 2rem;

  background-image: url('danfoto3.jpg'); /* dit billede */
  background-size: cover;        /* dækker hele området */
  background-position: center;   /* centrer billedet */
  background-repeat: no-repeat;
  color: #f5f5f5;                /* lys tekst til kontrast */
  position: relative;
}

.about-me::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Gradient fra #222 øverst til transparent */
  background: linear-gradient(to bottom, #222 0%, rgba(0,0,0,0.3) 30%, rgba(0,0,0,0) 100%);
  z-index: 1;
}

.about-me .about-content {
  position: relative;
  z-index: 2;                   /* så det ligger over overlayet */
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.about-header {
  flex-wrap: wrap;
}

.about-header h2 {
  font-size: 2rem;
  flex: 1;
}

.about-header img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 10px;
}

.about-text {
  flex-direction: column;
}

.about-text p {
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 0.8rem;
  color: white;
}




/* Footer - Diskret Design */
.music-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.75); /* lidt mørkere og mere transparent */
  backdrop-filter: blur(8px); /* let glas-effekt */
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  z-index: 4000;
  box-shadow: 0 -3px 15px rgba(0,0,0,0.3);
  flex-wrap: wrap;
  font-size: 0.9rem;
}

/* Venstre side: cover + titel */
.footer-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 160px;
}

.footer-left img {
  width: 40px;
  height: 40px;
  border-radius: 5px;
  object-fit: cover;
}

#track-info {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#time-info {
  font-size: 0.75rem;
  opacity: 0.7;
  margin-top: 0.1rem;
}

/* Midtersektion: play/pause + progress bar */
.footer-center {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 180px;
}

.footer-center button {
  background: none;
  border: 1px solid rgba(255,255,255,0.6);
  color: white;
  font-size: 1.2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.footer-center button:hover {
  background: rgba(255,255,255,0.1);
  transform: scale(1.05);
}

/* Progress bar */
.footer-center input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  height: 3px;
  border-radius: 2px;
  background: rgba(255,255,255,0.3);
  transition: background 0.3s;
}

.footer-center input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  transition: transform 0.2s;
}

.footer-center input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Højre side: fx ekstra knapper (ingen volume) */
.footer-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 80px;
  margin-left: 1rem;
}

/* Skjul audio-element */
#footer-audio {
  display: none;
}

/* Mobil: stacked og kompakt */
@media(max-width:600px){
  .music-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.8rem 1.2rem;
    font-size: 0.85rem;
  }

  .footer-center {
    flex-direction: row;
    gap: 0.8rem;
    min-width: auto;
  }

  .footer-right {
    margin-left: 0;
    justify-content: flex-end;
  }

  .footer-left img {
    width: 35px;
    height: 35px;
  }

  .footer-center button {
    width: 36px;
    height: 36px;
  }
}