/*
Theme Name: MiradorChamiza
Theme URI: https://somosjam.cl/
Author: fabiczg
Author URI: https://somosjam.cl/
Description: sitio web para Mirador Chamiza.
Requires at least: 5.9
Tested up to: 6.6
Requires PHP: 5.6
Version: 1.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

*/

/*
 * Font smoothing.
 * This is a niche setting that will not be available via Global Styles.
 * https://github.com/WordPress/gutenberg/issues/35934
 */

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 200px;
}

:root {
  --primary: #e30133;
  --text: #141414;
  --textwhite: #f4f2f2;
  --titulocolor: #0C6657;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
}

input,
button,
textarea,
select {
  font: inherit;
}

p {
  text-wrap: pretty;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-wrap: balance;
}

img,
video,
svg {
  height: auto;
  max-width: 100%;
}
div, section {
    scroll-margin-top: -140px;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
    transition: none;
  }
}

/* clases reutilziables */

.contenedor {
  max-width: 1200px;
}

.titulo {
  font-family: "Century Gothic Bold";
}

header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  padding: 10px 20px;
  background: transparent;
  transition: all 0.3s ease-in-out;
}

header.scroll {
  background-color: #0c6657bf;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
}

header img {
  width: 150px;
}

.header-contenedor {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-menu ul {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.header-menu ul li a {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #000;
  text-decoration: none;
  font-size: 15px;
}

.header-menu ul li a img {
  width: 20px;
}

.header-menu ul li a.telefono-link img {
  width: 15px;
}
.header-menu ul li a.comollegar {
  color: #0C6657;
  text-decoration: underline;
}

.header-custom {
  position: fixed;
  top: 100px;
  left: 0;
  width: 100%;
  z-index: 10;
  transition: all 0.3s ease-in-out;
  display: none;
}

.header-custom.scroll {
  top: 70px;
  background-color: #ffffffe6;
  padding: 20px;
  border-bottom: 1px solid #d9d9d9;
}

.header-custom-contenedor {
  margin: 0 auto;
}

.header-custom-contenedor ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 60px;
}



.header-custom-contenedor ul li a {
  color: #fff;
  font-size: 15px;
  text-decoration: none;
}

.header-custom-contenedor ul li a.btn {
  font-weight: 600;
  border: 2px solid #0C6657;
  padding: 5px 20px;
  border-radius: 7px;
  transition: .3s;
}
.header-custom-contenedor ul li a.btn:hover{
  background-color: transparent;
  transition: .3s;
    border: 2px solid #fff;

}
.header-custom.scroll .header-custom-contenedor ul li a {
  color: #000;
}

.menu-hamburger {
  position: absolute;
  display: none;
  display: none;
  right: 14px;
  top: 8px;
  font-size: 26px;
}

.close-header-custom {
  display: none;
  position: absolute;
  right: 11px;
  top: 15px;
  font-size: 40px;
  line-height: 20px;
}

.header-menu-responsive {
  display: none;
}

.header-menu-responsive ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 30px;
}

.header-menu-responsive ul li a {
  font-size: 30px;
}

.header-menu-responsive ul > li:nth-child(1) a {
  color: #32d751;
}
.header-menu-responsive ul > li:nth-child(2) a {
  color: #0C6657;
}
.header-menu-responsive ul > li:nth-child(3) a {
  color: #cf0707;
}
.footer-chamiza {
  background: #0f4d3c; /* verde oscuro */
  padding: 60px 20px;
  color: #fff;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

/* IZQUIERDA */
.footer-left img {
  max-width: 220px;
  margin-bottom: 15px;
}

.footer-text {
  font-size: 18px;
  opacity: 0.8;
  max-width: 320px;
}

/* DIVISOR */
.footer-divider {
  width: 1px;
  height: 120px;
  background: rgba(255,255,255,0.2);
}

/* DERECHA */
.footer-right {
  display: flex;
  gap: 60px;
}

.footer-right ul {
  list-style: none;
  padding: 0;
}

.footer-right li {
  margin-bottom: 10px;
}

.footer-right a {
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.footer-right a:hover {
  opacity: 1;
  color: #f4a623; /* naranja */
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-divider {
    display: none;
  }

  .footer-right {
    flex-direction: column;
    gap: 20px;
  }

  .footer-left img {
    margin: 0 auto 15px;
  }
}

.menu-nuestro-horario p {
  color: #fff;
  margin-bottom: 5px;
}

.modal-servicios {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-servicios.show {
  display: flex;
}

.modal-servicios-body {
  background-color: #fff;
  padding: 40px 70px;
  border-radius: 10px;
  position: relative;
  box-shadow: 3px 4px 12px #00000029;
  display: none;
}

.modal-servicios-body .lista-grupo {
  display: flex;
  justify-content: space-between;
}

.modal-servicios-body.show {
  display: block;
}

.modal-servicios-body .btnl-close-modal {
  position: absolute;
  top: 5px;
  right: 20px;
  color: #b4abab;
  background-color: transparent;
  border: none;
  font-weight: 400;
  font-size: 45px;
  cursor: pointer;
}

.modal-servicios-body h4 {
  color: #0C6657;
  font-size: 24px;
  font-weight: 300;
  margin-bottom: 15px;
}

.modal-servicios-body ul {
  padding-left: 20px;
  margin-bottom: 20px;
}
.modal-servicios-body ul li::marker {
  color: #ffcb00;
  font-size: 1.5em;
}
.modal-servicios-body ul li {
  font-weight: 500;
  font-size: 17px;
}
.modal-servicios-body > div {
  display: flex;
  align-items: center;
  gap: 20px;
}
.modal-servicios-body > div a {
  background-color: #32d751;
  color: #fff;
  text-decoration: none;
  padding: 9px 40px;
  font-weight: 600;
  border-radius: 10px;
}
.modal-servicios-body > div a.solicitar {
  background-color: transparent;
  border: 1px solid #0C6657;
  color: #0C6657;
}

/* modal de galeria imagenes */

.modal-galeria {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-galeria.show {
  display: flex;
}

.modal-galeria-body {
  background-color: #fff;
  padding: 60px 10px 40px 20px;
  border-radius: 10px;
  position: relative;
  box-shadow: 3px 4px 12px #00000029;
  width: 700px;
  height: 500px;
  position: relative;
}

.modal-galeria-body-grid {
  width: 100%;
  height: 100%;
  overflow: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding-right: 10px;
}

.modal-galeria-body-grid-swiper {
  width: 100%;
}

.modal-galeria-body-grid-swiper .swiper-slide div {
  height: 100%;
}

.modal-galeria-body-grid-swiper .swiper-slide div img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-galeria-body .btnl-close-modal {
  position: absolute;
  top: 5px;
  right: 20px;
  color: #b4abab;
  background-color: transparent;
  border: none;
  font-weight: 400;
  font-size: 45px;
  cursor: pointer;
}
@media (max-width: 767px) {
  .header-menu {
    display: none;
  }

  .header-contenedor {
    flex-direction: column;
    padding: 0 !important;
  }

  .header-menu ul {
    flex-direction: column;
    gap: 10px;
  }

  .close-header-custom {
    display: block;
  }

  .header-custom {
    top: 0;
    background-color: #f0f0f2ea;
    width: 100%;
    height: 100%;
    left: 0;
    display: none;
    /* display: flex; */
    justify-content: center;
    align-items: center;
  }

  .header-custom.show {
    display: flex;
    top: 0;
  }

  .header-custom-contenedor ul {
    flex-direction: column;
    gap: 25px;
  }

  .header-custom-contenedor ul li.item-menu-inicio {
    display: block;
  }

  .header-custom-contenedor ul li a {
    color: #000;
    text-align: center;
    display: block;
    font-weight: 600;
  }

  .header-contenedor .header-logo {
    align-self: flex-start;
  }

  .menu-hamburger {
    display: block;
    top: 19px;
    right: 24px;
    color: #fff;
  }

  .header-menu-responsive {
    display: block;
  }

  .footer-container.contenedor {
    flex-direction: column;
    gap: 20px;
  }
}
