/* ===== Fondo general ===== */
body {
  background: linear-gradient(135deg, #0b2e13, #000);
  color: #fff;
  min-height: 100vh;
  font-family: 'Segoe UI', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* ===== HEADER ===== */
header.banner {
  background: rgba(0, 40, 0, 0.9);
  border-bottom: 3px solid #198754;
  padding: 20px;
  text-align: center;
}

header.banner .title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: #f8f9fa;
}

header.banner small {
  font-size: clamp(0.8rem, 1.5vw, 1rem);
  color: #adb5bd;
}

/* ===== CARRUSEL ===== */

/* ===== CARRUSEL ORIGINAL ===== */
#carouselCelulares .carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 15px;
}

/* ===== Tarjeta de búsqueda ===== */
.search-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  color: #000;
  padding: 20px;
  transition: transform 0.3s ease;
}

.search-card:hover {
  transform: translateY(-3px);
}

/* Ajusta inputs y botones */
form#searchForm .form-control,
form#searchForm .form-select {
  height: 45px;
  font-size: 0.95rem;
}

#btnBuscar {
  height: 45px;
  font-size: 1rem;
}

/* ===== Info Section ===== */
.info-card {
  background: rgba(255, 255, 255, 0.1);
  border-left: 4px solid #198754;
  border-radius: 10px;
  color: #fff;
  padding: 15px 20px;
  margin-top: 20px;
}

/* ===== Imágenes laterales ===== */
.side-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ===== Footer ===== */
footer {
  background: rgba(0, 40, 0, 0.9);
  color: #aaa;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  border-top: 2px solid #198754;
  padding: 10px;
  text-align: center;
  margin-top: 40px;
}

/* ===== Botones ===== */
.btn-success {
  background-color: #198754;
  border: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-success:hover {
  background-color: #157347;
}

/* ===== RESPONSIVE AJUSTES ===== */
@media (max-width: 992px) {
  .search-card {
    margin: 0 10px;
  }
  .side-img {
    max-width: 120px;
    margin-top: 10px;
  }
}

@media (max-width: 768px) {
  header.banner .title {
    font-size: 1.4rem;
  }
  header.banner small {
    font-size: 0.85rem;
  }
  .carousel img {
    max-height: 300px;
  }
  .info-card {
    margin: 20px auto;
  }
}
