:root {
  --primary-green: #2ecc71;
  --primary-green-dark: #27ae60;
  --text-light: #ffffff;
  --text-dark: #333333;
  --summer-orange: #f39c12;
  --summer-yellow: #f1c40f;

  --bg-gradient: linear-gradient(135deg, rgba(243, 156, 18, 0.2) 0%, rgba(241, 196, 15, 0.2) 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-light);
  overflow-x: hidden;
  background-color: #000;
}

/* Fixed Background Layers */
.bg-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease-out;
  pointer-events: none;
}

/* Ensure first background is visible initially */
#bg-muy-light {
  opacity: 1;
}

/* Overlay to improve text readability */
.bg-layer::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* Dark overlay */
}

/* Content Layout */
.content-container {
  position: relative;
  z-index: 10;
}

.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5rem 10%;
  position: relative;
}

/* Hero Section Specifics */
.hero-content {
  text-align: center;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.5);
  padding: 3rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.logo {
  max-width: 150px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
}

.main-title {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  font-size: 4rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.description {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  font-weight: 500;
}

/* Buttons */
.download-btn {
  display: inline-block;
  background-color: var(--primary-green);
  color: var(--text-light);
  padding: 1rem 2.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.download-btn:hover {
  background-color: var(--primary-green-dark);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 20px rgba(46, 204, 113, 0.6);
}

/* Side by Side Sections */
.side-by-side {
  display: flex;
  gap: 4rem;
  justify-content: space-between;
}

.side-by-side.reverse {
  flex-direction: row-reverse;
}

.text-content {
  flex: 1;
  background: rgba(0, 0, 0, 0.6);
  padding: 3rem;
  border-radius: 20px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.text-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--summer-yellow);
  font-family: 'Roboto', sans-serif;
}

.text-content p {
  font-size: 1.15rem;
  line-height: 1.8;
}

.image-content {
  flex: 1.4;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px;
}

.pan-image {
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transition: transform 0.5s ease-out;
  transform-style: preserve-3d;
}

.pan-image:hover {
  transform: scale(1.05) rotateY(10deg) rotateX(5deg);
}

/* Footer Section */
.footer-content {
  text-align: center;
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.1), rgba(243, 156, 18, 0.1));
  padding: 4rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-family: 'Roboto', sans-serif;
}

.credits {
  margin-top: 3rem;
  font-size: 1.2rem;
  opacity: 0.8;
}

.author {
  font-weight: 700;
  color: var(--summer-orange);
  letter-spacing: 2px;
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.in-view {
  opacity: 1 !important;
  transform: translate(0, 0) !important;
}

/* Responsive */
@media (max-width: 900px) {

  .side-by-side,
  .side-by-side.reverse {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .main-title {
    font-size: 3rem;
  }

  .section {
    padding: 3rem 5%;
  }

  .text-content {
    order: 1;
    padding: 2rem;
  }

  .image-content {
    order: 2;
  }
}

@media (max-width: 600px) {
  .main-title {
    font-size: 2.2rem;
  }

  .description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .text-content {
    padding: 1.5rem;
  }

  .text-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
  }

  .text-content p {
    font-size: 1rem;
  }

  .download-btn {
    padding: 0.8rem 1.8rem;
    font-size: 1.1rem;
  }
}