/* Tipografía y base */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f8f9fa;
  color: #212529;
  margin: 0;
  padding: 0;
}

h1, h2, h5 {
  font-weight: 700;
}

p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Navbar */
.navbar-brand {
  font-weight: 600;
  letter-spacing: 1px;
}

.nav-link {
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #0d6efd !important;
}

/* Hero */
header {
  background: linear-gradient(135deg, #0d6efd, #0a58ca);
}

header h1 {
  font-size: 2.5rem;
}

header p {
  font-size: 1.2rem;
}

/* Banner (Carousel) */
.carousel-item img {
  height: 450px;
  object-fit: cover;
}

.carousel-caption h5 {
  font-weight: 700;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.carousel-caption p {
  font-size: 1rem;
  color: #f8f9fa;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

/* Secciones */
section {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

section h2 {
  color: #0d6efd;
  margin-bottom: 1rem;
}

/* Servicios */
#servicios ul {
  list-style: none;
  padding: 0;
}

#servicios li {
  background: #fff;
  border: 1px solid #dee2e6;
  padding: 10px 15px;
  margin-bottom: 10px;
  border-radius: 5px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

#servicios li:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Proyectos */
.card {
  border: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.card-title {
  color: #0d6efd;
  font-weight: 600;
}

.card-text {
  font-size: 0.95rem;
}

/* Contacto */
form .form-control {
  border-radius: 5px;
}

form button {
  font-weight: 600;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #0a58ca;
}

/* Footer */
footer {
  background-color: #212529;
  color: #fff;
  font-size: 0.9rem;
}

/* Banner (Carousel) */
.carousel-item img {
  width: 100%;          /* Mantiene el ancho completo del contenedor */
  height: 300px;        /* Reduce la altura del banner */
  object-fit: cover;    /* Recorta la imagen sin deformarla */
  border-radius: 8px;   /* Opcional: esquinas suaves */
}

/* Opcional: mejora visual del texto sobre el banner */
.carousel-caption {
  background: rgba(0, 0, 0, 0.4); /* Fondo semitransparente para legibilidad */
  border-radius: 6px;
  padding: 10px 15px;
}

.carousel-caption h5 {
  font-weight: 700;
  color: #fff;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

.carousel-caption p {
  font-size: 1rem;
  color: #f8f9fa;
}

