/* Fuente y colores base */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background: #f7f9fc;
  color: #333;
}

/* Header */
header {
  background: linear-gradient(135deg, #ffffff, #ff7f50);
  color: white;
  padding: 20px;
  text-align: center;
  font-size: 1.2rem;
  box-shadow: 0 3px 6px rgba(0,0,0,0.2);
}

/* Buscador */
.buscador {
  text-align: center;
  margin: 20px;
}
.buscador input {
  width: 80%;
  max-width: 400px;
  padding: 12px 15px;
  border: 2px solid #ff3b3f;
  border-radius: 30px;
  font-size: 16px;
  outline: none;
  transition: all 0.3s;
}
.buscador input:focus {
  border-color: #ff7f50;
  box-shadow: 0 0 8px rgba(255, 123, 80, 0.5);
}

/* Grid de productos */
#catalogo {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
  padding: 20px;
}

/* Cards */
.card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  padding: 15px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.3s;
  cursor: pointer;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.2);
}
.card img {
  max-width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s;
}
.card:hover img {
  transform: scale(1.05);
}
.card h3 {
  margin: 12px 0 5px;
  font-weight: 600;
  font-size: 18px;
}
.card p {
  font-size: 14px;
  margin: 5px 0;
  color: #555;
}
.card .precio {
  font-size: 18px;
  font-weight: bold;
  color: #ff3b3f;
  margin-top: 10px;
}
.card button {
  margin-top: 12px;
  padding: 10px 15px;
  background: linear-gradient(135deg, #ff3b3f, #ff7f50);
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.3s;
}
.card button:hover {
  background: linear-gradient(135deg, #ff2a2d, #ff6330);
}

/* Footer */
footer {
  text-align: center;
  padding: 15px;
  background: #222;
  color: white;
  font-size: 14px;
}

/* Botón flotante Menú */
.btn-menu {
  position: fixed;
  top: 20px;
  right: 20px;
  background: #ff6600;
  color: #fff;
  border: none;
  padding: 12px 18px;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  z-index: 1001;
  transition: background 0.3s ease;
}
.btn-menu:hover {
  background: #e65c00;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  right: -280px; /* oculto por defecto */
  width: 250px;
  height: 100%;
  background: #fff;
  box-shadow: -4px 0 10px rgba(0,0,0,0.2);
  padding: 20px;
  transition: right 0.3s ease;
  z-index: 1000;
  display: flex;
  flex-direction: column;
}
.sidebar h2 {
  margin-top: 40px;
  color: #ff6600;
  text-align: center;
}
.sidebar ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar ul li {
  margin: 0;
}
.sidebar ul button {
  width: 100%;
  padding: 12px;
  background: #f1f1f1;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}
.sidebar ul button:hover {
  background: #000000;
  color: #fff;
}

/* Botón cerrar dentro del sidebar */
.cerrar-menu {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
}

/* Clase activa (sidebar abierto) */
.sidebar.activo {
  right: 0;
}

/* ✅ Responsividad */
@media (max-width: 768px) {
  #catalogo {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  }
  .card img {
    height: 140px;
  }
}

@media (max-width: 480px) {
  #catalogo {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .card {
    padding: 10px;
  }
  .card img {
    height: 110px;
  }
  .btn-menu {
    font-size: 14px;
    padding: 10px 14px;
  }
  .sidebar {
    width: 200px;
  }
}

/* ====== RESET BÁSICO ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* ====== HEADER ====== */
header {
  background: #ffcc00;
  padding: 15px 20px;
  text-align: center;
  box-shadow: 0px 2px 5px rgba(0,0,0,0.2);
}

header h1 {
  margin-bottom: 10px;
  font-size: 28px;
  font-weight: 700;
  color: #333;
}

nav a {
  margin: 0 10px;
  text-decoration: none;
  font-weight: 600;
  color: #444;
  transition: color 0.3s;
}

nav a:hover,
nav a.activo {
  color: #e63946;
}

/* ====== SECCIONES ====== */
.seccion-info {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
}

.card-info {
  max-width: 800px;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0px 5px 20px rgba(0,0,0,0.1);
  text-align: center;
  animation: fadeIn 1s ease-in-out;
}

.card-info h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #e63946;
}

.card-info p {
  font-size: 18px;
  color: #555;
}

/* Estilos específicos para misión y visión */
.mision {
  border-left: 6px solid #e63946;
}

.vision {
  border-left: 6px solid #0077b6;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  .card-info {
    padding: 20px;
  }

  .card-info h2 {
    font-size: 26px;
  }

  .card-info p {
    font-size: 16px;
  }
}

/* Fondo especial para misión y visión */
.mision-bg {
  background: linear-gradient(135deg, #ffe6e6, #fff);
}
.vision-bg {
  background: linear-gradient(135deg, #e6f0ff, #fff);
}

/* Estilos tarjeta misión/visión */
.card-info {
  position: relative;
  max-width: 800px;
  background: #fff;
  padding: 50px 30px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-info:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.card-info h2 {
  font-size: 32px;
  margin: 20px 0;
  color: #333;
  font-weight: 700;
}

.card-info p {
  font-size: 18px;
  line-height: 1.6;
  color: #444;
  max-width: 700px;
  margin: auto;
}

/* Iconos */
.icono-seccion {
  font-size: 60px;
  color: #ff6600;
  margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .card-info {
    padding: 30px 20px;
  }
  .card-info h2 {
    font-size: 26px;
  }
  .card-info p {
    font-size: 16px;
  }
  .icono-seccion {
    font-size: 45px;
  }
}
/* ===== HERO ===== */
.hero {
  background: url('https://images.unsplash.com/photo-1601050690597-58d9f0c91cf5?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  position: relative;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
}
.hero-contenido {
  position: relative;
  max-width: 700px;
  z-index: 1;
}
.hero-contenido h2 {
  font-size: 42px;
  margin-bottom: 20px;
  animation: fadeInDown 1s ease-in-out;
}
.hero-contenido p {
  font-size: 20px;
  margin-bottom: 30px;
  line-height: 1.6;
  animation: fadeInUp 1.2s ease-in-out;
}

/* Botón CTA */
.btn-cta {
  background: linear-gradient(135deg, #ff3b3f, #ff7f50);
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  color: #fff;
  transition: background 0.3s ease;
}
.btn-cta:hover {
  background: linear-gradient(135deg, #ff2a2d, #ff6330);
}

/* Animaciones */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== DESTACADOS ===== */
.destacados {
  padding: 60px 20px;
  background: #f7f9fc;
  text-align: center;
}
.titulo-seccion {
  font-size: 32px;
  margin-bottom: 40px;
  color: #e63946;
  font-weight: 700;
}
.grid-destacados {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}
.card-dest {
  background: #fff;
  padding: 30px 20px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card-dest:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.card-dest i {
  font-size: 45px;
  color: #ff6600;
  margin-bottom: 15px;
}
.card-dest h3 {
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #333;
}
.card-dest p {
  font-size: 16px;
  color: #555;
}

/* ===== CTA FINAL ===== */
.cta {
  padding: 60px 20px;
  background: linear-gradient(135deg, #ff7f50, #ff3b3f);
  text-align: center;
  color: #fff;
}
.cta h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

/* ===== QUIÉNES SOMOS ===== */
.quienes-somos {
  background: #f7f9fc;
  padding: 60px 20px;
}

.quienes-somos .card-info {
  max-width: 900px;
  background: #fff;
  padding: 50px;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
  text-align: center;
  margin: auto;
}

.quienes-somos h2 {
  font-size: 34px;
  margin-bottom: 25px;
  color: #ff6600;
}

.quienes-somos p {
  font-size: 18px;
  color: #444;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ===== VALORES ===== */
.valores {
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(135deg, #ff7f50, #ff3b3f);
  color: #fff;
}

.grid-valores {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-top: 40px;
}

.valor {
  background: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 14px;
  transition: transform 0.3s, background 0.3s;
}

.valor:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.2);
}

.valor i {
  font-size: 40px;
  margin-bottom: 15px;
  color: #fff;
}

.valor h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 600;
}

.valor p {
  font-size: 16px;
  color: #eee;
}
/* Logo en el header */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.logo-container .logo {
  height: 50px;       /* ajusta el tamaño del logo */
  width: auto;
  border-radius: 8px; /* opcional si quieres esquinas redondeadas */
}

header h1 {
  font-size: 26px;
  font-weight: 700;
  color: #333;
}



