/*
Theme Name: SHDW Theme
Theme URI: https://shdwagency.com
Author: Lena
Description: Custom Theme for SHDW AGENCY
Version: 1.0
*/

/* ----------------------- */
/* Hintergrundvideo */
/* ----------------------- */
#background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* ----------------------- */
/* Grundlayout Body */
/* ----------------------- */
body {
  margin: 0;
  overflow: hidden;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #181818;
  color: #EAEAEA;
  font-family: 'Poppins', sans-serif; /* Schriftart Poppins */
}

/* ----------------------- */
/* Logo */
/* ----------------------- */
.logo {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
}

.logo img {
  height: 40px;
}

/* ----------------------- */
/* Interaktive zentrale Fläche */
/* ----------------------- */
.interactive-area {
  position: relative;
  text-align: center;
}

/* Haupt-Überschrift */
.shadow-text {
  font-size: 7.5rem;
  font-family: 'Work Sans', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  text-shadow: 5px 5px 15px rgba(0, 0, 0, 0.7);
  transition: text-shadow 0.1s ease;
}

/* ----------------------- */
/* Navigation / Menü */
/* ----------------------- */
.navbar {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
}

.navbar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  position: relative;
}

.navbar li {
  position: absolute;
  font-size: 2rem;
  font-weight: 400;
  text-transform: uppercase;
}

.navbar li:nth-child(1) {
  top: 0;
  left: 0;
}

.navbar li:nth-child(2) {
  top: 0;
  right: 0;
}

.navbar li:nth-child(3) {
  bottom: 0;
  left: 0;
}

.navbar li:nth-child(4) {
  bottom: 0;
  right: 0;
}

.navbar a {
  text-decoration: none;
  color: #EAEAEA;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #A8A8A8;
}

/* Burger Button (mobil & tablet) */
.burger {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 20;
  display: none; /* standardmäßig versteckt, wird mobil sichtbar */
  flex-direction: column;
  justify-content: space-between;
  padding: 0;
}
.burger span {
  display: block;
  width: 100%;
  height: 4px;
  background-color: #F0F0F0;
  border-radius: 2px;
  transition: all 0.3s ease;
  position: relative;
}
.burger.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 8px;
  position: absolute;
  width: 35px;
}
.burger.open span:nth-child(2) {
  opacity: 0;
}
.burger.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 8px;
  position: absolute;
  width: 35px;
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #181818;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 15;
  margin-top: -5vh;
}
.mobile-nav.open {
  display: flex;
}
.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.mobile-nav li {
  margin: 2rem 0;
}
.mobile-nav a {
  color: #F0F0F0;
  font-size: 1.4rem;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  transition: color 0.3s ease;
}
.mobile-nav a:hover {
  color: #A8A8A8;
}

.mobile-link {
  display: none;
}

/* ----------------------- */
/* Responsive / Tablet & Mobile */
/* ----------------------- */
@media (max-width: 1024px) {
  .shadow-text {
    font-size: 1.5rem;
    line-height: 1.2;
	margin-top: -20%;
  }
	
 /* Burger sichtbar */
  .burger {
    display: flex;
  }
	
  /* Desktop Navigation ausblenden */
  .navbar-static {
    display: none;
  }

  /* Mobile Navigation (wird per JS gesteuert) */
  .mobile-nav {
    display: none;
  }
  .mobile-nav.open {
    display: flex;
  }
	
	.navbar{
		display: none;
	}

  .navbar {
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) !important;
    width: 20rem;     /* max Breite passend zur kleineren Schrift */
    height: 12rem;    /* max Höhe passend zum Text */
    text-align: center;
    margin-top: 0;
  }

  .navbar ul {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
  }

  .navbar li {
    position: absolute !important;
    font-size: 1.25rem;
  }

  .navbar li:nth-child(1) {
    top: 0;
    left: 0;
  }

  .navbar li:nth-child(2) {
    top: 0;
    right: 0;
  }

  .navbar li:nth-child(3) {
    bottom: 0;
    left: 0;
  }

  .navbar li:nth-child(4) {
    bottom: 0;
    right: 0;
  }

  .navbar a {
    display: inline-block;
    padding: 15rem 0rem;  /* normales Padding, kein extremes */
    text-align: center;
    color: #EAEAEA;
    font-size: 1.25rem;
  }

  .navbar a:hover {
    color: #A8A8A8;
  }

  .logo img {
    height: 30px;
  }
}
