/* RESET GENERAL */
body {
  font-family: Georgia, serif;
  margin: 0;
  background-color: #f9f7f3;
  color: #333;
}

html {
  scroll-behavior: smooth;
}

/* HEADER */
header {
  background-color: #5a3e36;
  color: white;
  text-align: center;
  padding: 40px 20px;
}

header h1 {
  font-size: 36px;
}

header p {
  font-style: italic;
}

/* NAV */
nav {
  background-color: #e6dfd5;
  text-align: center;
  padding: 10px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #5a3e36;
  font-weight: bold;
}

nav a:hover {
  color: #000;
}

nav.scrolled {
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* SECCIONES */
.sobre-contenedor {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-top: 20px;
}

.sobre-img img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
}

.sobre-texto {
  background-color: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

section {
  padding: 50px 20px;
  max-width: 1100px;
  margin: auto;
  line-height: 1.6;
}

h2 {
  color: #5a3e36;
}

/* BOTONES */
.boton {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #5a3e36;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.boton:hover {
  background-color: #3e2b25;
}

.boton.grande {
  margin-top: 15px;
  font-size: 16px;
  padding: 12px 25px;
}

/* GALERIA */
.galeria {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.galeria img {
  width: 100%;
  max-width: 350px;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.galeria img:hover {
  transform: scale(1.05);
}

.sobre-img img {
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.sobre-texto p {
  margin-bottom: 15px;
}

.sobre-contenedor {
  align-items: flex-start;
}

.sobre-img img {
  transition: transform 0.3s ease;
}

.sobre-img img:hover {
  transform: scale(1.03);
}

.proyecto-box {
  background-color: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  margin-top: 20px;
}

.proyecto-box p {
  margin-bottom: 15px;
}

.proyecto-box {
  border-left: 4px solid #5a3e36;
}

/* TESTIMONIOS */
.contenedor-testimonios {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.testimonio {
  flex: 1;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  font-style: italic;
}

.testimonio strong {
  display: block;
  margin-top: 10px;
  color: #5a3e36;
  font-style: normal;
}

/* AGENDA */
.agenda {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.evento {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background-color: #fff;
  padding: 20px;
  border-radius: 10px;
  transition: transform 0.2s ease;
}

.evento:hover {
  transform: translateY(-3px);
}

.fecha {
  background-color: #5a3e36;
  color: white;
  padding: 10px;
  border-radius: 8px;
  font-weight: bold;
  min-width: 60px;
  text-align: center;
}

.evento h3 {
  margin: 0;
  color: #5a3e36;
}

.contenido-evento {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mini-boton {
  margin-top: 5px;
  font-size: 13px;
  color: #5a3e36;
  text-decoration: underline;
}

/* CONTACTO */
.contacto-contenedor {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.info-contacto {
  flex: 1;
}

.cta {
  flex: 1;
  min-width: 300px;
  background-color: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.iconos {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.iconos a {
  width: 55px;
  height: 55px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  font-size: 22px;
  transition: all 0.3s ease;
}

/* colores redes */
.iconos a:nth-child(1) { background-color: #25D366; }
.iconos a:nth-child(2) { background-color: #5a3e36; }
.iconos a:nth-child(3) { background-color: #E1306C; }

.iconos a:hover {
  transform: scale(1.1);
}

/* PROXIMO EVENTO */
.proximo {
  text-align: center;
  margin: 40px auto 0;
  font-size: 16px;
  background-color: #fff;
  padding: 12px 20px;
  border-radius: 8px;
  width: fit-content;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background-color: #e6dfd5;
}

/* BOTON WHATSAPP */
.wsp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  color: white;
  font-size: 24px;
  padding: 15px 18px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s;
}

.wsp:hover {
  transform: scale(1.1);
}

/* ANIMACIONES */
.animar {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animar.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .contacto-contenedor {
    flex-direction: column;
  }

  .galeria {
    flex-direction: column;
  }

  .contenedor-testimonios {
    flex-direction: column;
  }

  @media (max-width: 768px) {
  .sobre-contenedor {
    flex-direction: column;
    text-align: center;
  }

  .sobre-img img {
    width: 200px;
    height: 200px;
  }
}

}

footer a {
  color: #5a3e36;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}