/* ======================
   RESET
====================== */

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

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #F8F6F2;
  color: #4A4A4A;
  line-height: 1.7;
  padding-top: 120px; /* Ajusta según altura real del header */
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.5px;
}

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

/* ======================
   HEADER PROFESIONAL LIMPIO
====================== */

.main-header {
  background: #2E5E3E;
  padding: 18px 0;
  z-index: 10000;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  transition: all 0.3s ease;
}

.header-container {
  max-width: 1200px;
  margin: auto;
  padding: 0 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo img {
  height: 70px; /* antes 90px, demasiado grande */
  width: auto;
}

/* NAV DESKTOP */

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: 0.3s ease;
}

.main-nav a:hover {
  opacity: 0.75;
}

.nav-highlight {
  font-weight: 600;
  border-bottom: 2px solid #8BC34A;
  padding-bottom: 4px;
}

/* ======================
   MENÚ MÓVIL
====================== */

.menu-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

@media (max-width: 900px) {

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #2E5E3E;
    flex-direction: column;
    display: none;
    padding: 25px 0;
    z-index: 10001;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    padding: 15px 0;
    text-align: center;
    display: block;
  }

}
/* ======================
   HERO
====================== */

.hero {
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.hero h1 {
  font-size: 72px;
  margin-bottom: 20px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(46,94,62,0.55);
}

.hero-content {
  position: relative;
  color: #F8F6F2;
  max-width: 800px;
  padding: 20px;
  z-index: 2;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: 64px;
  margin-bottom: 20px;
  text-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.hero-content p {
  font-size: 22px;
  margin-bottom: 30px;
}

.hero-img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}
/* ======================
   BOTONES
====================== */

.btn-primary {
  background: #8BC34A;
  padding: 14px 30px;
  color: #F8F6F2 !important;
  padding: 12px 28px;
  border-radius: 40px;
  border: 1px solid #C2A15F;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-4px);
  background: #1F3A2E;
}

/* ======================
   FOOTER
====================== */

.site-footer {
  background: #2E5E3E;
  color: white;
  padding: 60px 20px;
  margin-top: 80px;
}

.footer-container {
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.footer-links a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
}

.footer-social {
  margin-bottom: 25px;
}

.footer-social img {
  width: 28px;
  height: 28px;
  margin: 0 12px;
  filter: brightness(0) invert(1);
  transition: 0.3s;
}

.footer-social img:hover {
  transform: scale(1.1);
}

.footer-copy {
  margin-top: 25px;
  font-size: 14px;
  opacity: 0.8;
}

.footer-designer {
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.8;
}

.footer-designer a {
  color: #8BC34A;
  text-decoration: none;
}

/* ======================
   GRID CARDS (HOME / BLOG / COMERCIO)
====================== */

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 32px;
  align-items: center;          /* ← CENTRA HORIZONTAL */
  text-align: center;           /* ← CENTRA TEXTO */
  align-content: center;
}

 .container img {
  display: block;
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  font-size: 42px;
}

.grid,
.blog-grid,
.comercio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.home-card,
.blog-card,
.comercio-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  transition: 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;          /* ← CENTRA HORIZONTAL */
  text-align: center;           /* ← CENTRA TEXTO */
  padding-bottom: 25px;
  position: relative;
}

.home-card:hover,
.blog-card:hover,
.comercio-card:hover {
  transform: translateY(-6px);
}

.home-card img,
.blog-card img,
.comercio-card img {
  width: 100%;
  height: auto;
  margin-bottom: 20px;
}

.comercio-card-content {
  padding: 10px 25px 30px 25px;  /* ← MÁS AIRE INFERIOR */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ======================
   BOTONES FLOTANTES
====================== */

.btn-top,
.btn-back {
  position: fixed;
  bottom: 40px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: 0.3s;
  z-index: 9999;
}

.btn-top {
  right: 40px;
  background: #8BC34A;
  color: #1f402b;
}

.btn-back {
  left: 40px;
  background: #2E5E3E;
  color: white;
  display: flex;
}

.btn-top:hover,
.btn-back:hover {
  transform: translateY(-4px);
}

/* ======================
   CONTACTO RESPONSIVE FIX
====================== */

@media (max-width: 768px) {

  .contact-section {
    padding: 60px 15px;
  }

  .contact-container {
    padding: 30px 20px;
    border-radius: 18px;
    max-width: 700px;
    margin: auto;
    background: white;
    padding: 60px;
  }

  .contact-container h1 {
    font-size: 26px;
  }

  .contact-intro {
    font-size: 15px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px; /* evita zoom iPhone */
  }

  .contact-form .btn-primary {
    padding: 14px;
  }

}

/* ======================
   CONTACTO PREMIUM MINIMALISTA
====================== */

.contact-section {
  padding: 120px 20px;
  background: #F5EFE6;
}

.contact-container {
  max-width: 650px;
  margin: auto;
  background: white;
  padding: 70px 60px;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.06);
  text-align: center;
}

.contact-container h1 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  color: #2E5E3E;
  margin-bottom: 15px;
}

.contact-intro {
  font-size: 17px;
  color: #666;
  margin-bottom: 50px;
  line-height: 1.7;
}

.contact-form {
  text-align: left;
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #2E5E3E;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  background: #fafafa;
  transition: all 0.25s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #8BC34A;
  background: white;
  box-shadow: 0 0 0 3px rgba(139,195,74,0.15);
}

.contact-form .btn-primary {
  width: 100%;
  padding: 15px;
  border-radius: 50px;
  font-size: 16px;
  margin-top: 10px;
  box-shadow: 0 10px 30px rgba(139,195,74,0.3);
}

/* Responsive refinado */

@media (max-width: 768px) {

  .contact-section {
    padding: 70px 15px;
  }

  .contact-container {
    padding: 40px 25px;
  }

  .contact-container h1 {
    font-size: 26px;
  }

  .contact-intro {
    font-size: 15px;
  }

}

/* ======================
   FOOTER SOCIAL FIX
====================== */

.footer-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-bottom: 25px;
}

.footer-social a {
  display: inline-flex;
}

.footer-social img {
  width: 28px;
  height: 28px;
  transition: 0.3s ease;
  filter: brightness(0) invert(1);
}

.footer-social img:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

/* ======================
   TARJETAS CENTRADAS
====================== */

.home-card,
.blog-card,
.comercio-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-card img,
.blog-card img,
.comercio-card img {
  width: 100%;
}


.home-card h3,
.blog-card-content h2,
.comercio-card-content h2 {
  text-align: center;
}

.home-card p,
.blog-card-content p,
.comercio-card-content p {
  text-align: center;
  margin-bottom: 22px;   /* ← SEPARACIÓN TEXTO */
  line-height: 1.6;
}

.home-card a,
.blog-card-content a,
.comercio-card-content a {
  display: inline-block;
  margin-top: 10px;
}

.card-simple {
  text-align: center;
}
.card-image img,
.card-comercio img {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 20px;
}

.card-comercio {
  text-align: center;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  transition: 0.3s ease;
}

.card-comercio:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}

.btn-outline {
  display: inline-block;
  padding: 10px 22px;
  border: 1px solid #C2A15F;
  text-decoration: none;
  color: #4A4A4A;
  transition: 0.3s ease;
}

.btn-outline:hover {
  background: #1F3A2E;
  color: #F8F6F2;
}

.filtros-categorias {
  margin: 30px 0 50px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filtro-btn {
  padding: 8px 18px;
  background: #E9E1D4;
  color: #1F3A2E;
  border-radius: 30px;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.filtro-btn:hover {
  background: #1F3A2E;
  color: #F8F6F2;
  border: 1px solid #1F3A2E;
}

.filtro-btn.active {
  background: #1F3A2E;
  color: #F8F6F2;
}

.cookie-banner {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #F8F6F2;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  border-radius: 14px;
  padding: 20px 30px;
  max-width: 500px;
  width: 90%;
  z-index: 9999;
  display: none;
}

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cookie-content p {
  font-size: 14px;
  color: #4A4A4A;
  margin: 0;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.btn-cookie {
  padding: 8px 18px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  font-size: 13px;
  transition: 0.3s ease;
}

.btn-cookie.primary {
  background: #1F3A2E;
  color: #F8F6F2;
}

.btn-cookie.secondary {
  background: #E9E1D4;
  color: #1F3A2E;
}

.btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background: #E9E1D4;
  color: #1F3A2E;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-secondary:hover {
  background: #1F3A2E;
  color: #F8F6F2;
}

.badge-premium {
  position: absolute;
  top: 15px;
  left: 15px;
  background: gold;
  color: #fff;
  font-weight: 600;
  border-radius: 20px;
  z-index: 5;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  display: inline-block;
  margin-top: 10px;
  margin-bottom: 10px;
}

.badge-premium-detalle {
  display: inline-block;
  background: linear-gradient(135deg,#f7b733,#fc4a1a);
  color: #fff;
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.card-premium {
  border: 2px solid #f7b733;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.blog-date {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 10px;
}

.main-header.scrolled {
  background: rgba(2, 108, 37, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.destaca-section {
  padding: 80px 20px;
  background: #f9f6f2;
}

.destaca-section h1 {
  text-align: center;
  margin-bottom: 10px;
}

.subtitle {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 40px;
}

.planes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin: 60px 0;
}

.plan-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  text-align: center;
}

.plan-card.destacado {
  border: 2px solid #2E5E3E;
  transform: scale(1.03);
}

.plan-card h2 {
  margin-bottom: 20px;
}

.plan-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.price {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 20px;
}

.btn-primary {
  display: inline-block;
  padding: 12px 25px;
  background: #2E5E3E;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-primary:hover {
  background: #244a31;
}

.formulario-section {
  margin-top: 80px;
}

.formulario-section form {
  display: grid;
  gap: 15px;
  max-width: 600px;
  margin: 0 auto;
}

.formulario-section input,
.formulario-section textarea,
.formulario-section select {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.restaurante-ficha {
  padding: 80px 20px;
  background: #fff;
}

.restaurante-ficha h1 {
  margin-bottom: 10px;
}

.subtitulo {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #666;
}

.restaurante-contenido h2 {
  margin-top: 40px;
  margin-bottom: 15px;
}

.restaurante-contenido ul {
  margin-left: 20px;
}

.cta-restaurante {
  margin-top: 60px;
  text-align: center;
}

.pilar-restaurantes {
  padding: 80px 20px;
  background: #f9f6f2;
}

.listado-restaurantes {
  margin-top: 40px;
  display: grid;
  gap: 30px;
  margin-top: 40px;
}

.restaurante-card {
  background: #fff;
  padding: 35px;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  position: relative;
}

.restaurante-card h3 {
  margin-bottom: 10px;
}

.home-restaurantes {
  padding: 80px 20px;
  background: #fff;
  text-align: center;
}

.home-restaurantes-feature {
  padding: 80px 20px;
}

.home-restaurantes h2 {
  margin-bottom: 15px;
}

.menu-destacado a {
  font-weight: 600;
  color: #2E5E3E;
}

.restaurante-card.premium {
  border: 2px solid #2E5E3E;
}

/* ======================
   LISTAS CENTRADAS BLOG
====================== */

.container ul {
  list-style-position: inside;
  padding-left: 0;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.container ul li {
  text-align: left;
  margin: 6px 0;
}

.imagen-articulo {
  width: 100%;
  border-radius: 14px;
  margin: 30px 0;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.cta-ver-todos {
  text-align: center;
  margin: 50px 0;
}

.badge-novedad {
  position: absolute;
  top: 15px;
  right: 15px;
  background: #8BC34A;
  color: #1F3A2E;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.info-actualizacion {
  margin: 25px 0 35px 0;
  padding: 12px 18px;
  background: #F5EFE6;
  border-left: 4px solid #2E5E3E;
  font-size: 0.9rem;
  color: #4A4A4A;
  border-radius: 6px;
}

.contador-restaurantes strong {
  font-size: 1.1rem;
  margin: 15px 0 25px 0;
  font-size: 1rem;
  color: #2E5E3E;
  font-weight: 500;
}

.top-restaurantes {
  margin: 25px 0;
  padding-left: 20px;
}

.top-restaurantes li {
  margin-bottom: 15px;
  line-height: 1.6;
}

.etiqueta-top {
  margin-left: 8px;
  font-size: 0.75rem;
  background: #2E5E3E;
  color: #fff;
  padding: 3px 8px;
  border-radius: 12px;
}

.grid-turismo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  margin: 40px 0;
}

.card-turismo {
  background: #fff;
  padding: 25px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  transition: 0.3s ease;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-turismo:hover {
  transform: translateY(-6px);
}

.card-turismo h3 {
  margin-bottom: 10px;
}

.card-turismo a {
  text-decoration: none;
  color: inherit;
}

.hero-turismo {
  position: relative;
  height: 70vh;
  background: url('/assets/img/turismo-elche-hero.webp') center/cover no-repeat fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-turismo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 2;
}

.hero-turismo-content {
  position: relative;
  color: #fff;
  max-width: 800px;
  padding: 20px;
  z-index: 3;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/assets/img/turismo-elche-hero.webp') center/cover no-repeat;
  transform: scale(1);
  transition: transform 0.2s ease-out;
  z-index: 1;
}

.hero-turismo h1 {
  font-size: 60px;
  margin-bottom: 20px;
}

.hero-turismo p {
  font-size: 22px;
}

.intro-turismo {
  margin: 60px 0 30px 0;
  font-size: 1.1rem;
}

.btn-hero {
  display: inline-block;
  margin-top: 30px;
  padding: 14px 28px;
  background: #8BC34A;
  color: #1F3A2E;
  font-weight: 600;
  border-radius: 40px;
  text-decoration: none;
  transition: 0.3s ease;
}

.btn-hero:hover {
  background: #ffffff;
  color: #2E5E3E;
  transform: translateY(-3px);
}

html {
  scroll-behavior: smooth;
}

.ficha-restaurante {
  max-width: 900px;
  margin: 40px auto;
}

.ficha-imagen {
  width: 100%;
  border-radius: 12px;
  margin: 20px 0;
}

.ficha-datos p {
  margin: 8px 0;
}

/* =========================
   GALERÍA PINTEREST STYLE
========================= */

.gallery-section {
  padding: 60px 0;
}

.titulo-galeria {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.4rem;
}

/* Masonry real */
.galeria-masonry {
  column-count: 4;
  column-gap: 20px;
}

.galeria-item {
  break-inside: avoid;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 14px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.galeria-item img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  transition: transform 0.4s ease;
}

.galeria-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.galeria-item:hover img {
  transform: scale(1.04);
}

/* Responsive */

@media (max-width: 1200px) {
  .galeria-masonry {
    column-count: 3;
  }
}

@media (max-width: 768px) {
  .galeria-masonry {
    column-count: 2;
  }
}

@media (max-width: 480px) {
  .galeria-masonry {
    column-count: 1;
  }
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 9999;
  backdrop-filter: blur(5px);
}

.lightbox-img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 12px;
  border-radius: 14px;
  animation: fadeZoom 0.4s ease;
}

@keyframes fadeZoom {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.cerrar {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 38px;
  color: white;
  cursor: pointer;
}

/* ===============================
   GALERÍA INSTAGRAM PREMIUM
================================ */

.gallery-section {
  padding: 70px 0;
}

.titulo-galeria {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2.5rem;
  font-weight: 600;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Card cuadrada perfecta */
.galeria-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 18px;
  cursor: pointer;
  background: #f5f5f5;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.galeria-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Overlay premium */
.galeria-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.1));
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.galeria-overlay span {
  color: white;
  font-weight: 500;
  letter-spacing: 1px;
  font-size: 0.9rem;
  text-transform: uppercase;
}

/* Hover efecto Instagram */
.galeria-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.galeria-card:hover img {
  transform: scale(1.08);
}

.galeria-card:hover .galeria-overlay {
  opacity: 1;
}

/* Responsive */

@media (max-width: 992px) {
  .galeria-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .galeria-grid {
    grid-template-columns: 1fr;
  }
}

.credit {
  font-size: 0.85rem;
  color: #777;
  margin-top: 6px;
  margin-bottom: 20px;
}
.credit a {
  color: #2E5E3E;
  text-decoration: none;
}
.credit a:hover {
  text-decoration: underline;
}

.image-credits {
  margin-top: 60px;
  padding: 30px 0;
  background: #f8f8f8;
  border-top: 1px solid #eee;
}

.image-credits h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.image-credits p,
.image-credits li {
  font-size: 0.9rem;
  color: #666;
}

.image-credits ul {
  margin: 10px 0 20px 20px;
}

.image-credit {
  font-size: 0.8rem;
  color: #999;
  margin-top: 6px;
  margin-bottom: 30px;
}

.update {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 20px;
}

.home-sub-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 25px 0 35px 0;
  justify-content: center;
}

.home-sub-links a {
  background: #f3f3f3;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 14px;
  text-decoration: none;
  color: #333;
  transition: 0.2s ease;
}

.home-sub-links a:hover {
  background: #2E5E3E;
  color: #fff;
}

.slider-restaurante{
display:flex;
gap:12px;
overflow-x:auto;
scroll-snap-type:x mandatory;
margin:20px 0;
}

.slide{
flex:0 0 320px;
scroll-snap-align:start;
}

.slide img{
width:100%;
height:220px;
object-fit:cover;
border-radius:12px;
}

main img{
width:100%;
height:auto;
display:block;
border-radius:10px;
margin:20px 0;
}

.blog-img{
width:100%;
max-width:900px;
height:auto;
object-fit:cover;
border-radius:12px;
margin:auto;
}

.image-credit{
font-size:12px;
color:#777;
margin-top:-10px;
margin-bottom:20px;
}