:root {
  --primary: #6f4e37;
  --accent: #25D366;
  --bg: #f7f5f2;
  --card: #ffffff;
  --text: #2e2e2e;
}

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background:
    linear-gradient(
      rgba(247, 245, 242, 0.50),
      rgba(247, 245, 242, 0.50)
    ),
    url("https://images.unsplash.com/photo-1511920170033-f8396924c348");

  background-size: cover;
  background-position: center;
  background-attachment: fixed;

  color: var(--text);
  line-height: 1.6;
}

/* HEADER */
header {
  background: linear-gradient(135deg, #0f3d2e, #1f6f54);
  color: white;
  text-align: center;
  padding: 1.8rem 1rem;
}

header h1 {
  font-size: 2.5rem;
}

header p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* MAIN */
main {
  max-width: 1100px;
  margin: auto;
  padding: 2rem 1rem;
}

section {
  margin-bottom: 3rem;
}

h2 {
  margin-bottom: 1rem;
  color: var(--primary);
}

/* CARDS */
.card {
  background: var(--card);
  padding: 1.8rem;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* MENU */
.menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
  font-weight: 500;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.menu-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

/* TAGS */
.tag {
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 6px;
  margin-left: 6px;
  font-weight: 600;
}

.veg {
  background: #1f6f54;
  color: white;
}

/* PDF BUTTON */
.menu-pdf {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: 12px 20px;
  background: #1f6f54;
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: background 0.3s ease, transform 0.2s ease;
}

.menu-pdf:hover {
  background: #14523f;
  transform: scale(1.05);
}

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.gallery img:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}

/* FOOTER */
footer {
  background: #2b1b14;
  color: white;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.9rem;
}

/* WHATSAPP */
.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: var(--accent);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  animation: pulse 2.5s infinite;
  z-index: 1000;
}

.whatsapp svg {
  width: 32px;
  height: 32px;
  fill: white;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* SCROLL REVEAL */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* HERO VIDEO */
.hero-video {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.hero-video video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}

/* Overlay oscuro para legibilidad */
.hero-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2;
}

/* Texto encima del video */
.hero-overlay {
  position: relative;
  z-index: 3;
  height: 100%;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1rem;
}

.hero-overlay h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 0.5rem;
}

.hero-overlay p {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* Indicador de scroll */
.scroll-indicator {
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.8;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}