/* Estilos generales */

body {
  font-family: 'Roboto', Arial, sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* Header Styles */

/* Hero Section */

.hero {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem;
  /*background: url('../../assets/img/carlos%20abarca%20reparando%20camara%20en%20heredia.avif') center/cover no-repeat;*/
  height: calc(100vh - 50px);
  color: white;
  text-align: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 50%;
  margin-right: 10px;
  margin-left: 2%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.cta-buttons {
  margin-top: 20px;
}

.cta-buttons a {
  display: block;
  margin: 10px auto;
  width: 70%;
  text-align: center;
  padding: 12px 20px;
  background-color: #ffcc00!important;
  color: #000!important;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s ease, color 0.3s ease;
}

.cta-buttons a:hover {
  background-color: #ffcc00;
  color: #000;
}

/* Campos de entrada */

.form-container input[type="text"], .form-container input[type="tel"], .form-container textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 5px;
  border: 1px solid #ccc;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 1rem;
  color: #333;
  transition: border 0.3s ease-in-out;
}

/* Ajuste del formulario en PC */

.form-container {
  position: absolute;
  top: 10%;
  right: 5%;
  transform: translateY(0);
  width: 100%;
  max-width: 400px;
  padding: 20px 25px;
  color: #333;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  z-index: 10;
  box-sizing: border-box;
}

.form-container .cta-button {
  display: block;
  width: calc(100% - 10px);
  margin-top: 10px;
  padding: 12px 20px;
  text-align: center;
  background-color: #000;
  color: #ffcc00;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  height: 3rem;
  transition: background 0.3s ease, color 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
}

.form-container .cta-button:hover {
  background-color: #ffcc00;
  color: #000;
}

/* Ajustes Responsivos para Móviles */

@media (max-width: 768px) {
  .form-container {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    margin: 20px auto;
    width: 95%;
    max-width: 95%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.95);
  }
}

@media (max-width: 768px) {
  .form-container input[type="text"], .form-container input[type="tel"], .form-container textarea {
    padding: 10px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .form-container .cta-button {
    padding: 10px;
    font-size: 1rem;
  }
}

/* Contenedor general */

.container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding: 1.25rem;
  margin: 0 auto;
  display: flex;
  gap: 20px;
}

.text-content, .image-content {
  flex: 1 1 50%;
}

/* Contenedor general */

.container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 auto;
  max-width: 1200px;
  padding: 1.25rem;
}

/* Secciones */

.section {
  padding: 60px 20px;
}

/* Contenido */

.text-content {
  flex: 1 1 50%;
  padding: 1.25rem;
}

.image-content {
  flex: 1 1 40%;
  text-align: center;
}

.image-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin-bottom: 10px;
}

.section.overlay {
  /*background: url('../../assets/img/sandwich-de-pan-de-miga.webp') center/cover no-repeat;*/
  background-color: rgba(0, 0, 0, 0.6);
  background-blend-mode: overlay;
  color: #fff;
}

/* Sección Servicios */

#servicios {
  /*background: url('../../assets/img/instalacion-san-pablo-monitoreo.webp') center/cover no-repeat;*/
  /*background-color: rgba(0, 0, 0, 0.7);*/
  background-blend-mode: overlay;
  color: #fff;
}

/* Sección Tipos de Cámaras */

#fondoblanco {
  background-color: #f4f4f4;
  color: #333 !important;
}

#fondoblanco h2 {
  color: #000;
}

/* Sección Marcas y Tecnologías */

#marcas-tecnologias {
  background-color: #ffffff;
  color: #333 !important;
}

#marcas-tecnologias h2 {
  color: #000;
}

/* Sección Contacto */

/* Footer */

.footer {
  background-color: #333;
  color: #fff;
  padding: 20px 0;
  text-align: center;
}

.footer a {
  color: #ffcc00;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-locations {
  margin-top: 20px;
  padding: 0 20px;
  display: flex;
}

.footer-locations h3 {
  font-size: 1.2em;
  margin-bottom: 10px;
  color: #ffcc00;
}

.locations-list {
  list-style: none;
  padding: 0;
  column-count: 3;
  column-gap: 20px;
}

.locations-list li {
  margin-bottom: 5px;
}

.locations-list a {
  padding: 5px 10px;
  background-color: #555;
  border-radius: 5px;
  color: #ffcc00;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.locations-list a:hover {
  background-color: #ffcc00;
  color: #333;
}

/* Mapa */

/* Responsive */

@media (max-width: 768px) {
  .locations-list {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .locations-list {
    column-count: 1;
  }
}

/* Mapa */

.map-container {
  position: relative;
  width: 100%;
  height: 450px;
}

.contact-bar {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #000;
  padding: 10px 5px;
  color: white;
  font-family: 'Roboto', Arial, sans-serif;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 999;
  flex-wrap: wrap;
}

.contact-bar a {
  display: flex;
  align-items: center;
  gap: 5px;
  text-decoration: none !important;
  color: black !important;
  font-weight: bold;
  transition: transform 0.3s ease;
  background-color: #ffcc00;
  padding: 8px 12px;
  border-radius: 5px;
  margin: 5px;
  flex: 1 1 auto;
  text-align: center;
  min-width: 100px;
}

.contact-bar a:hover {
  transform: scale(1.05);
  background-color: #000;
  color: #ffcc00!important;
}

.contact-bar img {
  width: 20px;
  height: 20px;
  filter: invert(0);
}

.contact-bar span {
  font-size: 12px;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Ajuste de botones en pantallas pequeñas */

@media (max-width: 768px) {
  .contact-bar {
    flex-wrap: wrap;
    justify-content: center;
    padding: 5px 0;
  }
}

@media (max-width: 768px) {
  .contact-bar a {
    flex: 0 0 48%;
    max-width: 48%;
    margin: 5px 1%;
    padding: 11px;
    font-size: 1rem;
    justify-content: center;
    box-sizing: border-box;
  }
}

@media (max-width: 768px) {
  .contact-bar img {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 768px) {
  .contact-bar span {
    font-size: 14px;
  }
}

/* Responsivo */

@media (max-width: 768px) {
  .text-content, .image-content {
    flex: 1 1 100% !important;
    margin-bottom: 20px !important;
  }
}

@media (max-width: 768px) {
  .hero {
    flex-direction: column !important;
    height: auto !important;
  }
}

@media (max-width: 768px) {
  .hero-content {
    max-width: 98% !important;
  }
}

@media (max-width: 768px) {
  .cta-buttons a {
    display: block;
    margin: 10px auto;
    width: 90%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .form-container {
    width: 95%;
    position: relative;
    right: auto;
    top: auto;
    margin: 20px auto;
    z-index: 2;
  }
}

#porque-elegirnos {
  background: url("../../assets/img/negocio-en-barba-heredia.webp") no-repeat, var(--bs-dark);
  background-size: cover, auto;
}

.section.overlay {
  background: url("la-plata/mengarelli-alejandro-jorge/mengarelli-alejandro-jorge.webp") no-repeat, var(--bs-dark);
  background-size: cover, auto;
}

.botones-flotantes {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 1000;
}

.botones-flotantes a {
  display: inline-block;
  text-align: center;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  transition: transform 0.3s ease;
  color: #000;
}

.boton-llamada {
  background-color: #198754;
}

.boton-whatsapp {
  background-color: #25D366;
}

.botones-flotantes a:hover {
  transform: scale(1.1);
}

.botones-flotantes img {
  max-width: 60%;
  max-height: 60%;
  vertical-align: middle;
}

