/* Reset y Estilos Base */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: "Rubik", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333333;
  background-color: #f4f6f8;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Tipografía Mejorada */
h1, h2, h3, h4, h5, h6 {
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  line-height: 1.2;
  color: #000000;
  margin-bottom: 1rem;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.3rem; }
h6 { font-size: 1.1rem; }

/* Enlaces */
a {
  color: #007bff;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover, a:focus {
  color: #0056b3;
  text-decoration: underline;
}

/* Botones Mejorados */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #007bff;
  color: white;
  border-color: #0056b3;
}

.btn-primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(77, 59, 59, 0.1);
}

/* Header y Navegación */
/* Estilos para el menú desplegable */
.navbar-dark .navbar-nav .dropdown-menu {
    background-color: #343a40;
    border: none;
}

.navbar-dark .navbar-nav .dropdown-item {
    color: rgba(255,255,255,.8);
    padding: 0.5rem 1.5rem;
}

.navbar-dark .navbar-nav .dropdown-item:hover {
    color: #fff;
    background-color: #495057;
}

.dropdown-menu {
    border-radius: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.dropdown-item.active, .dropdown-item:active {
    background-color: #495057;
}

/* Destacar los servicios prioritarios */
.dropdown-item[href="neveras.html"],
.dropdown-item[href="lavadoras.html"], 
.dropdown-item[href="calentadores.html"],
.dropdown-item[href='estufas.html'] {

    font-weight: 600;
    color: #fff !important;
    position: relative;
    padding-left: 2rem;
}

.dropdown-item[href="neveras.html"]::before,
.dropdown-item[href="lavadoras.html"]::before,
.dropdown-item[href="calentadores.html"]::before {
    content: "";
    color: #f39c12;
    position: absolute;
    left: 1rem;
}
/* Carrusel */
.carousel-item {
  height: 500px;
}

.carousel-caption {
  background-color: rgba(66, 61, 61, 0.6);
  border-radius: 8px;
  padding: 2rem !important;
  bottom: 20% !important;
}

/* Sección de Servicios */
.rent-item {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(255, 8, 8, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.rent-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(230, 10, 10, 0.12);
}

.rent-item img {
  max-height: 150px;
  object-fit: contain;
  margin-bottom: 1.5rem;
}

/* Banner de Oferta */
.bg-banner {
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 8px;
  color: white;
}

/* Footer Mejorado */
.footer {
  padding: 3rem 0;
}

.footer h4 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer p, .footer a {
  color: #f2f2f2;
}

.footer a:hover {
  color: #007bff;
  text-decoration: none;
}

/* Botones Flotantes */
.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #28a745;
  color: #FFF;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.float2 {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 120px;
  right: 40px;
  background-color: #17a2b8;
  color: #FFF;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.float:hover, .float2:hover {
  transform: scale(1.1);
  text-decoration: none;
  color: #fff;
}

.my-float {
  margin: 0 auto;
}

/* Efectos de Hover para Tarjetas */
.item {
  transition: transform 0.3s ease;
}

.item:hover {
  transform: scale(1.03);
}

/* Ajustes Responsivos */
@media (max-width: 768px) {
  .carousel-item {
    height: 350px;
  }

  .carousel-caption {
    padding: 1rem !important;
    bottom: 10% !important;
  }

  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
}

/* Animaciones Suaves */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade {
  animation: fadeIn 0.6s ease forwards;
}

.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
