/*
Theme Name: GeneratePress Child
Theme URI: https://grupo-montana.mx
Description: Child Theme para Grupo Montaña
Author: Carlos
Author URI: https://grupo-montana.mx
Template: generatepress
Version: 1.0.0
*/

@import url("../generatepress/style.css");

/* Aquí puedes añadir tus estilos personalizados */
.elementor-60 .elementor-element.elementor-element-3740645 .wpr-nav-menu .wpr-menu-item.wpr-active-menu-item {
    color: #ffffff !important;
}


.global-overlay-frame {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  pointer-events: none;
}

.global-overlay-frame .line-vertical {
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background-color: #bd7016;
}

.global-overlay-frame .left-line {
  left: 100px;
}

.global-overlay-frame .right-line {
  right: 100px;
}

@media only screen and (max-width:1024px){
    .global-overlay-frame .left-line {
  left: 50px;
}

.global-overlay-frame .right-line {
  right: 50px;
}
}

@media only screen and (max-width:480px){
    .global-overlay-frame .left-line {
  left: 20px;
}

.global-overlay-frame .right-line {
  right: 20px;
}
}

/*===== GRID LUGARES =====*/
/* Contenedor general */
.places-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* Tarjeta en 3 columnas */
.place-horizontal-card {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  background: #000;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
  border: .5px solid #bd7016;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  padding: 1.5rem 2rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.tarjetas-home2 .place-horizontal-card {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  background: #000;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
  border: .5px solid rgba(255,255,255,.2);
  border-radius: 0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  padding: 1.5rem 2rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.tarjetas-home3 .place-horizontal-card {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  align-items: center;
  gap: 1.5rem;
  background: #fff;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
  border: .5px solid #bd7016;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
  padding: 1.5rem 2rem;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.place-horizontal-card:hover {
  box-shadow: 0 12px 24px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

/* Logo */
.place-logo {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.place-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tarjetas-home3 .place-logo img {
  width: 100%;
  height: 100%;
  border-radius: 8rem;
  object-fit: cover;
  display: block;
}

/* Información: nombre + dirección */
.place-info {
  text-align: center;
}

.place-info h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  font-family: 'Poiret One', cursive;
  letter-spacing: 0.5px;
}

.tarjetas-home3 .place-info h3 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: #000;
  text-transform: uppercase;
  font-family: 'Poiret One', cursive;
  letter-spacing: 0.5px;
}

.place-info p {
  margin: 0.4rem 0 0;
  font-size: 19px;
  color: #ffffff;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
}

.tarjetas-home3 p {
  margin: 0.4rem 0 0;
  font-size: 19px;
  color: #000;
  font-family: 'Josefin Sans', sans-serif;
  font-weight: 400;
}

.place-info p a {
  color: #9d9d9d;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.place-info p a:hover {
  color: #ff7e2b;
}


/* Íconos de contacto */
.place-actions {
  display: flex;
  gap: 1rem;
}

.place-actions i {

  font-size: 30px;

}

.place-actions a {
  color: #bd7016;
  font-size: 19px;
  transition: color 0.3s ease;
}

.place-actions a:hover {
  color: #ff7e2b;
}

.tarjetas-home2 .place-actions a {
  color: #d9d9d9;
  font-size: 19px;
  transition: color 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
  .place-horizontal-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  
  .tarjetas-home2 .place-horizontal-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  
  .tarjetas-home3 .place-horizontal-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .place-logo {
    margin: 0 auto 1rem;
  }

  .place-actions {
    justify-content: center;
    margin-top: 1rem;
  }
}



/* Animación slide-up lenta */
@keyframes slideUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Aplicar la animación a los elementos */
.animated-slide-up {
  opacity: 0;
  animation: slideUp 1s ease-out forwards;
  animation-delay: 0.1s;
}

#contact-form {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem;
  font-family: 'Josefin Sans', sans-serif;
}

#contact-form .form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

#contact-form .form-element {
  display: flex;
  flex-direction: column;
}

.third-width {
  flex: 1 1 30%;
}

.full-width {
  flex: 1 1 100%;
}

.align-end {
  justify-content: flex-end;
}

#contact-form label {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: #fff;
}

.contacto-home3 #contact-form label {
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: #000;
}

#contact-form input,
#contact-form textarea {
  padding: 0.8rem 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

#contact-form textarea {
  height: 100px;
}

#contact-form button {
  padding: 0.8rem 2rem;
  background-color: #BD7016;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contacto-home2 #contact-form button {
  padding: 0.8rem 2rem;
  background-color: #001C1F;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#contact-form button:hover {
  background-color: #e86f1f;
}

/* Mensaje de éxito */
.form-message {
  margin-top: 1rem;
  font-size: 1rem;
  color: green;
}

/* Responsive */
@media (max-width: 768px) {
  .third-width {
    flex: 1 1 100%;
  }

  .align-end {
    justify-content: center;
  }
}

.form-message {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Josefin Sans', sans-serif;
  background-color: #e6f9ed;
  color: #237a57;
  border: 1px solid #b2e5cd;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.form-message.error {
  background-color: #fdecea;
  color: #a94442;
  border-color: #f5c6cb;
}

.form-message.error .icon-success {
  color: #a94442;
}

.form-message.visible {
  opacity: 1;
  transform: translateY(0);
}

.icon-success {
  font-size: 1.4rem;
  color: #237a57;
}

.hidden {
  display: none;
}




