:root {
  --rosa: #FF7EB3;
  --teal: #00B4A2;
  --morado-claro: #CFA8E6;
  --fondo: #ffffff;
  --texto: #333333;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background-color: var(--fondo);
  color: var(--texto);
  line-height: 1.6;
  scroll-behavior: smooth;
}

header {
  background-color: var(--teal);
  padding: 30px 0 10px;
  text-align: center;
}

.header-inner {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
}

.logo {
  width: 180px;
  margin-bottom: 15px;
}

.navbar {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nav-container {
  display: flex;
  justify-content: center;
  width: 100%;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 0;
  margin: 0;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  transition: color 0.3s ease;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: #ffc0ea;
}

.hero {
  background: linear-gradient(135deg, var(--rosa), var(--morado-claro));
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.hero a.btn-hero {
  display: inline-block;
  margin-top: 1rem;
  background-color: white;
  color: var(--teal);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.hero a.btn-hero:hover {
  background-color: var(--morado-claro);
  color: white;
}

section {
  padding: 2rem;
  max-width: 1000px;
  margin: auto;
}

h2 {
  color: var(--teal);
  margin-bottom: 1rem;
  font-size: 2rem;
  text-align: center;
}

form input,
form textarea {
  width: 100%;
  padding: 0.75rem;
  margin: 0.5rem 0;
  border: 1px solid #ccc;
  border-radius: 5px;
  resize: vertical;
}

form button {
  background-color: var(--rosa);
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

form button:hover {
  background-color: #ff5e9e;
}

.info-contacto p {
  margin: 0.5rem 0;
}

footer {
  background-color: var(--morado-claro);
  color: white;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.95rem;
}

.menu-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.menu-item,
.gallery-item {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s;
}

.menu-item:hover,
.gallery-item:hover {
  transform: translateY(-5px);
}

.gallery-item img {
  max-width: 100%;
  border-radius: 8px;
  object-fit: cover;
  height: 200px;
}

/* Entry animations */
.fade-in {
  animation: fadeIn 1s ease-in-out both;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }
  .logo {
    max-width: 150px;
    margin-bottom: 0.5rem;
  }
  .nav-links {
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

/* === Mobile hamburger menu === */
@media (max-width: 768px) {
  /* Hide nav by default */
  #site-nav.nav-closed {
    display: none;
  }
  /* Show nav when open */
  #site-nav.nav-open {
    display: flex;
    flex-direction: column;
    background: var(--teal);
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
  }
  /* Hamburger button */
  .hamburger {
    display: flex;
    position: absolute;
    top: 1rem;
    right: 1rem;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1000;
  }
  .hamburger .hamburger-bar {
    width: 24px;
    height: 3px;
    margin: 4px 0;
    background: white;
  }
  /* Nav links in mobile */
  #site-nav.nav-open .nav-links {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
    list-style: none;
    margin: 0;
  }
}
/* === Ajustes generales de grid para desktop === */
.menu-grid,
.gallery-grid {
  display: grid;
  /* 3 columnas iguales de mínimo 200px cada una */
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

/* Limitar tamaño de las imágenes y recorte centrado */
.menu-item img,
.gallery-item img {
  width: 100%;
  height: 180px;      /* altura fija */
  object-fit: cover;  /* recorta y centra */
  border-radius: 8px;
}

/* Ajuste del contenedor de cada tarjeta */
.menu-item,
.gallery-item {
  padding: 1rem;
  max-width: 100%;
}

/* === Ajustes extra para el “Coming Soon” grande === */
/* Si tus "Coming Soon" van dentro de .menu-item, limita su texto y tamaño */
.menu-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.menu-item .coming-soon {
  height: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--rosa), var(--morado-claro));
  color: white;
  font-size: 1.5rem;
  text-align: center;
  border-radius: 8px;
}

/* === Refiere siempre el grid antes del media query móvil === */

/* === Ajustes para móvil (recordar llevarlos al final) === */
@media (max-width: 768px) {
  .menu-grid,
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
  }

  .menu-item img,
  .gallery-item img {
    height: 120px;
  }

  .menu-item,
  .gallery-item {
    padding: 0.5rem;
  }
}
/* ===== Header 100% centrado ===== */
header .header-inner {
  display: flex;
  flex-direction: column;    /* columna: logo arriba, menú abajo */
  align-items: center;       /* centra logo y nav */
  text-align: center;        /* texto centrado */
  padding: 1rem 0;           /* espacios arriba/abajo */
}

/* Logo un poco más grande y con margen inferior */
header .header-inner .logo {
  width: 200px;
  height: auto;
  margin-bottom: 0.75rem;
}

/* Nav: siempre centrado bajo el logo */
header .header-inner nav {
  width: 100%;
}

header .header-inner .nav-links {
  display: flex;
  justify-content: center;   /* centra los items del menú */
  gap: 2rem;                 /* espaciado entre enlaces */
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Quita ese guión o punto que aparece antes de “Home” */
header .header-inner .nav-links li::before {
  content: none;
}

/* Enlaces blancos, activos y hover */
header .header-inner .nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: color 0.3s;
}

header .header-inner .nav-links a:hover,
header .header-inner .nav-links a.active {
  color: var(--rosa);
}



/* Ajustes extra para móvil (si luego vuelves a activar el menú hamburguesa) */
@media (max-width: 768px) {
  header .header-inner .nav-links {
    flex-direction: column;
    gap: 1rem;
  }
}
/* Quita cualquier viñeta o punto de las <ul> de navegación */
header .nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
header .header-inner .nav-links li::before {
  content: none;
}
