/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BASE */
body {
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: #00530a;
  overflow-x: hidden;
}

h1, h2 {
  font-family: 'Playfair Display', serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

/* CONTAINER */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-1 {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

/* HEADER */
.header {
  background: #00530a;
  color: #fff;
  padding: 15px 0;
  position: relative;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-contacto {
  background: #c62828;
  color: #fff;
  padding: 10px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}

/* HERO (ARREGLADO) */
.hero {
  position: relative;
  min-height: 90vh;
  background: url('hero.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo {
  width: 190px;
  margin: 0 auto 20px; /* 👈 centra + espacio abajo */
  display: block;       /* 👈 CLAVE para que margin auto funcione */
}

.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* overlay oscuro */
.overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(920px, calc(100% - 32px));
  text-align: center;
  color: #fff;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  margin-bottom: 20px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 22px auto 0;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  background: rgba(0,0,0,0.32);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

/* BOTONES */
.buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn {
  padding: 14px 20px;
  font-size: 16px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
}

.primary {
  background: #c62828;
  color: #fff;
}

.secondary {
  background: #fff;
  color: #000;
}

.review-cta {
  background: #f5c542;
  color: #2b1800;
  font-weight: 700;
  padding: 16px 24px;
  box-shadow: 0 10px 26px rgba(245, 197, 66, 0.42);
}

.review-cta:hover,
.review-cta:focus {
  background: #ffd65a;
  transform: translateY(-2px);
}

.whatsapp {
  background: #25D366;
  color: #fff;
}

/* SECTIONS */
.section {
  padding: 60px 0;
  text-align: center;
}

.section.dark {
  background: #06540f;
  color: #fff;
  padding: 30px 0 10px;
}

.section-lead {
  max-width: 760px;
  margin: 0 auto 30px;
  color: #45624a;
  font-size: 18px;
  line-height: 1.7;
}

.featured-dishes {
  background: #fff7ed;
}

.featured-dishes h2 {
  color: #7a1616;
  margin-bottom: 12px;
}

.dish-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-auto-rows: 260px;
  gap: 18px;
}

.dish-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #111;
  color: #fff;
  box-shadow: 0 16px 36px rgba(0,0,0,0.18);
}

.dish-card-large {
  grid-row: span 2;
}

.dish-card:nth-child(6) {
  grid-column: 2;
}

.dish-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease, filter 0.35s ease;
}

.dish-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05), rgba(0,0,0,0.72));
}

.dish-card:hover img,
.dish-card:focus img {
  transform: scale(1.05);
  filter: saturate(1.08);
}

.dish-card-text {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 1;
  text-align: left;
}

.dish-card-text span {
  display: inline-block;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(245,197,66,0.94);
  color: #2b1800;
  font-size: 12px;
  font-weight: 700;
}

.dish-card-text strong {
  display: block;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.05;
  text-shadow: 0 3px 18px rgba(0,0,0,0.45);
}

.featured-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  border-radius: 12px;
  padding: 20px;
  background: #c62828;
  color: #fff;
}

.card-pizza {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  border-radius: 12px;
  padding: 20px;
  background: #c62828;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/img/recursos/capricciosa.webp') center/cover no-repeat;
  color: #fff;
}

.card-anti {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  border-radius: 12px;
  padding: 20px;
  background: #c62828;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/img/recursos/Antipasto.webp') center/cover no-repeat;
  color: #fff;
}

.card-pasta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  border-radius: 12px;
  padding: 20px;
  background: #c62828;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/img/recursos/spaguetisstanlio.webp') center/cover no-repeat;
  color: #fff;
}

.card-fritura {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  border-radius: 12px;
  padding: 20px;
  background: #c62828;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/img/recursos/fritura.webp') center/cover no-repeat;
  color: #fff;
}

.card-postres {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  border-radius: 12px;
  padding: 20px;
  background: #c62828;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/img/recursos/coulan_de_pistachio.webp') center/cover no-repeat;
  color: #fff;
}

/* GALERÍA LINK */
.gallery-link {
  position: relative;
  display: block;
  max-width: 800px;
  margin: 20px auto 0;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
}

.gallery-link img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-link:hover img {
  transform: scale(1.05);
}

.gallery-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 600;
  z-index: 2;
}

/* CTA */
.cta {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/img/recursos/cta-bg.webp') center/cover no-repeat;
  padding: 50px 20px 20px;
  text-align: center;
  color: #fff;
}



/* FOOTER */
.footer {
  background: #00530a;
  color: #fff;
  text-align: center;
  padding: 20px;
}

/* MAP */
iframe {
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* BOTÓN LLAMADA */
.call-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #c62828;
  color: white;
  font-size: 22px;
  padding: 15px;
  border-radius: 50%;
  z-index: 10;
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: auto;
  }

  .overlay {
    position: relative;
    min-height: auto;
    padding: 44px 0 54px;
  }

  .hero-logo {
    width: 140px;
    margin-bottom: 16px;
  }

  .hero-trust {
    gap: 8px;
  }

  .hero-trust span {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  .dish-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .dish-card-large {
    grid-row: span 1;
  }

  .dish-card:nth-child(6) {
    grid-column: auto;
  }

  .hero h2 {
    font-size: 24px;
  }

  .hero p {
    font-size: 14px;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .btn-contacto {
    padding: 12px 18px;
    font-size: 16px;
  }

  .call-btn {
    display: block;
  }
}

@media (min-width: 769px) {
  .call-btn {
    display: none;
  }
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.review-card {
  background: #fff;
  color: #000;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  font-size: 14px;
}

.review-card span {
  display: block;
  margin-top: 10px;
  font-weight: bold;
  color: #c62828;
}

.card-link {
  display: flex;
  min-height: 150px;
  padding: 24px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.card-link:hover {
  transform: translateY(-4px);
  filter: brightness(1.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}

.card-link span {
  font-size: 34px;
  line-height: 1;
}

.card-link strong {
  font-size: 18px;
  line-height: 1.3;
}

.card-link small {
  opacity: 0.8;
  font-size: 13px;
  font-weight: 600;
}
