/*
Theme Name: My Stay in Mexico 
Theme URI: https:www.mystaymexico.com.mx
Author: Jesús López V.
Author URI: https://wordpress.org/
Description: Tema mara MY stay in México basado en Boostrap 5
Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
Version: 1.3
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwenty
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/


/** NAVBAR **/

body {
  font-family: 'Poppins', sans-serif;
  color: #222222;
  background-color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', sans-serif;
  color: #222222;
  font-weight: 600;
  text-transform: capitalize;
}

nav.navbar.navbar-expand-lg.navbar-light.fixed-top.py-3 {
  background-color: white;
}

.btn-danger {
  color: #fff;
  background-color: #FF385C !important;
  border-color: #FF385C;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-danger:hover {
  background-color: #D70466 !important;
  border-color: #D70466;
  transform: scale(0.98);
}

.btn-whatsapp-fixed {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  border-radius: 30px;
  display: flex;
  align-items: center;
  height: 60px;
  max-width: 60px;
  padding: 0 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: max-width 0.4s ease, background-color 0.2s ease, transform 0.1s ease;
  z-index: 9999;
  text-decoration: none;
  overflow: hidden;
  box-sizing: border-box;
}

.btn-whatsapp-fixed i {
  font-size: 32px;
  min-width: 30px;
  text-align: center;
  line-height: 60px;
}

.btn-whatsapp-fixed .whatsapp-text {
  white-space: nowrap;
  opacity: 0;
  font-weight: 500;
  font-size: 16px;
  margin-left: 10px;
  transition: opacity 0.3s ease 0.1s;
}

.btn-whatsapp-fixed:hover {
  background-color: #128C7E;
  color: white;
  max-width: 280px;
  transform: scale(0.98);
  text-decoration: none;
}

.btn-whatsapp-fixed:hover .whatsapp-text {
  opacity: 1;
}

.card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cards {
  margin-bottom: 30px;
}

.cards img {
  height: 250px;
  object-fit: cover;
  object-position: center;
}

.cards .card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5rem;
  min-height: 3rem;
  text-align: center;
}

/** STICKY SIDEBAR **/

.sticky-sidebar{
  z-index: 1031 !important;
}

/*** LUgares cercanos ***/

.lugares-cercanos {
  background-color: #F7F7F7;
  padding: 60px 0;
}

.mearest-place {
  color: #fff;
  border-radius: 12px;
  margin-top: 20px;
  background-size: cover;
  background-position: center;
  height: 500px;
}

.overlay {
  background-color: rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 20px;
}

.overlay h3 {
  color: #ffffff;
  border-top: solid 1px #fff;
  padding-top: 10px;
}

/*** SINGLE PROPIEDAD **/

.photo-proiedad img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.properties-description {
  /* border: solid 1px #ccc; */
  padding: 0 20px;
  /* border-radius: 30px; */
}

.properties-description h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

ul.properties-data {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-top: 15px;
  color: #717171;
  font-size: 1rem;
}

ul.properties-data li {
  display: inline-flex;
  align-items: center;
}

ul.properties-data li:not(:last-child)::after {
  content: "·";
  margin-left: 15px;
  font-weight: bold;
}


/*** AMENIDADES */
.amenidades-section {
  background-color: #ffffff;
  padding: 40px 0;
  border-top: 1px solid #DDDDDD;
  margin-top: 40px;
}

ol.amenidades {
  list-style-type: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem 1rem;
}

ol.amenidades li {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  color: #222222;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #f9f9f9;
}

.amenidades i {
  font-size: 1.5rem;
  color: #222222;
  width: 35px;
  text-align: center;
  margin-right: 15px;
}

.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-thumb {
  background-color: #dddddd;
  border-radius: 4px;
}

/**** SLIDER **/

/* Slideshow container */
.slideshow-container {
  max-width: 100%;
  height: 60vh;
  overflow: hidden;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons s*/
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active,
.dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {
    opacity: .4
  }

  to {
    opacity: 1
  }
}

/***   *******/

/*** FOOTER **/

ul.list-inline {
  display: flex;
  flex-direction: row;
}

ul.list-inline li {
  margin: 7px;
}

/** FORM ESCONDER LOADER **/

.loader {
  width: 100px;
}

.contact-form-loader.none,
.contact-form-response.none {
  display: none !important;
}

/* Contact Form Custom Styles */
.custom-input {
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  padding: 14px 18px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background-color: #fcfcfc;
}

.custom-input:focus {
  border-color: #222222;
  box-shadow: 0 0 0 1px #222222;
  outline: none;
  background-color: #ffffff;
}

.formulario .form-label {
  letter-spacing: 0.5px;
  font-size: 0.85rem;
}

/* Preloader Styles */
.preloader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.preloader-content {
  text-align: center;
}

.preloader-logo {
  max-width: 200px;
  margin-bottom: 20px;
}

.preloader-bar {
  width: 200px;
  height: 4px;
  background-color: #f0f0f0;
  border-radius: 2px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.preloader-progress {
  width: 50%;
  height: 100%;
  background-color: #FF385C;
  border-radius: 2px;
  position: absolute;
  top: 0;
  left: -50%;
  animation: loadingBar 1.5s infinite ease-in-out;
}

@keyframes loadingBar {
  0% {
    left: -50%;
  }

  100% {
    left: 100%;
  }
}

.preloader-wrapper.preloader-hidden {
  opacity: 0;
  visibility: hidden;
}

/* Google Reviews Styles */
.google-reviews-section {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.google-reviews-slider {
    overflow: hidden;
    position: relative;
}

.reviews-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 0;
}

.review-slide {
    flex: 0 0 300px;
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    scroll-snap-align: start;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.review-info strong {
    display: block;
    font-size: 16px;
}

.review-time {
    font-size: 12px;
    color: #666;
}

.review-rating {
    margin-bottom: 15px;
}

.star-filled {
    color: #ffc107;
}

.star-empty {
    color: #ddd;
}

.review-text {
    font-style: italic;
    color: #555;
    margin: 0;
}

.google-reviews-error {
    color: red;
    text-align: center;
    padding: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .review-slide {
        flex: 0 0 280px;
    }
}

/* Modal Backdrop Fix - Smooth Transition */
.modal-backdrop {
  transition: opacity 0.3s ease;
}

.modal-backdrop.fade {
  opacity: 0;
}

.modal-backdrop.show {
  opacity: 0.5;
}

/* Google Reviews Slider */
.google-reviews-slider {
    overflow: hidden;
    padding: 20px 0;
}

.google-reviews-slider .reviews-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
}

.google-reviews-slider .review-slide {
    min-width: 300px;
    max-width: 300px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.google-reviews-slider .review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.google-reviews-slider .review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.google-reviews-slider .review-info {
    display: flex;
    flex-direction: column;
}

.google-reviews-slider .review-rating {
    color: #ffc107;
    margin-bottom: 10px;
}

.google-reviews-slider .review-rating .star-empty {
    color: #ddd;
}

.google-reviews-slider .review-text {
    font-style: italic;
    color: #555;
    line-height: 1.5;
}

.google-reviews-slider .review-time {
    font-size: 12px;
    color: #999;
}