
/*
Theme Name: COLLINS · Dual Identity
Theme URI: https://gabrielcollins.eu
Author: Gabriel T. Collins
Description: Gabriel T. Collins dual-identity artist theme (Music & Books)
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Text Domain: collins-dual-identity
*/
/* =========================
   Gate – Social Icons
========================= */

.gate-socials {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 22px;
  z-index: 50;
}

.gate-socials a {
  display: inline-flex;
  width: 22px;
  height: 22px;
  opacity: 0.65;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.gate-socials a:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Icons (SVG via CSS Mask – clean & modern) */
.gate-socials span {
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: block;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
}

.icon-instagram {
  mask-image: url('assets/icons/instagram.svg');
}

.icon-youtube {
  mask-image: url('assets/icons/youtube.svg');
}

.icon-mail {
  mask-image: url('assets/icons/mail.svg');
}

/* =========================
   Fade-In on First Load
========================= */

.gate-fade-in {
  opacity: 0;
  animation: gateFadeIn 0.9s ease forwards;
  animation-delay: 0.6s;
}

@keyframes gateFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, 6px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* Mobile Feinschliff */
@media (max-width: 768px) {
  .gate-socials {
    bottom: 22px;
    gap: 18px;
  }
}
/* =========================
   BOOKS PAGE
========================= */

.books-page {
  background: #0b0f1a;
  color: #eaeaf0;
}

.books-hero {
  position: relative;
  height: 90vh;
  background: url('assets/images/books-hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.books-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 14, 30, 0.55);
}

.books-hero-content {
  position: relative;
  text-align: center;
  max-width: 700px;
  padding: 0 20px;
}

.books-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: 0.04em;
}

.books-subline {
  margin-top: 16px;
  opacity: 0.85;
}

.books-cta {
  display: inline-block;
  margin-top: 28px;
  padding: 10px 26px;
  border: 1px solid #eaeaf0;
  text-decoration: none;
  color: inherit;
  transition: background 0.3s ease, color 0.3s ease;
}

.books-cta:hover {
  background: #eaeaf0;
  color: #0b0f1a;
}

.books-intro {
  max-width: 720px;
  margin: 80px auto;
  padding: 0 20px;
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.9;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding: 0 40px 120px;
}

.book-card {
  text-align: center;
}

.book-cover {
  width: 100%;
  aspect-ratio: 2 / 3;
  margin-bottom: 14px;
}

.book-cover.placeholder {
  background: linear-gradient(145deg, #1a1f33, #0f1324);
}

.book-card h3 {
  margin: 8px 0 4px;
  font-size: 1.05rem;
}

.book-card span {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* =========================
   MUSIC PAGE
========================= */

.music-page {
  background: #0a0a0a;
  color: #f0f0f0;
}

.music-hero {
  position: relative;
  height: 85vh;
  background: url('assets/images/music-hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.music-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.music-hero-content {
  position: relative;
  text-align: center;
  max-width: 700px;
  padding: 0 20px;
}

.music-hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  letter-spacing: 0.08em;
}

.music-subline {
  margin-top: 18px;
  opacity: 0.85;
  font-size: 1rem;
}

.music-intro {
  max-width: 720px;
  margin: 80px auto;
  padding: 0 20px;
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.9;
  text-align: center;
}

.music-releases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding: 0 40px 100px;
}

.release-card {
  text-align: center;
}

.release-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin-bottom: 14px;
}

.release-cover.placeholder {
  background: linear-gradient(145deg, #1a1a1a, #0d0d0d);
}

.release-card h3 {
  margin: 8px 0 4px;
  font-size: 1.05rem;
}

.release-card span {
  font-size: 0.85rem;
  opacity: 0.7;
}

.music-player-placeholder {
  padding: 80px 20px 120px;
  text-align: center;
  opacity: 0.5;
  font-size: 0.9rem;
}

/* =========================
   GLOBAL NAVIGATION
========================= */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
}

.main-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 64px;
  padding: 0 32px;
}

.nav-left,
.nav-right {
  display: flex;
  gap: 24px;
}

.nav-left {
  justify-content: flex-end;
}

.nav-right {
  justify-content: flex-start;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.main-nav a:hover {
  opacity: 1;
}

.nav-logo img {
  height: 34px;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

.nav-logo img:hover {
  opacity: 1;
}

/* Abstand für Seiteninhalt */
body {
  padding-top: 64px;
}

/* Mobile */
@media (max-width: 768px) {
  .main-nav {
    padding: 0 18px;
  }

  .nav-left,
  .nav-right {
    gap: 14px;
  }

  .nav-logo img {
    height: 28px;
  }
}

.music-header {
  background: rgba(0, 0, 0, 0.55);
}

.books-header {
  background: rgba(10, 14, 30, 0.55);
}

/* =========================
   MUSIC PLAYER
========================= */

.music-player {
  max-width: 600px;
  margin: 0 auto 120px;
  padding: 0 20px;
  text-align: center;
}

.music-player audio {
  width: 100%;
  margin-bottom: 24px;
}

.playlist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.playlist li {
  padding: 10px 0;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s ease;
}

.playlist li:hover {
  opacity: 1;
}

.playlist li.active {
  opacity: 1;
  font-weight: 500;
}

/* =========================
   WOOCOMMERCE CLEAN STYLE
========================= */

.woocommerce {
  max-width: 960px;
  margin: 0 auto 120px;
}

.woocommerce button,
.woocommerce a.button {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  border-radius: 30px;
  padding: 10px 28px;
}

.woocommerce button:hover,
.woocommerce a.button:hover {
  opacity: 0.85;
}

.woocommerce ul.products li.product {
  text-align: center;
}


/* =========================
   HERO SLIDER
========================= */

.hero-slider {
  position: relative;
  width: 100%;
  height: 80vh;
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-slider .slide.active {
  opacity: 1;
}

/* =========================
   PARALLAX (NOT FIXED!) BACKGROUND SECTIONS
========================= */

.parallax-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* FIXED MUSIC backgrounds */
.music-bg-1 {
  background-image: url('../images/music/bg/bg1.jpg');
}

.music-bg-2 {
  background-image: url('../images/music/bg/bg2.jpg');
}

/* FIXED BOOKS backgrounds */
.books-bg-1 {
  background-image: url('../images/books/bg/bg1.jpg');
}

.books-bg-2 {
  background-image: url('../images/books/bg/bg2.jpg');
}

/* Content blocks above background */
.music-content,
.books-content {
  position: relative;
  background: #000;
  z-index: 2;
  padding: 120px 20px;
}

@media (max-width: 1024px) {
  .fixed-bg {
    background-attachment: scroll;
    height: 50vh;
  }
}

/* HERO SLIDER */
.hero-slider {
  position: relative;
  width: 100%;
  height: 80vh; /* KRITISCH: Ohne Höhe KEIN Bild in Desktop-Browsern */
  overflow: hidden;
}

.hero-slider .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slider .slide.active {
  opacity: 1;
  z-index: 1;
}

/* TEXT OVERLAY */
.slide-link {
  position: absolute;
  inset: 0;
  color: #fff;
  text-decoration: none;
}

.slide-caption {
  position: absolute;
  bottom: 20%;
  left: 8%;
  max-width: 600px;
}

.slide-caption h2 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  margin: 0 0 0.5rem;
}

.slide-caption p {
  font-size: 1.2rem;
  opacity: 0.85;
}
