/* =========================
   Tipografía y Body
========================= */
body {
  scroll-behavior: smooth;
  font-family: 'Montserrat', Arial, sans-serif;
  margin: 0;
  color: #333;
  background-color: #f4f4f9;
}

/* =========================
   Navbar
========================= */
.navbar {
  background-color: #1a1a1a !important;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
}

.navbar .nav-link {
  color: #fff;
  font-weight: 600;
  transition: color 0.3s;
}

.navbar .nav-link:hover {
  color: #ffd700;
}

.navbar-brand {
  font-weight: 700;
  color: #ffffff !important;
  text-transform: uppercase;
}

/* =========================
   Carrusel Header
========================= */
header .carousel-item img {
  object-fit: cover;
  height: 100vh;
  filter: brightness(60%);
}

header .carousel-caption {
  z-index: 2;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

header h1 {
  font-size: 3rem;
  color: #ffd700;
  margin-bottom: 0.5rem;
}

header p.lead {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

header .carousel-caption p:not(.lead) {
  color: #ddd;
  font-size: 1.1rem;
}

/* =========================
   Sección Remembranza
========================= */
#remembranza img {
  border-radius: 15px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s;
  width: 100%;
  height: auto;
}

#remembranza img:hover {
  transform: scale(1.05);
}

#remembranza h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 1rem;
}

#remembranza p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
}

/* =========================
   Sección Servicios
========================= */
#servicios h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 2rem;
}

#servicios .card {
  border: none;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  height: 100%;
}

#servicios .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.2);
}




.btn-primary {
  background: linear-gradient(45deg, #ffd700, #ff8c00) !important;
  border: none !important;
  font-weight: 700 !important;
  color: #111 !important;
  border-radius: 10px !important;
  text-transform: uppercase !important;
  transition: 0.3s !important;
}

.btn-primary:hover {
  background: linear-gradient(45deg, #ff8c00, #ffd700) !important;
  color: #000 !important;
}

/* =========================
   Sección Trabajos
========================= */
#trabajos {
  background: #eeeef4;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

#trabajos h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 2rem;
}

/* Tarjetas */
#trabajos .card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.12);
  transition: transform 0.3s, box-shadow 0.3s;
}

#trabajos .card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.20);
}



/* Contenedor general del modal */
.modal-dialog {
  max-width: 900px !important; /* Modal más ancho y limpio */
}

.modal-content {
  border-radius: 12px;
  padding: 10px 0;
  border: none;
}

/* Título centrado y más elegante */
.modal-title {
  font-weight: 600;
  width: 100%;
  text-align: center;
  padding: 5px 0 10px;
}

/* Imagen centrada y adaptable */
.modal-body img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
}

/* Texto descriptivo centrado */
.modal-description {
  text-align: center;
  margin-top: 15px;
  font-size: 1.1rem;
  color: #333;
}

/* Botón cerrar más elegante */
.btn-close {
  filter: invert(50%);
  opacity: 1;
  margin: 8px;
}


/* Videos */
.carousel-item video {
  width: 100%;
  max-height: 65vh;
  border-radius: 10px;
  background: #000;
}

/* Flechas del carrusel */
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(86%) sepia(61%) saturate(859%) hue-rotate(9deg) brightness(98%) contrast(103%);
}

/* Miniaturas */
.carousel-indicators {
  position: static;
  margin-top: 15px;
}

.carousel-indicators button {
  width: 100px;
  height: 60px;
  border: none;
  border-radius: 8px;
  margin: 3px;
  overflow: hidden;
  transition: 0.3s;
}

.carousel-indicators button img,
.carousel-indicators button video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-indicators .active {
  border: 3px solid #ffd700;
  opacity: 1;
}

.carousel-indicators button:not(.active) {
  opacity: 0.6;
}



/* =========================
   Sección Clientes
========================= */
#clientes h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: #1a1a1a;
}

#clientes ul li {
  margin-bottom: 0.7rem;
  font-size: 1.15rem;
  color: #444;
  position: relative;
  padding-left: 1.5rem;
}

#clientes ul li::before {
  position: absolute;
  left: 0;
  color: #ffd700;
}

#carouselClientes .carousel-item img {
  width: 100%;
  height: 400px;
  object-fit: contain;
  border-radius: 10px;
  background-color: #f8f9fa;
  transition: transform 0.3s;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

#carouselClientes .carousel-item img:hover {
  transform: scale(1.05);
}

/* =========================
   Sección Objetivos
========================= */
#objetivos h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 2rem;
  color: #1a1a1a;
}

#objetivos .card {
  border: none;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  height: 100%;
}

#objetivos .card:hover {
  transform: translateY(-5px);
}

#objetivos .card-title {
  font-weight: 700;
  margin-bottom: 1rem;
}

#objetivos ul {
  padding-left: 1rem;
  text-align: left;
  color: #444;
}

#objetivos ul li {
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1.2rem;
}

#objetivos ul li::before {
  position: absolute;
  left: 0;
  color: #ffd700;
}

/* =========================
   Footer
========================= */
footer {
  background-color: #111;
  color: #fff;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

footer h5 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffd700;
}

footer a {
  color: #fff;
  transition: color 0.3s;
  text-decoration: none;
}

footer a:hover {
  color: #ffd700;
  text-decoration: underline;
}

footer .flex-fill {
  flex: 1 1 250px; /* columna mínima 250px, se expande */
}

footer p, footer a {
  margin-bottom: 0.5rem;
}

/* =========================
   Responsivo
========================= */
@media (max-width: 992px) {
  #clientes .carousel-item img {
    height: 300px;
  }
}

@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
  }
  header p.lead {
    font-size: 1.2rem;
  }
  #clientes ul li, #remembranza p {
    font-size: 1rem;
  }
  #servicios .card {
    margin-bottom: 1.5rem;
  }
  #carouselClientes .carousel-item img {
    height: 250px;
  }
}

@media (max-width: 576px) {
  #clientes .carousel-item img {
    height: 180px;
  }
}
