/*
Theme Name: DJ Duracell
Theme URI: https://djduracell.com/
Author: DJ Duracell
Description: Individuelles One-Page-Theme für DJ Duracell – Event-DJ für Hochzeiten, Geburtstage, Firmenfeiern und Festivals. Schwarz mit Neon-Blau/Lila/Pink, Glassmorphism, sanfte Scroll-Animationen. Basiert auf Tailwind CSS (CDN) + Vanilla JS, kein Build-Prozess nötig.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: dj-duracell
*/

/* DJ Duracell — custom styles beyond Tailwind utilities */

::selection {
  background: #8A2BE2;
  color: #fff;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  background-color: #0B0B0B;
  font-family: 'Inter', sans-serif;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #0B0B0B;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #00BFFF, #8A2BE2, #FF0080);
  border-radius: 999px;
}

/* Gradient text */
.text-gradient {
  background: linear-gradient(90deg, #00BFFF, #8A2BE2 50%, #FF0080);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Animated gradient background for accents */
.bg-gradient-animated {
  background: linear-gradient(90deg, #00BFFF, #8A2BE2, #FF0080, #8A2BE2, #00BFFF);
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Glassmorphism header */
.glass {
  background: rgba(11, 11, 11, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* Glass card, dezent */
.glass-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Neon glow hover for cards */
.glow-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.glow-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 40px -8px rgba(138, 43, 226, 0.45);
  border-color: rgba(138, 43, 226, 0.5);
}

/* Light beams behind hero */
.light-beams {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.beam {
  position: absolute;
  top: -20%;
  width: 40vw;
  height: 140%;
  filter: blur(40px);
  opacity: 0.25;
  transform-origin: top center;
  animation: sway 10s ease-in-out infinite;
}
.beam-1 {
  left: 5%;
  background: linear-gradient(180deg, #00BFFF, transparent 70%);
  transform: rotate(-18deg);
  animation-delay: 0s;
}
.beam-2 {
  left: 40%;
  background: linear-gradient(180deg, #8A2BE2, transparent 70%);
  transform: rotate(8deg);
  animation-delay: 2s;
}
.beam-3 {
  left: 70%;
  background: linear-gradient(180deg, #FF0080, transparent 70%);
  transform: rotate(-6deg);
  animation-delay: 4s;
}
@keyframes sway {
  0%, 100% { transform: rotate(-18deg) translateX(0); }
  50% { transform: rotate(-10deg) translateX(30px); }
}

/* Floating confetti dots */
.confetti-dot {
  position: absolute;
  border-radius: 999px;
  animation: floatUp 7s ease-in-out infinite;
  opacity: 0.7;
}
@keyframes floatUp {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-24px) scale(1.15); }
}

/* Masonry gallery */
.masonry {
  column-count: 1;
  column-gap: 1rem;
}
@media (min-width: 640px) {
  .masonry { column-count: 2; }
}
@media (min-width: 1024px) {
  .masonry { column-count: 3; }
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}

/* Section heading eyebrow */
.eyebrow {
  letter-spacing: 0.25em;
}

/* Button glow pulse */
.btn-glow {
  box-shadow: 0 0 0 rgba(255, 0, 128, 0);
  transition: box-shadow 0.4s ease, transform 0.3s ease;
}
.btn-glow:hover {
  box-shadow: 0 0 30px rgba(255, 0, 128, 0.55), 0 0 60px rgba(138, 43, 226, 0.35);
  transform: translateY(-2px);
}

/* Lightbox */
#lightbox {
  transition: opacity 0.3s ease;
}
#lightbox.hidden-lightbox {
  opacity: 0;
  pointer-events: none;
}

/* Instagram tile hover */
.insta-tile img {
  transition: transform 0.6s ease, filter 0.4s ease;
}
.insta-tile:hover img {
  transform: scale(1.08);
}
