:root {
  --negro: #111;
  --ocre: #c19a6b;
  --gris: #f8f9fa;
}

body {
  font-family: 'Helvetica Neue', sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--gris);
  color: var(--negro);
  scroll-behavior: smooth;
}

/* Navbar inicial transparente */
.navbar {
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.navbar-transparent {
  background: rgba(0, 0, 0, 0.1); /* más claro que 0.3 para que se vea mejor */
}

/* Navbar cuando haces scroll */
.navbar-scrolled {
  background: rgba(0, 0, 0, 0.9);
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}


/* Hero */
.hero {
  position: relative;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
}
.hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
}
.hero-text {
  z-index: 1;
  position: relative;
}
.hero h1 {
  font-size: 3rem;
  color: var(--ocre);
}
.logo-hero {
  max-width: 280px;
}

/* Secciones parallax */
.parallax {
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
}
@media (max-width: 768px) {
  .parallax {
    background-attachment: scroll;
    background-size: cover;
    min-height: 60vh;
  }
}

/* Enlaces de WhatsApp */
.whatsapp-link {
  color: #25D366;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
}
.whatsapp-link:hover {
  color: #1ebe57;
  text-decoration: underline;
}

/* Botones */
.btn-ocre {
  background-color: #c5a46d;
  border: none;
  color: #000;
  font-weight: bold;
  border-radius: 50px;
  padding: 10px 25px;
  transition: 0.3s;
}
.btn-ocre:hover {
  background-color: #e3c991;
  color: #000;
}

/* Productos */
.producto-card img {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.producto-card img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}
.producto-card h5 {
  color: var(--ocre);
  margin-top: 15px;
}

/* Botón WhatsApp flotante */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: transform 0.3s ease;
}
.whatsapp-float:hover {
  transform: scale(1.1);
}

/* Footer */
footer {
  background-color: var(--negro);
  color: var(--ocre);
  font-size: 0.9rem;
}

/* Horario */
.text-ocre {
  color: #c19a6b;
  font-weight: bold;
}
.list-group-item {
  border: none;
  font-size: 1rem;
}
/* Fin Horario */

/* Animaciones on scroll */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-on-scroll.show {
  opacity: 1;
  transform: translateY(0);
}
.animate-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-left.show {
  opacity: 1;
  transform: translateX(0);
}
.animate-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-right.show {
  opacity: 1;
  transform: translateX(0);
}
.animate-zoom {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-zoom.show {
  opacity: 1;
  transform: scale(1);
}
.cookie-consent {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(0,0,0,0.95);
  color: #fff;
  padding: 20px 25px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  z-index: 99999;
  display: none;
  font-size: 14px;
  animation: slideUp 0.5s ease forwards;
}
.cookie-consent-advanced {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(0,0,0,0.95);
  color: #fff;
  padding: 20px 25px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  z-index: 99999;
  font-size: 14px;
  display: none;
}

.cookie-buttons-advanced button {
  margin: 8px;
  padding: 8px 18px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 500;
}

.cookie-btn.accept { background-color: #25D366; color: #fff; }
.cookie-btn.manage { background-color: #f0ad4e; color: #fff; }

.cookie-settings-panel {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.95);
  color: #fff;
  padding: 25px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  z-index: 100000;
  display: none;
  max-width: 400px;
  font-size: 14px;
}
.cookie-settings-panel h3 { margin-top: 0; color: #25D366; }
.cookie-settings-panel label { display: block; margin: 8px 0; }
