@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

@font-face {
  font-family: 'SuperAdorable';
  src: url('/fonts/SuperAdorable-MAvyp.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bright-blue: oklch(51.01% .274 263.83);
  --electric-violet: oklch(53.18% .28 296.97);
  --french-violet: oklch(47.66% .246 305.88);
  --vivid-pink: oklch(69.02% .277 332.77);
  --hot-red: oklch(61.42% .238 15.34);
  --orange-red: oklch(63.32% .24 31.68);
  --gray-900: oklch(19.37% .006 300.98);
  --gray-700: oklch(36.98% .014 302.71);
  --gray-400: oklch(70.9% .015 304.04);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: #1a0224;
}

html::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -9999;
  background: url('/Website_Background.webp') no-repeat center center;
  background-size: cover;
  transform: scale(1.5);
  transform-origin: center center;
  pointer-events: none;
}

body {
  background-color: transparent;
}

html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}



/* Preloader Screen */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #1a0224;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

@keyframes preloader-pulse {

  0%,
  100% {
    transform: scale(0.9);
    opacity: 0.6;
  }

  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* Background Container & Parallax Layers */
.background-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 130lvh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.background-image-global {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 130%;
  z-index: 0;
  background: url('/Website_Background.webp') no-repeat center center;
  background-size: cover;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.background-clouds {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200%;
  z-index: 1;
  background: url('/webseite_clouds.webp') repeat-x top center;
  background-size: cover;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  opacity: 0.8;
}

/* Navbar */
.navbar {
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  height: 120px;
  display: flex;
  align-items: center;
  background: rgba(55, 3, 76, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s ease, height 0.3s ease;
}

.navbar-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}

.navbar-left:hover .navbar-title {
  color: var(--electric-violet);
}

.navbar-left:hover .logo-img {
  transform: scale(1.05);
}

.logo-img {
  margin-top: 1rem;
  height: 70px;
  width: auto;
  display: block;
  transition: transform 0.2s ease;
}

.navbar-title {
  font-family: 'SuperAdorable', 'Comic Sans MS', 'Inter Tight', sans-serif;
  font-size: 4rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.05rem;
  margin-top: 1rem;
  transition: color 0.2s ease;
}

.navbar-right {
  display: flex;
  align-items: center;
  height: 100%;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
}

.navbar-links a {
  text-decoration: none;
  color: #fff;
  font-size: 2rem;
  font-weight: 500;
  font-family: 'SuperAdorable', 'Comic Sans MS', sans-serif;
  transition: color 0.2s;
  cursor: pointer;
}

.navbar-links a.active,
.navbar-links a:hover {
  color: var(--electric-violet);
}

/* Burger Menu Icon (Mobile Only) */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 101;
}

.burger-menu span {
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

/* Mobile Dropdown Menu */
.mobile-dropdown {
  display: none;
  position: fixed;
  top: 80px;
  right: 1.5rem;
  background: rgba(26, 2, 35, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(155, 89, 182, 0.35);
  border-radius: 0.5rem;
  padding: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 10px rgba(155, 89, 182, 0.15);
  z-index: 99;
  transform: translateY(-8px);
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  min-width: 140px;
}

.mobile-dropdown.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-dropdown ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.mobile-dropdown a {
  text-decoration: none;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 500;
  font-family: 'SuperAdorable', 'Comic Sans MS', sans-serif;
  display: block;
  padding: 0.35rem 0.75rem;
  border-radius: 0.25rem;
  transition: all 0.2s ease;
  text-align: right;
}

.mobile-dropdown a.active,
.mobile-dropdown a:hover {
  color: #fff;
  background: rgba(155, 89, 182, 0.25);
  text-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
}

/* Layout Content */
.app-content {
  position: relative;
  z-index: 2;
}

main.main {
  margin-top: 120px;
  padding: 4rem 0 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-container {
  min-height: 100dvh;
  padding: 6rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

#home.section-container {
  padding-top: 2rem;
  justify-content: flex-start;
}

.section-container h2 {
  font-family: 'SuperAdorable', 'Comic Sans MS', sans-serif;
  font-size: 3rem;
  color: #fff;
  margin-bottom: 2rem;
  text-align: center;
}

/* Home Section */
.home-intro {
  width: 100%;
  padding: 2rem 1rem;
  color: #fff;
}

.hero-section {
  text-align: center;
  padding: 4rem 0;
  max-width: 900px;
  margin: 0 auto;
}

.hero-logo {
  margin-bottom: 2rem;
}

.hero-logo img {
  width: 150px;
  height: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.hero-title {
  font-family: 'SuperAdorable', 'Comic Sans MS', sans-serif;
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-tagline {
  font-size: 1.5rem;
  color: var(--electric-violet);
  margin-bottom: 3rem;
  font-weight: 500;
  font-style: italic;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  padding: 1rem 2.5rem;
  border-radius: 2rem;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  display: inline-block;
}

.cta-button.primary {
  background: var(--electric-violet);
  color: #fff;
  box-shadow: 0 4px 16px rgba(155, 89, 182, 0.4);
}

.cta-button.primary:hover {
  background: var(--french-violet);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(155, 89, 182, 0.6);
}

.cta-button.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--electric-violet);
  transform: translateY(-2px);
}

/* Projects Section */
.project-intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.project-description {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  line-height: 1.6;
}

.projects-blocks {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  width: 100%;
  margin: 0 auto;
}

.project-video-section,
.project-images-section {
  width: 100%;
}

.section-container h3 {
  color: var(--electric-violet);
  font-family: 'SuperAdorable', 'Comic Sans MS', sans-serif;
  text-align: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.video-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  background: #000;
}

.video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

.images-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  width: 100%;
}

.image-item {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.image-item:hover {
  transform: scale(1.05);
}

.image-item img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
}

/* Team Section */
.team-members {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.team-member {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-direction: row;
  width: 100%;
  padding: 0 4.5rem;
}

.team-member.reverse {
  flex-direction: row-reverse;
}

.team-member.reverse .member-info {
  align-items: flex-end;
  text-align: right;
}

.member-info {
  flex: 1;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.member-name {
  color: var(--electric-violet);
  font-family: 'SuperAdorable', 'Comic Sans MS', sans-serif;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.member-role {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.member-quote {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  font-style: italic;
  line-height: 1.6;
  margin: 0;
}

.member-image {
  flex: 0 0 300px;
  width: 300px;
  height: 300px;
  overflow: hidden;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}



/* Social Section */
.social-text {
  max-width: 720px;
  margin: 0 auto 3rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
}

.social-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.social-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1.5rem;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 1rem;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
}

.social-link-card:hover {
  transform: translateY(-5px);
}

.social-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 0px rgba(155, 89, 182, 0));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.social-link-card:hover .social-icon img {
  filter: drop-shadow(0 0 12px rgba(155, 89, 182, 1));
  transform: scale(1.1);
}

.social-name {
  font-size: 1.25rem;
  font-weight: 600;
  font-family: 'SuperAdorable', 'Comic Sans MS', sans-serif;
}

/* Footer */
.footer {
  width: 100%;
  text-align: center;
  color: #555;
  background: transparent;
  padding: 2rem 0;
  font-size: .9rem;
  letter-spacing: .05em;
  -webkit-user-select: none;
  user-select: none;
  box-sizing: border-box;
  padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
}

/* Responsive Media Queries */
@media (max-width: 768px) {
  .navbar {
    height: 80px;
  }

  .navbar-content {
    padding: 0.5rem 1.5rem;
  }

  .navbar-left {
    gap: 10px;
  }

  .navbar-title {
    font-size: 2rem;
    margin-top: 0.5rem;
  }

  .logo-img {
    height: 45px;
    margin-top: 0.5rem;
  }

  /* Hide standard nav links */
  .navbar-right {
    display: none;
  }

  /* Show burger menu button */
  .burger-menu {
    display: flex;
  }

  /* Burger Menu open animation states */
  .burger-menu.open span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .burger-menu.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .burger-menu.open span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  main.main {
    margin-top: 80px;
    padding: 4rem 0 0;
  }

  .section-container {
    padding: 4rem 1.5rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-tagline {
    font-size: 1.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .cta-button {
    width: auto;
    min-width: 200px;
    text-align: center;
  }

  .team-member {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    padding: 0;
  }

  .team-member.reverse {
    flex-direction: row-reverse;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
  }

  .team-member .member-info {
    align-items: flex-start;
    text-align: left;
    padding-left: 1.25rem;
    padding-right: 0;
  }

  .team-member.reverse .member-info {
    align-items: flex-end;
    text-align: right;
    padding-right: 1.25rem;
    padding-left: 0;
  }

  .member-image {
    flex: 0 0 240px;
    width: 240px;
    height: 240px;
  }

  .team-members {
    gap: 3rem;
  }

  .images-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    width: 75%;
    margin: 0 auto;
    gap: 1.5rem;
  }

  .background-image-global {
    background-size: cover !important;
    height: 100% !important;
    transform: none !important;
    will-change: auto;
  }

  .background-clouds {
    background-size: 160% auto !important;
    height: 200% !important;
    transform: none !important;
    will-change: auto;
  }
}

@media (max-width: 480px) {
  .navbar {
    height: 70px;
  }

  .mobile-dropdown {
    top: 80px;
    right: 1.5rem;
    left: 1.5rem;
    min-width: 0;
  }

  .navbar-title {
    font-size: 1.5rem;
  }

  .logo-img {
    height: 35px;
  }

  main.main {
    margin-top: 70px;
    padding: 2rem 0 0;
  }
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(20, 2, 28, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 85%;
  max-height: 80%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: #fff;
  font-size: 3.5rem;
  font-weight: 200;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1010;
  transition: color 0.2s, transform 0.2s;
  line-height: 1;
}

.lightbox-close:hover {
  color: var(--electric-violet);
  transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 3rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
  z-index: 1005;
  transition: all 0.2s ease;
}

.lightbox-prev {
  left: 2rem;
  padding-right: 4px;
}

.lightbox-next {
  right: 2rem;
  padding-left: 4px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--electric-violet);
  border-color: var(--electric-violet);
  color: #fff;
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 0 15px rgba(155, 89, 182, 0.5);
}

/* Adjustments for mobile screens */
@media (max-width: 768px) {

  .lightbox-prev,
  .lightbox-next {
    width: 48px;
    height: 48px;
    font-size: 1.75rem;
  }

  .lightbox-prev {
    left: 1rem;
  }

  .lightbox-next {
    right: 1rem;
  }

  .lightbox-close {
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.75rem;
  }
}