body {
  font-family: 'Poppins', sans-serif;
}

/* Carrusel */
.carousel-item img {
  height: 60vh;
  /* o 500px si preferís fijo */
  object-fit: cover;
  width: 100%;
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1s ease;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

.carousel-indicators [data-bs-target] {
  background-color: white;
}

/* Carrusel1 */
/* Texto del carrusel */
.carousel-caption {
  bottom: 20%;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.carousel-caption h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

.carousel-caption p {
  font-size: 1.25rem;
  font-weight: 400;
}
.carousel-fade .carousel-item {
  transition: opacity 0.5s ease-in-out; /* transición de 0.5s en lugar de 0.6s */
}

/* Animación personalizada */
@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide {
  animation: slideInUp 1s ease forwards;
}

/* Categorías */
.categoria {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.categoria:hover {
  transform: scale(1.03);
}

.categoria-texto {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 12px 16px;
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  /* CENTRA HORIZONTAL */
}

/* Banner */
.banner-instalacion {
  background: #0342a1;
  color: white;
  padding: 40px 0;
  font-weight: 600;
  font-size: 1.25rem;
  animation: fadeInUp 1s ease forwards;
}

/* Footer */
footer {
  background-color: #f8f9fa;
  padding: 0px 0;
  text-align: center;
}

.footer-logo {
  width: 300px;
  margin-bottom: 10px;
}

.whatsapp {
  color: #25D366;
  font-size: 1.5rem;
}

/* Animaciones */
@keyframes fadeInUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.fadeInUp {
  animation: fadeInUp 1s ease;
}

/* Contenedor del carrusel */
.carousel-container {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

/* Imagen animada (zoom sutil) */
.img-animada img {
  height: 500px;
  object-fit: cover;
  width: 100%;
  transform: scale(1);
  transition: transform 3s ease;
}

.carousel-item.active .img-animada img {
  transform: scale(1.08);
  /* Zoom suave */
}

/* Texto del carrusel */
.carousel-caption {
  bottom: 15%;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
}

.carousel-caption h2 {
  font-size: 2.5rem;
  font-weight: 700;
}

.carousel-caption p {
  font-size: 1.25rem;
  font-weight: 400;
}

/* Indicadores */
.carousel-indicators [data-bs-target] {
  background-color: white;
}

/* Botones fuera del carrusel */
.custom-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.4);
  border: none;
  padding: 10px;
  z-index: 10;
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

.carousel-control-prev.custom-control {
  left: -25px;
}

.carousel-control-next.custom-control {
  right: -25px;
}

.mi-navbar {
  background-color: #0342a1;
  /* Color personalizado */
}

.mi-navbar .nav-link {
  color: #ffffff;
  /* texto */
}

.mi-navbar .navbar-brand {
  color: #ffffff;
  /* texto */
}

/* footer */
.footer-modern {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  position: relative;
  z-index: 1;
}

.footer-overlay {
  background-color: rgba(0, 0, 0, 0.6);
  /* semi-transparente */
  padding: 60px 0;
  position: relative;
  z-index: 2;
}


.footer-logo {
  width: 80px;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
}

.footer-link {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-icon {
  font-size: 1.3rem;
  color: #ffffff;
  transition: color 0.3s ease;
}

.footer-icon:hover {
  color: #25D366;
}

@media (max-width: 768px) {
  .footer-modern .container {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .footer-logo {
    margin-bottom: 10px;
  }

  .social-icons {
    justify-content: center;
  }
}

/* whatsapp flotante */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  cursor: pointer;
}

.whatsapp-float img {
  width: 60px;
  height: 60px;
  transition: transform 0.3s ease;
}

.whatsapp-float img:hover {
  transform: scale(1.1);
}

/* navbar */
.mi-navbar {
  transition: all 0.3s ease;
  background-color: #0342a1;
  /* O el color que estés usando */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.navbar-scroll.shrink {
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

/* Opcional: fijás altura del navbar para mayor control visual */
.mi-navbar {
  height: 80px;
  transition: all 0.3s ease;
  background-color: #0342a1;
  /* o el color que uses */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  /* leve sombra si querés que se destaque */
}

/* Asegura que el body deje espacio al navbar */
body {
  padding-top: 80px;
  /* Ajustá este valor si tu navbar es más o menos alto */
}

.productos {
  padding-top: 80px;
  /* valor especial solo para esta página */
}

#postes {
  scroll-margin-top: 100px;
}

.postes-section {
  padding-top: 100px;
}

#tejidos {
  scroll-margin-top: 60px;
}

.tejidos-section {
  padding-top: 60px;
}

#pilares {
  scroll-margin-top: 60px;
}

.pilares-section {
  padding-top: 60px;
}

#pergolas {
  scroll-margin-top: 60px;
}

.pergolas-section {
  padding-top: 60px;
}

#paredes {
  scroll-margin-top: 60px;
}

.paredes-section {
  padding-top: 60px;
}

#lajas {
  scroll-margin-top: 60px;
}

.lajas-section {
  padding-top: 60px;
}

#puertas {
  scroll-margin-top: 60px;
}

.puertas-section {
  padding-top: 60px;
}
#accesorios {
  scroll-margin-top: 60px;
}

.accesorios-section {
  padding-top: 60px;
}

/* Fondo del menú colapsado (móviles) */
.navbar-collapse {
  background-color: #0342a1;
  /* tu color de fondo */
  width: 100vw;
  /* fuerza a ocupar todo el ancho de la pantalla */
  margin: 0;
  padding: 1rem;
}

/* Links del menú */
.navbar-nav .nav-link {
  color: white;
}

/* Links cuando están activos o con hover */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: hsl(207, 36%, 73%);
  /* o el color que quieras destacar */
}

/* Ítem del dropdown */
.dropdown-menu {
  background-color: #0342a1;
}

.dropdown-item {
  color: white;
}

.dropdown-item:hover {
  background-color: hsl(217, 71%, 55%);
  /* tono más oscuro al pasar el mouse */
}

/* rectangulo negro titulo inicio */
.titulo-con-fondo {
  display: inline-block; /* Hace que el fondo se ajuste al tamaño del texto */
  background: rgba(0, 0, 0, 0.6); /* Negro con transparencia */
  padding: 10px 20px; /* Espaciado interno */
  border-radius: 5px; /* Esquinas redondeadas opcional */
}

/* Nosotros */
/* banda gris mas oscura */
.bg-custom-gray {
  background-color: #d4d6d8; /* gris claro 15% más oscuro que bg-light */
}
.nosotros-seccion .container {
  padding-bottom: 0;
}

/* cuadro portones *//* Contenedor */
.tabla-wrapper {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
}

.tabla-wrapper:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.tabla-titulo {
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 15px;
}

/* Tabla */
.tabla {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  border-radius: 8px;
  overflow: hidden;
}

.tabla thead {
  background: #e9ecef;
  font-weight: bold;
}

.tabla th,
.tabla td {
  padding: 12px;
  border: 1px solid #dee2e6;
}

/* Responsive */
@media (max-width: 768px) {
  .tabla thead {
    display: none;
  }

  .tabla tr {
    display: block;
    margin-bottom: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
    padding: 10px;
  }

  .tabla td {
    display: flex;
    justify-content: space-between;
    text-align: left;
    padding: 8px;
    border: none;
    border-bottom: 1px solid #dee2e6;
  }

  .tabla td:last-child {
    border-bottom: none;
  }

  .tabla td::before {
    content: attr(data-label);
    font-weight: bold;
    color: #333;
  }
}

/* Responsive texto de imagenes de inicio*/

/* Para todos los tamaños */
.carousel-caption h2 {
  font-size: 2rem; /* tamaño base para PC */
}

.carousel-caption p {
  font-size: 1rem; /* tamaño base para PC */
}

/* Para pantallas pequeñas (celulares) */
@media (max-width: 767px) {
  .carousel-caption h2 {
    font-size: 1.2rem; /* reduce tamaño en móviles */
  }
  .carousel-caption p {
    font-size: 0.9rem; /* reduce tamaño en móviles */
  }
}

/* trabajos galeria */
.gallery-img {
  cursor: pointer;
  transition: transform 0.4s ease;
  border-radius: 0px;
}
.gallery-img:hover {
  transform: scale(1.05);
}

/* Botones de navegación del modal */
#prevBtn, #nextBtn {
  opacity: 0.7;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}
#prevBtn:hover, #nextBtn:hover {
  opacity: 1;
}
.gallery-img {
  cursor: pointer;
  transition: transform 0.4s ease;
  border-radius: 10px;
}
.gallery-img:hover {
  transform: scale(1.05);
}

/* Imagen dentro del modal: grande, centrada y proporcionada */
#modalImage {
  max-width: 95%;    /* fuerza que la imagen sea más ancha */
  height: auto;      /* mantiene la proporción */
  max-height: 95vh;   /* no se pase del alto de la pantalla */
  object-fit: contain;
  margin: auto;
  display: block;
}

/* Fondo del modal */
.modal-content.custom-bg {
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  
}
.modal-dialog {
  max-width: 90%;    /* ancho del modal casi toda la pantalla */
  margin: 1.75rem auto;
}

/* Botones de navegación */
#prevBtn, #nextBtn {
  opacity: 0.7;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 1.5rem;
}
#prevBtn:hover, #nextBtn:hover {
  opacity: 1;
}
/* Animación zoom-in para la imagen del modal */
@keyframes zoomIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-zoom {
  animation: zoomIn 0.5s ease forwards;
}



