* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  background: #f2f2f2;
  color: #333;
}

/* HEADER */
header {
  background: #111;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 20px 50px;
  align-items: center;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

.logo span {
  color: #ffc107;
}

nav a {
  color: white;
  text-decoration: none;
  margin-left: 25px;
  font-weight: bold;
  transition: 0.3s;
}

nav a:hover {
  color: #ffc107;
}

/* HERO */
.hero {
  height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 20px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

.btn {
  background: #ffc107;
  padding: 15px 30px;
  text-decoration: none;
  color: black;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s;
}

.btn:hover {
  background: #ffb300;
  transform: scale(1.05);
}

/* SECTION */
.section {
  padding: 100px 50px;
  text-align: center;
}

.dark {
  background: #222;
  color: white;
}

/* PRODUCTS */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  transition: 0.4s;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.2);
}

.card span {
  display: block;
  margin-top: 15px;
  font-weight: bold;
  color: #d32f2f;
}

/* WhatsApp Button */
.whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: white;
  font-size: 28px;
  padding: 15px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}

.whatsapp:hover {
  transform: scale(1.1);
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 1s all ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px; /* espacio entre logo y texto */
}

.logo img {
  height: 50px; /* ajusta según tu preferencia */
}
.card img {
  width: 100%; /* que ocupe todo el ancho de la tarjeta */
  height: auto; /* mantener proporción */
  border-radius: 8px; /* opcional: bordes redondeados */
  margin-bottom: 10px; /* separar del título */

  /* width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 5px; */
}
.card span {
  margin: 20px 0; /* Espaciado entre textos */
}

.card img {
  max-width: 100%;
  height: auto; /* Mantiene la proporción de la imagen */
  margin-bottom: 10px; /* Espacio entre la imagen y el texto */
}

.card h3,
.card p {
  margin: 5px 0;
}

.card span {
  font-weight: bold;
  color: red;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  opacity: 0;
  animation: fadeIn 0.6s ease forwards;
}
