/* RESET BÁSICO */

html, body {
  min-height: 100vh;
  height: auto;
  overflow-x: hidden;
  overflow-y: auto;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: #121212;
  color: #eee;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

.navbar {
  position: relative;
  z-index: 1;
}
.navbar-navigation {
  display: flex;
}
.navbar-navigation-left {
  width: 50vw;
  height: 100vh;
  background-color: #262626;
  position: fixed;
  left: -50vw;
  transition: all 0.8s;
}
@media (max-width: 500px) {
  .navbar-navigation-left {
    display: none;
  }
}
.navbar-navigation-left .left-img {
  position: absolute;
  width: 50%;
  box-shadow: 0 15px 60px rgba(0, 0, 0, 0.4);
  opacity: 0.7;
  border-radius: 10px;
}
.navbar-navigation-left .left-img-1 {
  top: 15%;
  left: 15%;
}
.navbar-navigation-left .left-img-2 {
  top: 35%;
  left: 25%;
}
.navbar-navigation-left .left-img-3 {
  top: 55%;
  left: 35%;
}
.navbar-navigation-right {
  width: 250px;
  height: auto;
  background-color: transparent;
  position: fixed;
  top: 90px;
  right: -250px;
  transition: all 0.8s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  box-shadow: none !important;
  border: none !important;
  outline: none !important;
}
.navbar-navigation-right ul {
  background: transparent !important;
}




@media (max-width: 500px) {
  .navbar-navigation-right {
    width: 250px;
    right: -250px;
  }
}

.navbar-navigation-right .nav-list-item {
  list-style: none;
}
.navbar-navigation-right .nav-list-link {
  font-family: 'Poppins', sans-serif; /* ← Igual que el resto de la página */
  font-size: 24px; /* más pequeño */
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: capitalize;
  color: #d4af37; /* dorado */
  text-decoration: none;
  display: block;
  margin: 10px;
  text-align: center;
}

@media (max-width: 500px) {
  .navbar-navigation-right .nav-list-link {
    font-size: 30px;
  }
}
.navbar-navigation-right .nav-list-link:hover {
  color: #ffffff;
  letter-spacing: 4px;
}
.navbar .checkbox:checked ~ .navbar-navigation .navbar-navigation-left {
  left: 0;
}
.navbar .checkbox:checked ~ .navbar-navigation .navbar-navigation-right {
  right: 0;
}
.navbar .checkbox:checked ~ .automation-menu .menu {
  transform: rotateZ(90deg);
}
.navbar .checkbox:checked ~ .automation-menu .menu-line-1 {
  transform: rotateZ(-40deg);
  transform-origin: right;
}
.navbar .checkbox:checked ~ .automation-menu .menu-line-2 {
  opacity: 0;
}
.navbar .checkbox:checked ~ .automation-menu .menu-line-3 {
  transform: rotateZ(40deg);
  transform-origin: right;
}

/* HEADER */
header {
  background: #000;
  color: white;
  padding: 0.7rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-container i {
  font-size: 2.4rem;
  color: #d4af37;
}

.logo-text {
  font-size: 2.6rem;
  font-weight: 600;
  color: #ffffff;
  animation: textoDorado 2s ease-in-out forwards;
  letter-spacing: 1px;
}

@keyframes textoDorado {
  0% {
    color: #ffffff;
    transform: scale(0.95);
    opacity: 0;
  }
  50% {
    color: #e8c76f;
    opacity: 0.5;
  }
  100% {
    color: #d4af37;
    transform: scale(1);
    opacity: 1;
  }
}

/* Menú hamburguesa en header */
.automation-menu {
  position: absolute;
  top: 2rem;
  right: 1rem;
  z-index: 10;
}


.menu {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-line {
  height: 3px;
  background-color: #d4af37;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-line-1,
.menu-line-2,
.menu-line-3 {
  width: 100%;
}


/* HERO SECTION */
.hero-gradient {
  flex: 1;
  height: auto !important;
  background: #1c1c1c;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem;
} 



.hero-content {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.animated-title {
  color: #d4af37;
  font-size: 2.2rem;
  font-weight: 600;
  animation: crecerBlanco 2.5s ease-in-out forwards;
}

@keyframes crecerBlanco {
  0% {
    color: #ffffff;
    font-size: 1.6rem;
    opacity: 0;
    transform: scale(0.95);
  }
  50% {
    opacity: 0.5;
  }
  100% {
    color: #d4af37;
    font-size: 2.8rem;
    opacity: 1;
    transform: scale(1);
  }
}

.hero-content p {
  margin-top: 0.5rem;
  font-size: 1.3rem;
  color: #ddd;
  opacity: 0;
  animation: aparecerSuave 2s ease-in forwards;
  animation-delay: 2.2s;
}

@keyframes aparecerSuave {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ICONOS SOCIALES EN FOOTER */
.social-icons {
  margin: 1rem 0;
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

.social-icons a {
  font-size: 1.5rem;
  color: #d4af37;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: #fff;
}

.footer {
  padding: 50px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.footer-header {
  display: flex;
  align-items: center;
  margin-bottom: 70px;
}

.footer .social-media {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 10px;
}

@media (max-width: 500px) {
  .footer .social-media {
    width: 200px;
    margin-bottom: 40px;
  }
}

.footer .social-media-item {
  list-style: none;
}

.footer .social-media-link {
  text-decoration: none;
  font-size: 35px;
  color: #bbb;
  transition: all 0.7s;
}

@media (max-width: 500px) {
  .footer .social-media-link {
    font-size: 25px;
  }
}

.footer .social-media-link:hover {
  color: #d3ab55;
}

.footer-copyright-paragraph {
  font-family: "Josefin Sans", sans-serif;
  font-size: 18px;
  color: #bbb;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: capitalize;
}

@media (max-width: 1000px) {
  .footer-copyright-paragraph {
    font-size: 16px;
    margin: auto;
    text-align: center;
  }
}

@media (max-width: 500px) {
  .footer-copyright-paragraph {
    font-size: 12px;
    margin: auto;
    text-align: center;
  }
}

footer {

  background: #000;
  text-align: center;
  padding: 1rem 0 2.5rem 0;
  font-size: 0.85rem;
  color: #888;
}

/* SECCIONES DE SERVICIOS */
.services-main {
  background-color: #1c1c1c;
  padding: 2rem 1rem;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  color: #d4af37; /* ← dorado */-car
  margin-top: 0rem;   /* Ajusta este valor según lo que necesites */
  margin-bottom: 0rem; /* Puedes reducirlo si hay mucho espacio abajo */
}

.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 4rem;
}

.card {
  background-color: #fff;
  color: #111;
  border-radius: 10px;
  padding: 2rem;
  width: 300px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}
.card:hover {
  transform: translateY(-5px);
}
.card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.card p {
  font-size: 1rem;
  line-height: 1.4;
  color: #333;
}

.benefits-section h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #222;
}
.benefits-list {
  list-style: none;
  padding: 0;
  font-size: 1.1rem;
  color: #333;
}
.benefits-list li {
  margin: 0.5rem 0;
}

.services-section {
  padding: 2rem 1rem;
  text-align: center;
  color: #fff;
}

.cards-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.service-card {
  background: #fff;
  color: #121212;
  border-radius: 10px;
  padding: 1.5rem;
  width: 280px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform 0.3s;
}
.service-card:hover {
  transform: scale(1.05);
}
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 0.95rem;
  
}

/* Por qué elegir SolerAI */
.why-choose {
  margin-top: 3rem;
  margin-bottom: -1rem; /* ✨ Añade o ajusta esto */
  color: #1c1c1c;
}

.why-choose h2 {
  color: #d4af37;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.why-choose ul {
  list-style: none;
  padding: 0;
}

.why-choose li {
  font-size: 1rem;
  line-height: 1.8;
  color: #ffffff; /* blanco */
}

/* FORMULARIO DE CONTACTO */
.contact-form {
  width: 100%;
  max-width: 1400px; /* ← ¡El doble de lo anterior! */
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.contact-form input,
.contact-form textarea,
.contact-form button {
  width: 100%;
  padding: 0.5rem 0rem;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  box-sizing: border-box;
}

.contact-form textarea {
  min-height: 100px;
  resize: vertical;
}

.contact-form button {
  background-color: #d4af37;
  color: #000;
  font-weight: bold;
  transition: background 0.3s ease;
  cursor: pointer;
}

.contact-form button:hover {
  background-color: #b48c26;
}
@media (max-width: 768px) {
  .contact-form {
    max-width: 90%;
  }
}

#form-success {
  text-align: center;
  color: #d4af37;
  font-weight: bold;
  margin-top: 1rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease;
  min-height: 1.5em; /* para que no colapse la altura */
}

/* Checkboxes de privacidad bien alineados SIEMPRE */
.privacidad-check {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: flex-start;
  margin: 0.6em 0 0 0;
  font-size: 1em;
  color: #eee;
}

.privacidad-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #d4af37;
  cursor: pointer;
  margin-right: 8px;
}

.privacidad-check a {
  color: #d4af37;
  text-decoration: underline;
  transition: color 0.2s;
}
.privacidad-check a:hover {
  color: #fff;
}




/* RESPONSIVE */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    gap: 0.8rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .cards-container {
    flex-direction: column;
    align-items: center;
  }

  .menu {
    display: flex;
  }
}
@media (max-width: 768px) {
  /* Reordenar el header */
  header {
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
  }

  .logo-container {
    order: 1;
    justify-content: center;
    margin-bottom: 0.2rem;
  }

  .logo-container i {
    font-size: 2rem;
  }

  .logo-text {
    font-size: 2rem;
  }

  .navbar-navigation {
    order: 2;
    width: 100%;
    justify-content: center;
  }

  .navbar-navigation-right {
    position: static;
    display: flex;
    justify-content: center;
    padding: 0.5rem 0;
  }

  .navbar-navigation-right ul {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
  }

  .navbar-navigation-right .nav-list-item {
    list-style: none;
  }

  .navbar-navigation-right .nav-list-link {
    font-size: 1rem;
    color: #d4af37;
    text-decoration: none;
  }

  /* Oculta hamburguesa solo en móvil */
  .automation-menu,
  .checkbox {
    display: none !important;
  }
  @media (max-width: 768px) {
    .services-section {
      margin-top: 0.5rem !important;
      padding-top: 0.5rem !important;
    }
  
    .section-title {
      margin-top: 0.2rem !important;
      font-size: 1.5rem;
    }
  
    .cards-container {
      gap: 1rem;
    }


}




