/* General */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f8f9fa;
  color: #333;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #1f1e2e;  /*Color de fondo del header */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Sombra para darle un efecto flotante */
  z-index: 1000; /* Asegura que el header esté por encima de otros elementos */
  padding: 10px 20px; 
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header img {
  height: 50px;
}
header nav {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
header nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
header nav ul li {
  margin: 0 15px;
}
header nav ul li a {
  text-decoration: none;
  color:  #ffffff;
  font-weight: bold;
  transition: color 0.3s;
}
header nav ul li a:hover {
  color: #ff8533; /* Color al pasar el mouse sobre los enlaces */
}
nav {
  display: flex;
  gap: 20px;
}
nav a {
  text-decoration: none;
  color: #2C3E50;
  font-weight: bold;
}
.cta-button {
  background-color: #27AE60;
  color: #FFFFFF;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
    main {
      padding-top: 90px;
    }
    .btn-warning {
      background-color: #ff9800;
      border: none;
    }
    .btn-warning:hover {
      background-color: #fb8c00;
    }

h1, h2, h3, h4, h5 {
  font-weight: 600;
}

/* Hero */
.hero {
  height: 90vh;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.6)), url('https://riemma.com.mx/img/indix.jpg?text=Riemma+Fondo') center/cover no-repeat;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

/* Tarjetas categoría */
.card.categoria {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  border-radius: 1rem;
  overflow: hidden;
}

.card.categoria:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.card.categoria img {
  height: 220px;
  object-fit: cover;
}

/* Tarjetas catálogo */
.card.h-100 {
  border-radius: 1rem;
  transition: all 0.2s ease-in-out;
}

.card.h-100:hover {
  box-shadow: 0 10px 18px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 600;
}

.card-text {
  font-size: 1rem;
  color: #28a745;
  font-weight: 500;
}

/* Navbar */
.navbar {
  padding: 1rem 2rem;
}

.navbar-brand {
  font-weight: bold;
  letter-spacing: 1px;
}

#form-ir-carrito button {
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 16px;
  background-color: #ffc107;
  color: #000;
  border: none;
}

/* Footer */
footer {
  font-size: 0.9rem;
}

.footer {
  background-color: #000; /* Color de fondo del footer (puedes cambiarlo según tu paleta) */
  color: #fff; /* Color del texto */
  padding: 20px 0; /* Espaciado interno del footer */
  text-align: center;
  font-size: 16px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

.footer-info,
.footer-contact,
.footer-schedule,
.footer-social {
  flex-basis: 30%;
  margin: 10px;
}

.footer h3 {
  font-size: 24px;
  color: #fff; /* Color del título */
  margin-bottom: 10px;
}

.footer a {
  color: #fff; /* Color de los enlaces */
  text-decoration: none;
}


/* Responsive */
@media (max-width: 768px) {
  .hero {
    height: 70vh;
    padding: 2rem;
    background-position: center;
  }
  .card.categoria img,
  .card-img-top {
    height: 180px;
  }
}
