/*
Theme Name: Luetzel Theme
Author: TseTse
Version: 1.0
Requires at least: 5.0
*/


/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Video im Hintergrund */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

/* dunkler Overlay für bessere Lesbarkeit */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.7),
    rgba(0,0,0,0.4),
    rgba(0,0,0,0.8)
  );
  z-index: -1;
}

/* Navigation */

nav {
  position: fixed;
  top: 40px;
  right: 50px;
  z-index: 10;
}

nav a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  margin-left: 30px;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: 0.4s;
}

nav a:hover {
  color: rgba(255,255,255,1);
}

nav a.active {
  color: white;
  border-bottom: 1px solid white;
}

nav ul {
  list-style: none;
  display: flex;
}

nav li {
  margin-left: 30px;
}

/* Menue-Sections */

.section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(40px);
  transition: all 1s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* zweite Section */
#about {
  background: rgba(0,0,0,0.6);
}

/* dritte Section */
#media {
  background: rgba(0,0,0,0.75);
}

html {
  scroll-behavior: smooth;
}

/* Media Grid + Layout */

.media {
  padding: 100px 40px;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Elemente */
.media-item {
  position: relative;
  overflow: hidden;
}

/* Bilder & Videos */
.media-item img,
.media-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Text */
.media-item.text {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(255,255,255,0.05);
}

.media-title {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 0.8rem;
  opacity: 0.7;
}

.media-item img,
.media-item video {
  transition: transform 0.6s ease;
}

.media-item:hover img,
.media-item:hover video {
  transform: scale(1.05);
}


@media (max-width: 900px) {
  .media-grid {
    grid-template-columns: 1fr;
  }
}



/* Inhalt */
.content {
  width: 100%;
  color: white;
  text-align: center;
}

body {
  font-family: 'Poppins', sans-serif;
}

body.admin-bar nav {
  top: 70px;
}

.scroll {
  position: absolute;
  bottom: 30px;
  font-size: 2rem;
  opacity: 0.6;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

/* Titel */
h1 {
  font-size: 4.5rem;
  letter-spacing: 4px;
  font-weight: 600;
}


/* Untertitel */
p {
  font-size: 1.4rem;
  opacity: 0.7;
  margin-top: 10px;
}

p:hover {
  letter-spacing: 8px;
  transition: 0.5s;
}

.content {
  animation: fadeIn 2s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}