@import url("https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400..700&family=Roboto:ital,wght@0,100..900;1,100..900&family=Sofia&family=Trocchi&display=swap");

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  background: url(../images/background.png) center / cover no-repeat fixed;;
  color: white;
    position: relative;
    z-index: 0;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
    pointer-events: none;
}

/* NAVBAR SUPERIOR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: black;
  color: white;
  padding: 10px 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  z-index: 9999;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-navbar {
  height: 200px; /* antes 50px */
  object-fit: contain;
}

.redes a {
  margin-right: 10px;
  font-size: 30px; /* aumentá tamaño */
  color: white;
  text-decoration: none;
}

.redes a:hover {
  color: #059e3d;
}
.navbar-menu {
  display: flex;
  align-items: center;
  transition: all 0.3s ease-in-out;
}

.navbar-menu button {
  background: none;
  border: none;
  color: white;
  font-family: "Roboto", sans-serif;
  margin-left: 15px;
  font-size: 18px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.navbar-menu button:hover {
  color: #059e3d;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background: none;
  border: none;
  color: white;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  cursor: pointer;
  margin-left: 15px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropbtn:hover {
  color: #25d366;
}

.flecha {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.dropdown:hover .flecha {
  transform: rotate(180deg);
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #1f1f1f;
  min-width: 180px;
  box-shadow: 0px 6px 12px rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  overflow: hidden;
  z-index: 10000;
  top: 110%;
}

.dropdown-content a {
  color: white;
  padding: 12px 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  transition: background-color 0.2s, color 0.2s;
}

.dropdown-content a:hover {
  background-color: #2b2b2b;
  color: #059e3d;
}

.dropdown:hover .dropdown-content {
  display: block;
}

/* BOTÓN HAMBURGUESA (oculto en desktop) */
.hamburguesa {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 26px;
  cursor: pointer;
  z-index: 10001;
  margin-left: auto;
}

/* MENÚ NAVBAR EN MÓVIL */
@media screen and (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    height: auto;
    padding: 10px;
  }

  .navbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .hamburguesa {
    display: block;
  }

  .navbar-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    background-color: #000;
    padding: 10px 0;
    transition: all 0.3s ease-in-out;
  }

  .navbar-menu.abierto {
    display: flex;
  }

  .navbar-menu button,
  .dropdown .dropbtn {
    text-align: left;
    width: 100%;
    padding: 12px 16px;
    border-top: 1px solid #222;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    border-radius: 0;
  }

  .pantalla {
    margin-top: 130px;
    padding: 30px;
  }

  .logo-navbar {
    height: 80px;
  }
}

.pantalla {
  margin-top: 80px;
  padding: 50px;
}

h1,
h2,
h3 {
  text-align: center;
  color: #059e3d;
  font-family: "Roboto", sans-serif;
}
h2,
h3 {
  text-align: left;
}

h2 {
  margin-left: 10px;
}

p {
  font-family: "Roboto";
  text-align: left;
  margin: 20px;
}

.seccion {
  transition: opacity 0.3s ease;
}

button {
  display: block;
  width: 100%;
  height: 40px;
  background-color: #059e3d;
  border: 0;
  font-family: "Roboto";
  font-weight: 500;
  color: white;
}

.menu-lateral {
  width: 10%;
  background-color: dimgrey;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  margin-right: 10px;
  z-index: 1000; /* MAYOR que el botón hamburguesa */
}

.Logo {
  height: 80px;
  background-image: url("/images/");
}

.contenedor {
  width: 100%; /* Puedes ajustar el ancho según tus necesidades */
  height: 80px; /* Y la altura */
  background-image: url("images/LogoON.jpg");
  background-size: cover;
  background-position: center;
}

.contenedor img {
  width: 100%; /* Asegúrate de que la imagen ocupe todo el espacio del div */
  height: 100%;
  object-fit: contain; /* O object-fit: contain; */
}

.btn-seguimiento {
  display: inline-block;
  padding: 12px 20px;
  background-color: #059e3d;
  color: white;
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-seguimiento:hover {
  background-color: darkgreen;
}

.form-contacto {
  max-width: 600px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-family: "Roboto", sans-serif;
}

.form-contacto label {
  font-weight: bold;
}

.form-contacto input,
.form-contacto textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: "Roboto", sans-serif;
}

.form-contacto button {
  padding: 12px;
  background-color: #059e3d;
  color: white;
  border: none;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.form-contacto button:hover {
  background-color: darkgreen;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  padding: 20px;
}

.galeria img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.galeria img:hover {
  transform: scale(1.05);
}

.lista-servicios {
  list-style: none;
  padding: 0 20px;
  font-family: "Roboto", sans-serif;
}

.lista-servicios li {
  margin-bottom: 10px;
  font-size: 16px;
  position: relative;
  padding-left: 25px;
}

.contenedor-productos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.producto-card {
  background-color: #3c3c4086;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  text-align: center;
  transition: transform 0.2s;
}

.producto-card:hover {
  transform: scale(1.02);
}

.producto-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.producto-card h3 {
  margin: 10px 0;
  font-size: 18px;
  color: #059e3d;
}

.btn-wsp {
  display: inline-block;
  padding: 10px 15px;
  background-color: #25d366;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-family: "Roboto", sans-serif;
  transition: background-color 0.3s ease;
}

.btn-wsp:hover {
  background-color: #1ebe57;
}

.btn-catalogo {
  display: inline-block;
  padding: 12px 20px;
  background-color: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-family: "Roboto", sans-serif;
  transition: background-color 0.3s ease;
}

.btn-catalogo:hover {
  background-color: #0056b3;
}

.sistema-card {
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  margin: 20px;
  background-color: #3c3c4086;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.sistema-card h3 {
  color: #059e3d;
  margin-bottom: 10px;
}

.sistema-card ul {
  margin-left: 20px;
  padding-left: 0;
  list-style-type: none;
}

.sistema-card ul li::before {
  content: "🔹";
  margin-right: 8px;
}

.logo-sistema {
  display: block;
  margin: 0 auto 15px auto;
  max-width: 120px;
  height: auto;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  padding: 40px;
  align-items: center;
  justify-items: center;
}

.logo-grid img {
  max-width: 180px;
  max-height: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo-grid img:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}


/* CBS Buttons */
.cbs-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 20px 0;
}

.btn-cbs {
  display: inline-block;
  padding: 10px 20px;
  background-color: #25D366;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.btn-cbs:hover {
  background-color: #1ebf59;
}

.btn-cbs-link {
  color: #25D366;
  text-decoration: none;
}

.btn-cbs-link:hover {
  text-decoration: underline;
}



.cbs-galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.cbs-galeria img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cbs-galeria img:hover {
  transform: scale(1.03);
}