/*=============== VARIABLES CSS ===============*/
:root {
    /*========== Colors ==========*/
    /* Color mode HSL(hue, saturation, lightness) */
    --first-color: #dd7004;                /* Naranja principal */
    --first-color-alt: hsl(30, 96%, 45%);  /* Naranja más oscuro */
    --first-color-light: hsl(30, 96%, 85%); /* Naranja más claro */
    --second-color: hsl(44, 98%, 50%);     /* Amarillo */
}

/*=============== HERO SPECIFIC ===============*/
.escapes-hero {
    background: linear-gradient(160deg, var(--first-color-light) 0%, var(--first-color) 100%);
}

/*=============== PROPERTIES ===============*/
.properties__container {
    overflow: hidden;
    padding-top: 2rem;
}

.properties-swiper {
    width: 100%;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.property__card {
    position: relative;
    background-color: var(--container-color);
    padding: 1.5rem;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
    transition: .3s;
}

.property__card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, .15);
    transform: translateY(-0.25rem);
}

.property__img {
    width: 100%;
    height: 200px;
    border-radius: .5rem;
    overflow: hidden;
    margin-bottom: var(--mb-1);
}

.property__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .3s;
}

.property__card:hover .property__img img {
    transform: scale(1.1);
}

.property__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-75);
    color: var(--first-color);
}

.property__description {
    font-size: var(--small-font-size);
    margin-bottom: var(--mb-1);
}

.button--small {
    padding: .75rem 1rem;
    font-size: var(--small-font-size);
}

/*=============== SERVICES ===============*/
.services__content {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.services__card {
    background-color: var(--container-color);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
    transition: .3s;
    border: 2px solid var(--first-color-light);
}

.services__card:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, .15);
    transform: translateY(-0.25rem);
    border-color: var(--second-color);
}

.services__icon {
    font-size: 2rem;
    color: var(--first-color);
    margin-bottom: var(--mb-1);
}

.services__title {
    font-size: var(--h3-font-size);
    margin-bottom: var(--mb-0-75);
    color: var(--first-color);
}

.services__description {
    font-size: var(--small-font-size);
}

/*=============== ABOUT VIDEO ===============*/
.about__content {
    display: grid;
    gap: 2.5rem;
}

.about__video-container {
    position: relative;
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    border-radius: 1rem;
    background-color: #000;
    border: 2px solid var(--second-color);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    cursor: pointer;
}

.about__video-container:hover {
    border-color: var(--first-color);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.about__video-player {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 1rem;
    background-color: #000;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--h2-font-size);
    color: var(--first-color);
}

/* Asegurar que el contenedor sea clickeable en móviles */
@media (hover: none) {
    .about__video-container {
        touch-action: manipulation;
    }
}

/* Personalización del botón principal */
.button {
    background-color: var(--second-color);
}

.button:hover {
    background-color: hsl(44, 98%, 45%);
}

/* Personalización del footer */
.footer {
    background-color: var(--first-color);
}

.footer__social-link {
    background-color: var(--second-color);
}

.footer__social-link:hover {
    background-color: hsl(44, 98%, 45%);
}

/* Personalización del Swiper */
.swiper-pagination-bullet {
    background-color: var(--container-color);
    opacity: .5;
}

.swiper-pagination-bullet-active {
    background-color: var(--first-color);
    opacity: 1;
}

/*=============== RESPONSIVE ===============*/
@media screen and (min-width: 568px) {
    .about__content {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .property__img {
        height: 250px;
    }
}

@media screen and (min-width: 768px) {
    .services__content {
        grid-template-columns: repeat(3, 1fr);
    }

    .property__img {
        height: 300px;
    }
}

@media screen and (min-width: 1024px) {
    .properties-swiper {
        width: 750px;
        margin: 0 auto;
    }

    .property__img {
        height: 350px;
    }

    .about__video-container {
        max-width: 300px;
    }
}

/* ========== MEJORAS RESPONSIVE PARA MOVILES Y TABLETS ========== */
@media screen and (max-width: 575.98px) {
  .container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    max-width: 100vw;
  }
  .section {
    padding: 1.5rem 0 2rem;
  }
  .about__content.grid,
  .services__content.grid,
  .properties__container {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem;
  }
  .property__card,
  .services__card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
  .property__img {
    height: 180px !important;
    min-width: 0;
    max-width: 100%;
  }
  .hero__title {
    font-size: 2rem !important;
  }
  .hero__description {
    font-size: 1rem !important;
  }
  .footer__container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

@media screen and (max-width: 768px) {
    .about__content {
        grid-template-columns: 1fr;
    }
    
    .about__video-container {
        margin-top: 2rem;
        max-width: 100%;
    }
}

html, body {
  overflow-x: hidden;
} 