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

body {
  font-family: 'Segoe UI', sans-serif;
  color: #000;
  overflow-x: hidden;
  position: relative;
  background: #000;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transform-origin: top center;
  transition: background 0.4s ease, transform 0.7s ease, opacity 0.4s ease;
  backface-visibility: hidden;
}

header.light-header {
  background-color: rgba(0, 0, 0, 0.4) !important;
}

header.turn-page {
  transform: perspective(800px) rotateX(-90deg);
  opacity: 0;
}


.background-layer {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center;
  z-index: -2;
  opacity: 0;
  transition: opacity 0.8s ease;
  /* smooth fade */
  will-change: opacity;
  backface-visibility: hidden;
}

#bg1 {
  z-index: -2;
}

#bg2 {
  z-index: -1;
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #111;
}

.hero h1 {
  font-size: 4rem;
  /* background: rgba(0, 0, 0, 0.6); */
  padding: 20px 40px;
  border-radius: 10px;
}

.text-section {
  background: #fff;
  color: #111;
  padding: 200px 30px;
  text-align: center;
  z-index: 1;
  position: relative;
}

.text-section h2 {
  font-size: 1.2rem;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  font-weight: bold;
  text-transform: uppercase;
}

.text-section p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: auto;
  line-height: 1.6;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.scroll-arrow {
  font-size: 2.5rem;
  color: #fff;
  opacity: 0.7;
  margin-top: 20px;
  animation: bounce 1.5s infinite;
}

.footer-section {
  background-color: #121212;
}

@keyframes bounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

@media print {
  body {
    display: none !important;
  }
}