/* ===== HEADER ===== */
.header {
  background-color: var(--bg-light);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
}

.nav a {
  font-weight: bold;
}

.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--theme-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links__item {
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-links__item:hover {
  color: var(--theme-primary);
}

.logo-img {
  display: block;
  width: 32px;
  height: 32px;
  background: url(/logo.webp);
  background-size: contain;
  border-radius: 8px;
}

/* ===== HERO ===== */
.hero {
  padding: 6rem 0 !important;
  min-height:  70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(
    circle at center bottom,
    var(--theme-secondary-light) 0%,
    var(--theme-secondary-medium) 25%,
    var(--theme-secondary) 50%,
    var(--bg-light) 100%
  );
  text-align: center;
}

.hero__title {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  line-height: 1.2;
}

.hero__description {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 750px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* Lava lamp blob styles */
  .hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    mix-blend-mode: multiply;
    animation: float 12s infinite ease-in-out;
    opacity: 0.7;
    background: radial-gradient(
      circle at center,
      rgba(var(--theme-primary-rgb), 0.8) 0%,
      rgba(var(--theme-primary-rgb), 0.4) 50%,
      rgba(var(--theme-primary-rgb), 0.1) 100%
    );
  }

  /* Dark mode adjustments */
  body.dark-mode .hero-blob {
    mix-blend-mode: screen;
    opacity: 0.5;
  }

  /* Individual blob positioning and animations */
  .hero-blob:nth-child(1) {
    width: 400px;
    height: 400px;
    left: -10%;
    top: -20%;
    animation-delay: 0s;
    animation-name: float-1;
  }

  .hero-blob:nth-child(2) {
    width: 300px;
    height: 300px;
    right: -5%;
    top: 10%;

    animation-delay: 3s;
    animation-name: float-2;
  }

  .hero-blob:nth-child(3) {
    width: 350px;
    height: 350px;
    left: 30%;
    bottom: -30%;

    animation-delay: 6s;
    animation-name: float-3;
  }

  .hero-blob:nth-child(4) {
    width: 250px;
    height: 250px;
    right: 20%;
    bottom: -10%;

    animation-delay: 9s;
    animation-name: float-4;
  }

  /* New blobs for the middle of the hero section */
.hero-blob:nth-child(5) {
  width: 320px;
  height: 320px;
  left: 30%;
  top: 10%;
  animation-delay: 2s;
  animation-name: float-5;
}

.hero-blob:nth-child(6) {
  width: 280px;
  height: 280px;
  right: 40%;
  top: 40%;
  animation-delay: 5s;
  animation-name: float-6;
}

  /* Keyframe animations for lava lamp effect */
  @keyframes float-1 {
    0%, 100% {
      transform: translate(0, 0) scale(1) rotate(0deg);
    }
    33% {
      transform: translate(30px, -30px) scale(1.1) rotate(120deg);
    }
    66% {
      transform: translate(-20px, 20px) scale(0.9) rotate(240deg);
    }
  }

  @keyframes float-2 {
    0%, 100% {
      transform: translate(0, 0) scale(1) rotate(0deg);
    }
    33% {
      transform: translate(-30px, -20px) scale(1.15) rotate(-120deg);
    }
    66% {
      transform: translate(30px, 10px) scale(0.95) rotate(-240deg);
    }
  }

  @keyframes float-3 {
    0%, 100% {
      transform: translate(0, 0) scale(1) rotate(0deg);
    }
    33% {
      transform: translate(20px, -40px) scale(0.9) rotate(180deg);
    }
    66% {
      transform: translate(-40px, 20px) scale(1.1) rotate(360deg);
    }
  }

  @keyframes float-4 {
    0%, 100% {
      transform: translate(0, 0) scale(1) rotate(0deg);
    }
    33% {
      transform: translate(-20px, 30px) scale(1.2) rotate(-180deg);
    }
    66% {
      transform: translate(10px, -20px) scale(0.85) rotate(-360deg);
    }
  }

  @keyframes float-5 {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate(40px, -20px) scale(1.05) rotate(90deg);
  }
  66% {
    transform: translate(-30px, 30px) scale(0.95) rotate(270deg);
  }
}

@keyframes float-6 {
  0%, 100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate(-40px, -30px) scale(1.1) rotate(-90deg);
  }
  66% {
    transform: translate(20px, 40px) scale(0.9) rotate(-270deg);
  }
}


  /* Mobile adjustments */
  @media (max-width: 768px) {
    .hero-blob {
      filter: blur(30px);
    }
    
    .hero-blob:nth-child(1) {
      width: 250px;
      height: 250px;
    }
    
    .hero-blob:nth-child(2) {
      width: 200px;
      height: 200px;
    }
    
    .hero-blob:nth-child(3) {
      width: 220px;
      height: 220px;
    }
    
    .hero-blob:nth-child(4) {
      width: 180px;
      height: 180px;
    }
  }

  /* Reduced motion preference */
  @media (prefers-reduced-motion: reduce) {
    .hero-blob {
      animation: none;
    }
  }

/* ===== SECTIONS ===== */
.section {
  padding: 4rem 0;
}

.section__title {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 2.5rem;
  color: var(--text-dark);
}

.section__subtitle {
  font-size: 1.3rem;
  color: var(--text-dark);
  margin-bottom: 1rem;
  text-align: center;
}

.section__content {
  max-width: 800px;
  margin: 0 auto;
  text-align: justify;
}

.section__content p {
  margin-bottom: 1.5rem;
  color: var(--text-light);
  line-height: 1.8;
}

.section__list {
  list-style: none;
  text-align: left;
  max-width: 600px;
  margin: 1.5rem auto;
}

.section__list-item {
  margin-bottom: 0.8rem;
  color: var(--text-light);
  line-height: 1.6;
}

.section__list-item:before {
  content: "→ ";
  color: var(--theme-primary);
  font-weight: 600;
  margin-right: 0.5rem;
}

/* ===== GRID LAYOUTS ===== */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (min-width: 768px) {
  .grid--2-cols {
    grid-template-columns: 1fr 1fr;
  }
  .mobile-menu-btn {
    display: none;
  }
}

/* ===== LIVE SECTION ===== */
.live-section {
  background-color: var(--bg-alt);
}

.live-section__title {
  color: var(--theme-primary);
}

.live-section__buttons {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  justify-content: center;
}

.live-section__buttons .btn {
  margin: 0 0.5rem
}

/* ===== FOOTER ===== */
.footer {
  background-color: var(--bg-alt);
  padding: 2.5rem 0;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer__text {
  color: var(--text-light);
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.footer__link {
  margin: 0 0.5rem;
}

/* ===== MOBILE MENU ===== */
@media (max-width: 767px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    position: absolute;
    top: 75%;
    left: 0;
    right: 0;
    background-color: var(--bg-light);
    box-shadow: var(--shadow);
    border-top: 1px solid var(--border);
  }

  .nav-links--active {
    display: flex;
  }

  .nav-links__item {
    padding: 0.8rem 20px;
    display: block;
  }

  .mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dark);
  }

  .section {
    padding: 2.5rem 0;
  }

  .hero {
    padding: 3rem 0;
  }

  .hero__title {
    font-size: 1.8rem;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

button:focus-visible,
input:focus-visible,
a:focus-visible {
  outline: 2px solid var(--theme-primary);
  outline-offset: 2px;
}