@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


/* -------------------- RESET -------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lexend Deca", serif;
  font-weight: 275;
  color: #000;
  background: #fff;
}

/* -------------------- NAVBAR -------------------- */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  padding: 1.4rem 3rem;
  position: sticky;
  top: 0;
  z-index: 99;
}

nav .logo img {
  height: 70px;
}

@media (max-width: 767px) {
  nav .logo img {
    height: 40px;
  }
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul li a {
  color: #000;
  text-decoration: none;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: #999;
}

/* Botón hamburguesa */
#menu-toggle {
  display: none;
  font-size: 1.6rem;
  background: none;
  border: none;
  cursor: pointer;
  position: fixed;     
  top: 20px;          
  right: 30px;        
  z-index: 1001;
}


/* Submenú desktop */
nav ul li.submenu {
  position: relative;
}

nav ul li.submenu .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 180px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1000;
}

nav ul li.submenu .dropdown li {
  display: block;
}

nav ul li.submenu .dropdown li a {
  display: block;
  padding: 1rem;
}

nav ul li.submenu .dropdown li a:hover {
  background: #f0f0f0;
}

/* Hover SOLO desktop */
@media (min-width: 768px) {
  nav ul li.submenu:hover .dropdown {
    display: block;
  }
}

/* -------------------- NAV MOBILE -------------------- */
@media (max-width: 767px) {

  #menu-toggle {
    display: block;
  }

  #nav-links {
    position: fixed;
    top: 0;
    right: -250px;
    height: 100%;
    width: 250px;
    background: #fff;
    flex-direction: column;
    gap: 0;
    padding-top: 4rem;
    transition: right 0.3s ease;
    box-shadow: -4px 0 8px rgba(0,0,0,0.1);
    z-index: 1000;
    overflow-y: auto;
  }

  #nav-links.active {
    right: 0;
  }

  #nav-links > li {
    width: 100%;
    padding: 15px 20px;
    border-top: 1px solid #eee;
  }

  #nav-links > li > a {
    display: block;
    width: 100%;
  }

  /* Submenú mobile */
  nav ul li.submenu .dropdown {
    display: none;
    position: relative;
    top: 0;
    left: 0;
    background: #fafafa;
    box-shadow: none;
    padding-left: 1rem;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }

  nav ul li.submenu.active .dropdown {
    display: flex;
  }

  .dropdown li {
    padding: 0;
    border-top: none;
  }

  .dropdown li a {
    padding: 12px 1rem;
  }

  /* Evita que el hover se quede "pegado" al tocar en pantallas táctiles */
  .dropdown li a:hover {
    background: transparent;
  }

  .dropdown li a:active {
    background: #f0f0f0;
  }
}

/* -------------------- TITULOS -------------------- */

h1.titulo {
  margin-top: 1rem;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: 3rem;
  color: #000;
  font-style: normal;
}

p.lugar {
  text-decoration: none;
  text-align: center;
  font-family: "Lexend Deca", serif;
  font-size: 1rem;
  color: #000000;
  margin-top: .8rem;
}

.lugar a {
  text-decoration: none;
  color: #000000;
}

/* -------------------- GALERÍA -------------------- */

.row {
  display: flex;
  gap: 25px;
  padding: 45px;
}

.column {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.column img {
  width: 100%;
  margin-bottom: 25px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.column img:hover {
  transform: scale(1.02);
}

/* MOBILE */
@media (max-width: 767px) {
  .row {
    flex-direction: column;
    padding: 10px;
  }

  .column img {
    margin-bottom: 15px;
  }
}


/* -------------------- RESPONSIVE -------------------- */
@media (max-width: 900px) {
  .row {
    column-count: 2;
    padding: 25px;
  }
}

@media (max-width: 600px) {
  .row {
    column-count: 1;
    padding: 15px;
  }
}
/* -------------------- MODAL IMAGEN -------------------- */
.full_img {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  z-index: 100;
}

.full_img img {
  max-width: 90%;
  max-height: 80%;
}

#left_btn,
#right_btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0,0,0,0.1);
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

#left_btn { left: 3%; }
#right_btn { right: 3%; }

#close_img {
  position: absolute;
  top: 5%;
  right: 2%;
  font-size: 2.5rem;
  color: white;
  cursor: pointer;
}

/* -------------------- Blog -------------------- */

.post {
  background-color: #f8f8f8;
  margin: 40px auto;
  max-width: 800px;
  border: 1px solid;
  border-image: linear-gradient(90deg, #383838, #000000, #292929) 1;
  border-radius: 12px;

  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contenido_post {
  font-size: 18px;
  margin: 25px 30px;
  line-height: 1.8;
}

.title {
  font-family: "Roboto", serif;
  font-weight: 600;
  font-size: 2.5rem;
  color: #000;
}

.date {
  font-family: "Roboto", serif;
  font-weight: 300;
  font-size: 1rem;
  margin-bottom: 10px;
  color: #7c7c7c;
}

/* Texto */
.content {
  font-family: "Roboto", serif;
  font-weight: 300;
  font-size: 18px;
  color: #000;
  margin-bottom: 25px;
  line-height: 1.8;
}

/* Imagen */
.image {
  width: 100%;
  border-radius: 5px;
  display: block;
}

/* Contenido oculto */
.extra-content {
  display: none;
}

.extra-content.show {
  display: block;
}

/* CONTENEDOR */
.image-wrapper {
  position: relative;
}

/* IMAGEN */
.image {
  width: 100%;
  display: block;
  margin: 1em 0em;
  border-radius: 5px;
}

/* FADE ENCIMA DE LA IMAGEN */
.fade-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80%; /* 👈 aquí controlas el 1/4 aprox */

  background: linear-gradient(
    to bottom,
    rgba(248,248,248,0) 0%,
    rgba(248,248,248,1) 100%
  );

  pointer-events: none;
}

/* BOTÓN */
.ver-mas-btn {
  padding: 12px 24px;
  border: none;
  background: #000;
  color: #fff;
  border-radius: 30px;
  cursor: pointer;
}

/* -------------------- FOOTER -------------------- */
footer {
  background: #111;
  width: 100%;
  color: #fff;
  padding: 3rem 1rem 2rem;
  text-align: center;
  position: relative;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-socials a {
  color: #fff;
  font-size: 1.5rem;
  transition: opacity 0.3s;
}

.footer-socials a:hover {
  opacity: 0.7;
}

.footer-text {
  font-size: 0.9rem;
  color: #ccc;
}

/* Botón subir */
#scrollTopBtn {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #222;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

#scrollTopBtn:hover {
  background: #333;
}

/* -------------------- CONTACTO -------------------- */




.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1;

    /* Animación */
    animation: pulse 2s infinite;
}

/* Icono */
.whatsapp-icon {
    width: 40px;
    height: 40px;
}

/* Efecto de pulso */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Hover más interactivo */
.whatsapp-float:hover {
    transform: scale(1.1) translateY(-5px);
    transition: all 0.3s ease;
}

.video{
  position: relative;
  text-align: center;
  padding: 2em;
}
.video, h1{
  padding-bottom: .5em;
}

.video video {
  width: 100%;
  max-width: 920px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/*contacto*/
/* CONTENEDOR GENERAL */
.contacto {
    padding: 80px 10%;
    background: #f8f8f8;
    font-family: 'Helvetica Neue', sans-serif;
}

.contacto h2 {
    font-size: 40px;
    margin-bottom: 40px;
    letter-spacing: 2px;
    font-weight: 600;
}

/* GRID PRINCIPAL */
.contacto .fila {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: stretch;
}

/* COLUMNAS */
.contacto .col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* INPUTS */
.contacto input,
.contacto textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.contacto input:focus,
.contacto textarea:focus {
    border-color: #000;
}

/* TEXTAREA */
.contacto textarea {
    resize: none;
    height: 180px;
}

/* BOTÓN */
.contacto button {
    position: relative;
    padding: 15px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    overflow: hidden;
    transition: 0.3s;
}

.contacto button:hover {
    background: #222;
}

/* MAPA */
.contacto iframe {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    filter: grayscale(100%);
    transition: 0.4s;
}

.contacto iframe:hover {
    filter: grayscale(0%);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .contacto .fila {
        grid-template-columns: 1fr;
    }

    .contacto iframe {
        height: 400px;
    }
}