body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #222;
}

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

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

.overlay {
  background: rgba(0,0,0,0.45);
  padding: 40px;
  text-align: center;
  color: white;
}

.hero h1 {
  font-size: 3.5rem;
  margin: 0;
  letter-spacing: 2px;
}

.hero p {
  font-size: 1.2rem;
  margin: 15px 0;
}

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

.btn.secondary {
  background: #F3E8D0;
  color: #2E5E3E;
}

.btn:hover {
  transform: scale(1.05);
}

.section {
  padding: 60px 10%;
}

.section.light {
  background: #F3E8D0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 15px;
}

.grid img {
  width: 100%;
  border-radius: 10px;
}

.cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  flex: 1;
  min-width: 250px;
}

.card img {
  width: 100%;
  border-radius: 10px;
}

footer {
  background: #2E5E3E;
  color: white;
  text-align: center;
  padding: 20px;
}

.galeria {
  column-count: 3;
  column-gap: 20px;
  padding: 40px 0;
}

.foto {
  break-inside: avoid;
  margin-bottom: 20px;
  cursor: pointer;
}

.foto img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  transition: transform 0.3s ease;
}

.foto:hover img {
  transform: scale(1.03);
}

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

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

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  text-align: center;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 15px;
}

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

.botones-superiores {
  margin-bottom: 30px;
}

.btn-volver {
  display: inline-block;
  padding: 10px 20px;
  background: #2E5E3E;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  transition: 0.3s;
}

.btn-volver:hover {
  background: #1f402b;
}

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

.titulo-galeria {
  text-align: center;
  margin-top: 40px;
}

.botones-superiores {
  text-align: center;
  margin-top: 20px;
}

.btn-volver {
  display: inline-block;
  padding: 10px 20px;
  background: #2E5E3E;
  color: white;
  text-decoration: none;
  border-radius: 30px;
  transition: 0.3s;
}

.btn-volver:hover {
  background: #1f402b;
}

.galeria {
  column-count: 3;
  column-gap: 20px;
  padding: 40px 8%;
}

.foto {
  break-inside: avoid;
  margin-bottom: 20px;
  cursor: pointer;
}

.foto img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  display: block;
  transition: transform 0.3s ease;
}

.foto:hover img {
  transform: scale(1.03);
}

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

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

/* =========================
   LIGHTBOX
========================= */

.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  text-align: center;
}

.lightbox-img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: 15px;
}

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

/* =========================
   BOTÓN SUBIR
========================= */

#btnTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background: #2E5E3E;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: none;
  transition: 0.3s;
}

#btnTop:hover {
  background: #1f402b;
}

/* ===== FONDO GENERAL CON IMAGEN SUAVE ===== */

body {
  position: relative;
  background: none !important;
}

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

footer {
  background: #2E5E3E;
  color: white;
  text-align: center;
  padding: 30px 20px;
}

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

.footer-social a {
  margin: 0 10px;
  color: white;
  display: inline-block;
  transition: 0.3s;
}

.footer-social a:hover {
  transform: scale(1.2);
  color: #F3E8D0;
}
