/* ==========================
   Estilos generales
========================== */

#public-main {
  margin: 0;
  padding: 0;
  background: none;
}

section {
  padding: 80px 20px;
  scroll-margin-top: 80px;
  background: white;
  border-radius: 0;
  box-shadow: none;
}

/* ==========================
   Hero Banner (#home)
========================== */

.home {
  height: 100vh;
  background: url("../img/portadas/PortadajrdevsolutionsTtituloCentrado.png")
    no-repeat center center / cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  text-align: center;
  color: white;
}

.home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  z-index: 0;
}

.home-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  width: 100%;
  padding-top: 40px;
}

.home-content .text-1 {
  font-size: 20px;
  color: #cccccc;
  margin: 20px 0 10px;
  letter-spacing: 1px;
}

.home-content .text-2 {
  font-size: 48px;
  font-weight: bold;
  margin: 0;
  text-transform: uppercase;
  color: white;
  font-family: "Rubik", sans-serif; /* Opcionalmente elegante */
}

.home-content .text-3 {
  font-size: 24px;
  margin: 20px 0;
  color: #cccccc;
}

.home-content .text-3 span.typing {
  color: #00ff9c;
  font-weight: bold;
}

.home-content a {
  display: inline-block;
  background: #00ff9c;
  color: #000;
  padding: 14px 30px;
  font-size: 16px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0, 255, 156, 0.3);
  transition: background 0.3s ease, color 0.3s ease;
}

.home-content a:hover {
  background: #00cc80;
  color: #000;
}

/* ==========================
   Responsive ajustes
========================== */

@media (max-width: 600px) {
  .home-content .text-1 {
    font-size: 16px;
  }

  .home-content .text-2 {
    font-size: 32px;
  }

  .home-content .text-3 {
    font-size: 18px;
  }

  .home-content a {
    padding: 10px 20px;
    font-size: 14px;
  }
}
