/********** Template CSS **********/
:root {
    --primary: #ac9b4b;
    --secondary: #043034;
    --light: #F5F5F5;
    --dark: #14141F;
}

body {
    font-family: 'Poppins' sans-serif;
}

h1,
h2,
h3,
h4,
h5,
p{
    font-family: 'Poppins', sans-serif;
}

h5 {
    font-weight: 300;
}

.fw-medium {
    font-weight: 600 !important;
}

.fw-semi-bold {
    font-weight: 700 !important;
}

.whapp-button {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 300;
    transition: .5s;
}

.btn.btn-primary {
    background-color: #FFFFFF !important;
    color: var(--primary) !important;
    border: 1px solid var(--primary);
    transition: .5s ease;
    /* Fuerza a que no use el estilo nativo de botón de macOS */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0px !important;
}

.btn.btn-primary-reverse {
    background-color: var(--primary) !important;
    color: #ffffff !important;
    border: 1px solid var(--primary);
    transition: .5s ease;
    /* Fuerza a que no use el estilo nativo de botón de macOS */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0px !important;
}

.btn.btn-secondary {
    color: #FFFFFF;
    background-color: #043034 !important;
    transition: .5s ease;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.btn.btn-primary:hover,
.btn.btn-secondary:hover {
    background-color: var(--primary) !important;
    color: #FFFFFF !important;

}

.btn.btn-primary-reverse:hover {
    background-color: #ffffff !important;
    color: var(--primary) !important;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 0px;
}

/*** Navbar ***/

.navbar-light .navbar-nav .nav-link {
    font-family: 'Poppins', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: #FFFFFF !important;
    font-size: 14px;
    font-weight: 500;
    outline: none;
    transition: .5s;
    letter-spacing: 1px;
}

.dropdown-item {
    font-family: "Poppins", sans-serif;
    font-weight: 200;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary) !important;
}

.navbar-light .navbar-brand img {
    width: 250px;
    transition: 1.5s;
    filter: drop-shadow(5px 5px 5px rgba(0, 0, 0, .1));
}

.navbar-light .navbar-brand .logo-default {
    display: block !important;
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-brand .logo-default,
    .navbar-light .navbar-brand .logo-sticky {
        display: none !important;
    }
}

.navbar-light .navbar-brand .logo-sticky {
    display: none !important;
}

.sticky-top.navbar-light .navbar-brand .logo-default {
    display: none !important;
}

.sticky-top.navbar-light .navbar-brand .logo-sticky {
    display: block !important;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 30px;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: #FFFFFF;
    }

    .booking-form {
        display: none;
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--dark) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }

    .swiper-title h2 {
        font-size: 3em !important;
    }

    .swiper-title h4 {
        font-size: 1em !important;
    }

    .booking-form {
        width: 100% !important;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(256, 256, 256, .1);
        z-index: 999;
    }

    .sticky-top.navbar-light {
        position: fixed;
        background: #FFFFFF;
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}


/*** Hero Header ***/
.hero-header-about {
    background: linear-gradient(rgba(20, 20, 31, .4), rgba(20, 20, 31, .7)), url(https://phuketescapes.com/img/baanChandra/1ed31851-039d-47d7-a294-503786540a0c.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    max-height: 100vh;
}

.hero-header-villas {
    background: linear-gradient(rgba(20, 20, 31, .4), rgba(20, 20, 31, .7)), url(https://phuketescapes.com/img/andamanBreeze/droneview3.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    max-height: 100vh;
}

.hero-header-bespoke {
    background: linear-gradient(rgba(20, 20, 31, .4), rgba(20, 20, 31, .7)), url(../img/concierge/spaandsaunaservices.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    max-height: 100vh;
}

.hero-header-phuketescapes {
    background: linear-gradient(rgba(20, 20, 31, .4), rgba(20, 20, 31, .7)), url(../img/concierge/beachgirls.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    max-height: 100vh;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, .5);
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.section-title::before {
    position: absolute;
    content: "";
    width: calc(100% + 80px);
    height: 2px;
    top: 4px;
    left: -40px;
    background: var(--primary);
    z-index: -1;
}

.section-title::after {
    position: absolute;
    content: "";
    width: calc(100% + 120px);
    height: 2px;
    bottom: 5px;
    left: -60px;
    background: var(--primary);
    z-index: -1;
}

.section-title.text-start::before {
    width: calc(100% + 40px);
    left: 0;
}

.section-title.text-start::after {
    width: calc(100% + 60px);
    left: 0;
}


/*** Service ***/
.service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
    height: 350px;
    align-items: end;
    display: flex;
    border-radius: 0 20px;
}

.service-item * {
    transition: .2s;
}

.item-text:hover {
    background-color: rgba(0, 00, 0, .5);
    color: white;
}

/*** Destination ***/
.destination img {
    transition: .5s;
}

.destination a:hover img {
    transform: scale(1.1);
}


/*** Package ***/
.package-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    border-radius: 0 20px;
}

.package-item img {
    transition: .5s;
    border-radius: 0 20px;
}

.package-item:hover img {
    transform: scale(1.1);
}


/*** Booking ***/
.booking {
    /*background: linear-gradient(rgba(15, 23, 43, .7), rgba(15, 23, 43, .7)), url("../img/BOTANICA/Lowres/Aerials(4).jpg");*/
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


/*** Team ***/
.team-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    border-radius: 0 20px;
    transition: .5s ease;
}

.team-item img {
    transition: .5s;
    width: 100%;
    border-radius: 0 20px;
    height: 350px;
    object-fit: cover;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .btn {
    background: #FFFFFF;
    color: var(--primary);
    border-radius: 20px;
    border-bottom: 1px solid var(--primary);
}

.team-item .btn:hover {
    background: var(--primary);
    color: #FFFFFF;
}

.team-item:hover {
    box-shadow: 0 0 45px rgba(0, 0, 0, .2);
    transition: .5 ease;
}


.header-carousel {
    position: relative;
    top: 0;
    left: 0;
}

.header-carousel .carousel-inner {
    position: relative;
}

/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {

    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item.center .testimonial-item * {
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
    color: #FFFFFF !important;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    font-weight: normal;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;

}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
    font-family: 'Poppins', sans-serif;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}


.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    text-align: left;
    font-size: 18px;
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.swiper-slide>.flex-column>.villas-slide>img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover !important;
}

.swiper-title {
    color: white;
    text-shadow: 5px 5px 5px rgba(0, 0, 0, .5);
}

.villas-slide {
    height: 100% !important;
    border-radius: 0 20px;
    overflow: visible;
}

.villas-slide img {
    height: 400px;

}
.villas-slide p{
    font-size: .8em;
}
.villas-slide .swiper-overlay {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9997;
    height: 100%;
    width: 100%;
    padding: 0 10px;
    transition: .5s ease-out;
    border-radius: 0px 20px 0px 20px;
}

.villas-slide .swiper-text {
    transform: translateY(70%);
    transition: .5s ease;
    opacity: 0;
    padding: 0 10px;
    text-align: left;
    font-size: 13px;
}

.villas-slide:hover .swiper-overlay {
    background-color: rgba(0, 0, 0, .9);
}

.villas-slide:hover .swiper-text {
    transform: translateY(-10%);
    opacity: 1;
    transition: .5s ease;
}

.villas-slide-title {
    position: absolute;
    top: 10%;
    left: 0;
    right: 0;
    color: white;
    z-index: 9998;
    text-align: left;
    padding: 0 20px;
}

.individualVilla-swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px;
    height: 300px;
}

.individualVilla-swiper-slide img {
    display: block;
    width: 100%;
}

.overlay {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, .2);
}

.text-yellow {
    color: #ac9b4b;
}

.bg-yellow {
    background-color: #ac9b4b;
    ;
}

.bg-primary {
    background-color: var(--primary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.bg-black {
    background-color: black;
}

.green {
    color: #043034;
}

.bg-green {
    background-color: #043034;
}

.display-0 {
    font-size: 6em;
}

.white-line {
    height: 2px;
    width: 100%;
    background-color: wheat;
}

.underline {
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: #fdfd1a;
    text-decoration-thickness: 5px;
}

.philosophy-item {
    padding: 10px;
}

.separator {
    height: 1px;
    width: 200px;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 9999;
    margin: 0 auto
}

.booking-form-input {
    padding: 10px;
    border-radius: 5px;
    border-style: none;
    width: 100%;
    background-color: rgba(256, 256, 256, 1);
}

.booking-form {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease, transform 0.4s ease;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    width: 400px;
    height: 100%;
}

.booking-form.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
    z-index: 9999;
}

.swiper-button-next,
.swiper-button-prev {
    color: white !important;
}

.cover {
    object-fit: cover;
}

.icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    padding: 10px;
    width: 40px;
    height: 60px;
    color: var(--primary);
    border: 1px var(--primary) solid;
    border-radius: 20px 20px 0 0;

}

.icon i,
.icon p {
    margin: 0;
}

.borderMain {
    border-radius: 0 20px;
}

.fs-7 {
    font-size: .8em;
}

.form-custom {
    border: 2px solid black;
    border-top: 0px;
    border-right: 0;
    border-left: 0;
}

.lt10 {
    letter-spacing: 10px;
}

.lt5 {
    letter-spacing: 5px;
}

.card-equal {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-content p {
    flex-grow: 1;
}

/* Villas */
.carousel-item img {
    height: 500px;
    object-fit: contain;
}

.fade {
    background-color: rgba(0, 0, 0, .9);
}

/******************************/
/*Tablas*/
table {
    border-collapse: collapse;
    font-family: 'Poppins', sans-serif;
}

th {
    white-space: nowrap;
    vertical-align: middle;
    font-size: 12px !important;

}

.th-sort {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.th-sort svg {
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

tr {
    max-width: 250px;
}

td {
    line-break: anywhere;
    font-size: 14px;
}

/**************************/
/*Calendario*/
.mi-event {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    padding: 0 10px;
    font-size: 16px;
}

/******************************************/
/************** Booking Form ***************/
.form-control-booking {
    margin-bottom: 10px;
    border: none;
    border-bottom: 1px solid var(--primary);
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
    box-shadow: none;
    transition: border-color .2s;
}

.booking-container {
    border: 1px solid var(--primary);
    border-radius: 20px;
    height: fit-content;

}

.booking-live-price{
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 0 20px;
    padding: 20px;
    text-align: center;
    font-weight: 600;
}

.booking-details {
    padding: 20px;
    background-color: #fff;
    color: var(--primary);
    margin-bottom: 60px;
}


/***************************************/
/********Galeria de imagenes ***********/
.img-thumb {
    height: 220px;
    object-fit: cover;
    display: block;
    width: 100%;
}

.img-main {
    height: 460px;
    object-fit: cover;
    display: block;
    width: 100%;
}

/* Altura útil y scroll del body del modal Masonry */
#masonryModal .modal-body {
    max-height: calc(100vh - 56px - 56px);
    /* header + padding aprox */
    overflow-y: auto;
}

/* Masonry por columnas */
.masonry {
    column-gap: 1rem;
    column-count: 1;
}

@media (min-width: 576px) {
    .masonry {
        column-count: 2;
    }
}

@media (min-width: 992px) {
    .masonry {
        column-count: 3;
    }
}

@media (min-width: 1400px) {
    .masonry {
        column-count: 4;
    }
}

.masonry-item {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
    margin-bottom: 1rem;
}

.masonry-item img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}
/******************************************/
/*****************flatpickr****************/
/* 1) Contenedor general */
.flatpickr-calendar.inline {
    background: #ffffff;
    border: 1px solid var(--primary) !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-family: 'Poppins', sans-serif;
    width: 100%;
}

.flatpickr-calendar.inline .flatpickr-innerContainer {
    text-align: center !important;
    justify-content: center !important;
}

.flatpickr-calendar.inline {
    padding: 10px;
}

/* 2) Cabecera de mes */
.flatpickr-months {
    background: #FFFFFF;
    color: var(--primary);
    border-bottom: none;
    border-radius: 6px 6px 0 0;
    padding: 0.75em 1em;
}

.flatpickr-current-month {
    font-size: 1.2rem;
    font-weight: 600;
}

/* 3) Flechas de navegación */
.flatpickr-prev-month,
.flatpickr-next-month {
    color: #ffffff;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    color: #d0e6ff;
}

/* 4) Días de la semana */
.flatpickr-weekdays {
    background: #f0f8ff;
    border-bottom: 1px solid #ddd;
}

.flatpickr-weekday {
    color: #4a90e2;
    font-weight: 500;
}

/* 5) Celdas de día */
.flatpickr-day {
    border-radius: 4px;
    margin: 2px;
}

.flatpickr-day:hover {
    background: rgba(74, 144, 226, 0.1);
    cursor: pointer;
}

/* 6) Días seleccionados y rango */
.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: red !important;
    color: #ffffff !important;
}

.flatpickr-day.inRange {
    background: rgba(74, 144, 226, 0.2);
}

/* 7) Días deshabilitados */
.flatpickr-day.disabled,
.flatpickr-day.disabled:hover {
    color: #cccccc;
    background: transparent;
    cursor: not-allowed;
}

/* 8) Pie (clear, today) */
.flatpickr-rContainer .flatpickr-clear,
.flatpickr-rContainer .flatpickr-today {
    color: #4a90e2;
    font-weight: 500;
}

.flatpickr-rContainer .flatpickr-clear:hover,
.flatpickr-rContainer .flatpickr-today:hover {
    text-decoration: underline;
}

/* 9) Si usas inline dentro de un <div>, quita el border interno */
.flatpickr-calendar.inline {
    box-shadow: none;
    border: none;
}

.z-index9999 {
    z-index: 9999;
}

.dropshadow{
    filter: drop-shadow(5px 5px 5px rgba(0,0,0,.1));
}



