/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  color: #333;
  padding-top: 70px; /* Espacio para el menú fijo */
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}

/* Header con fondo */
header {
  height: 80vh;
  position: relative;
  text-align: center;
  color: white;
}

.overlay {
  background: rgba(0, 0, 0, 0.6);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

header h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
}

header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #f0e68c;
}

header p {
  font-size: 1.5rem;
  margin-bottom: 30px;
}

/* Botones principales */
.btn {
  display: inline-block;
  background: #556B2F;
  color: white;
  padding: 12px 30px;
  margin: 10px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}

.btn:hover {
  background: #3e4c24;
}

/* Secciones generales */
.section {
  padding: 60px 20px;
  text-align: center;
}

.container {
  width: 1200px;
  margin: 0 auto;
  overflow-x: auto;
}

.bg-light {
  background-color: #fdf6f0;
}

/* Grid de productos */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 40px 0;
}

/* Tarjetas de producto */
.product-card {
  width: 280px;
  border: 1px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  background: white;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  min-height: 440px;
}

.product-card img {
  width: 100%;
  height: 300px; /* Aumentado de 250px a 300px */
  object-fit: contain;
  background: #fff;
  padding: 25px; /* Aumentado de 20px a 25px para más espacio */
  box-sizing: border-box;
  image-rendering: -webkit-optimize-contrast;
  transition: transform 0.3s ease;
}

/* Efecto hover más marcado */
.product-card img:hover {
  transform: scale(1.1);
}

.product-card img:hover {
  transform: scale(1.12);
}

.product-card .info {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card button {
  background: #556B2F;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  width: 100%;
  margin-top: auto;
}

/* Carrito de compras */
.cart {
  margin-top: 40px;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 10px;
  background: white;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #2c3e50;
  color: #ecf0f1;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 20px;
  line-height: 1.6;
}

.footer-content a {
  color: #f0e68c;
  text-decoration: none;
  font-weight: bold;
}

.footer-content a:hover {
  text-decoration: underline;
}

.footer-social {
  margin: 10px 0;
}

/* --- Menú de navegación fijo --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1000;
  padding: 10px 0;
  transition: 0.3s;
}

.nav-container {
  width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.nav-logo-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.nav-logo {
  color: #f0e68c;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  font-family: 'Playfair Display', serif;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0 20px;
  flex-wrap: nowrap;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #556B2F;
}

/* --- Botón hamburguesa (3 líneas) --- */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* --- Menú desplegable en móvil --- */
.nav-menu {
  position: fixed;
  top: 70px;
  right: -100%;
  width: 100%;
  max-width: 300px;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  flex-direction: column;
  align-items: flex-start;
  padding: 20px 0;
  gap: 0;
  transition: right 0.3s ease;
  z-index: 1000;
}

.nav-menu.active {
  right: 0;
}

.nav-item {
  width: 100%;
}

.nav-link {
  color: white;
  padding: 12px 20px;
  width: 100%;
  box-sizing: border-box;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
  .nav-container {
    width: 100%;
    padding: 0 15px;
  }

  .container {
    width: 100%;
    padding: 0 15px;
  }

  header h1 {
    font-size: 2.5rem;
  }

  header h2 {
    font-size: 1.8rem;
  }

  header p {
    font-size: 1.2rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 1rem;
  }

 .product-card {
  width: 280px;
  min-height: 500px; /* Aumentado para acomodar la imagen más grande */
}

  .product-card img {
    height: 220px;
    padding: 20px;
  }

  iframe {
    height: 300px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: 20px;
    bottom: 20px;
    font-size: 20px;
  }
}

/* --- Botón flotante de WhatsApp --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 3px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s;
  z-index: 100;
  color: white;
  font-size: 24px;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}