/* Tipografías y colores */
body {
  margin: 0;
  font-family: 'Karla', sans-serif;
  background-color: #f2e8d8;
  color: #2f2f2f;
}

h1, h2 {
  font-family: 'Playfair Display', serif;
  color: #6b7b52;
}

.hero {
  background-image: url('../img/exterior/foto-principal.JPG');
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
}

.hero .overlay {

  color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: 4rem;
  margin: 0;
}

.hero p {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.btn {
  padding: 10px 20px;
  background-color: #a1744b;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

section {
  padding: 60px 20px;
}

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

img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
}

.scroll-gallery {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  gap: 16px;
  padding-bottom: 10px;
}

.scroll-gallery img {
  flex: 0 0 auto;
  width: 280px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}

.scroll-gallery img:hover {
  transform: scale(1.02);
}