/* Tipografía elegante */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600&family=Inter:wght@400;500&display=swap');

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background-color: #00291d;
  color: #fff;
}

/* ===== NAVBAR ===== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 3rem;
  background-color: #00291d;
  border-bottom: 1px solid #1c5c47;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 40px;
  height: 40px;
}

.logo h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  color: #fff;
}

/* Centrado del grupo de enlaces del navbar */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 2.5rem;
  margin-left: 4rem;
}

.nav-links a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 1rem;
}

.nav-links a:hover {
  color: #b8f3d0;
}

.menu-btn {
  background-color: #0a5036;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}

.menu-btn:hover {
  background-color: #0f6848;
  transform: translateY(-2px);
}

/* ===== MENÚ DESPLEGABLE ===== */
.menu-content {
  display: none;
  background-color: #ffffff;
  color: #000;
  border-radius: 20px;
  margin: 2rem auto;
  max-width: 1100px;
  padding: 3rem;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  transition: all 0.4s ease;
}

.menu-content.visible {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== ESTRUCTURA ===== */
.menu-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.menu-category h3 {
  color: #0f6848;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  font-family: "Inter", sans-serif;
}

.menu-category p {
  margin: 6px 0;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* ===== PROMO ===== */
.promo-box {
  background-color: #0f6848;
  color: #fff;
  border-radius: 18px;
  padding: 2rem 2.5rem;
  margin-top: 2.5rem;
  text-align: center;
}

.promo-box h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.promo-box p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.promo-box a {
  color: #fff;
  text-decoration: underline;
  font-weight: 500;
}

/* ===== BOTONES INFERIORES ===== */
.actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 2.5rem 0;
}

.actions button {
  background-color: #0a5036;
  color: #fff;
  border: none;
  padding: 12px 26px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  font-size: 1rem;
  font-weight: 500;
}

.actions button:hover {
  background-color: #0f6848;
  transform: translateY(-2px);
}

.hero {
  text-align: center;       /* Centra el texto */
  margin: 11rem 1rem 3rem 1rem;        /* Espacio arriba y abajo */
}

.hero h1 {
  font-family: "Playfair Display", serif;  /* Elegante */
  font-size: 3rem;         /* Tamaño grande */
  color: #fff;
  text-shadow: 2px 2px 8px rgba(255,255,255,0.3); /* Sombra ligera */
  margin-bottom: 1rem;
}

.hero p {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  color: #fff;
  opacity: 0.9;
}

/* ===== HERO ===== */
.hero {
  text-align: center;
  margin: 6rem 1rem 3rem 1rem; /* espacio desde el navbar */
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(255,255,255,0.3);
  margin-bottom: 1rem;
}

.hero p {
  font-family: "Inter", sans-serif;
  font-size: 1.2rem;
  color: #fff;
  opacity: 0.9;
  margin-bottom: 2rem;
}

/* Contenedor de botones */
.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 0.3rem; /* espacio entre botones */
}

/* Botones */
.hero-btn {
  background-color: transparent;
  border: 2px solid #fff;
  color: #fff;
  padding: 12px 30px;
  font-size: 1.2rem;
  border-radius: 12px;
  cursor: pointer;
  font-family: "Playfair Display", serif;
  transition: all 0.3s;
  text-shadow: 1px 1px 5px rgba(255,255,255,0.5);
}

.hero-btn:hover {
  background-color: #0f6848; /* verde oscuro */
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.gallery {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 3rem 0;
}

.gallery-container {
  position: relative;
  width: 70%;
  max-width: 900px;
}

/* Imagen principal */
.main-img {
  width: 67%; /* tamaño más pequeño */
  border-radius: 20px;
  display: block;
  position: relative;
  z-index: 1; /* debajo de las laterales */
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  margin: 0 auto;
}

/* Imágenes laterales */
.side-img {
  width: 50%;
  border-radius: 16px;
  position: absolute;
  z-index: 2; /* sobre la central */
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: transform 0.3s, top 0.3s;
}

/* Imagen izquierda */
.side-img.left {
  left: -15%;
  top: var(--top-left, 50%); /* puedes cambiar este valor fácilmente */
}

/* Imagen derecha */
.side-img.right {
  right: -15%;
  top: var(--top-right, 20%); /* puedes cambiar este valor fácilmente */
}

/* Hover */
.side-img:hover {
  transform: scale(1.05);
  z-index: 3;
}
