/******************************************
 * 1. VARIABLES GLOBALES Y CONFIGURACIÓN
 ******************************************/

:root {
    --bs-body-font-family: 'Outfit', sans-serif;
    --brand-color: #aa8453;
    --light-brand-color: #ceb493;
    --title-fontsize: 36px;
    --normal-fontsize: 18px;
    --small-fontsize: 15px;
    --xsmall-fontsize: 14px;
}

@font-face {
    font-family: 'aesthetic';
    src: url('/fonts/aesthetic.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}


/******************************************
 * 2. BASE / ELEMENTOS DE RESET
 ******************************************/

body {
    overflow-x: hidden;
    font-weight: 200 !important;
    font-size: var(--normal-fontsize);
    line-height: 24px;
}

h1,
h2,
h3,
h4,
h5,
p,
span,
input {
    font-weight: 200 !important;
}

h1 {
    font-size: 36px;
    line-height: 36px;
}

h2 {
    font-size: 2rem !important;
    line-height: 2rem !important;
}

.amenities-title {
    font-size: var(--title-fontsize);
    line-height: var(--title-fontsize);
}

.lead {
    font-size: var(--normal-fontsize);
}

.breadcrumb-text {
    font-weight: 300;
    font-size: var(--title-fontsize);
    text-transform: uppercase;
}

.breadcrumb-text.current {
    color: var(--brand-color);
}

.view-more {
    font-size: var(--small-fontsize) !important;
    text-decoration: none !important;
    color: var(--brand-color) !important;
}

.xsmall-legend {
    font-size: var(--xsmall-fontsize) !important;
    line-height: var(--xsmall-fontsize) !important;
    text-decoration: none !important;
}

.small-legend {
    font-size: var(--small-fontsize) !important;
    line-height: var(--small-fontsize) !important;
    text-decoration: none !important;
}


/******************************************
 * 3. LAYOUTS Y ESTRUCTURA GLOBAL
 ******************************************/


/* === 3.1 Top-Navbar === */

.top-navbar {
    transition: all 0.3s ease-in-out;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.1));
    color: white;
    padding: 1rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1030;
}

.top-navbar.scrolled {
    background: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    backdrop-filter: none;
}

.top-navbar.scrolled .nav-link,
.top-navbar.scrolled .navbar-brand,
.top-navbar.scrolled .btn {
    color: black !important;
}

.top-navbar.scrolled .navbar-brand,
.top-navbar.scrolled .nav-link {
    font-weight: 200;
}

.top-navbar.scrolled .btn-reserva {
    background-color: var(--brand-color);
    color: #000000 !important;
}

.top-navbar.scrolled .nav-btn-square {
    color: #000 !important;
    border-color: var(--brand-color) !important;
    background-color: transparent !important;
}

.nav-link,
.navbar-brand,
.btn {
    color: white;
    transition: color 0.3s ease-in-out;
}

.nav-link:hover,
.navbar-brand:hover,
.btn:hover {
    color: var(--brand-color) !important;
}

.nav-square {
    margin-left: 0.5rem;
    border: solid 1px #FFF !important;
    width: 38px;
    height: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 !important;
}

.nav-btn-square {
    margin-left: 0.5rem;
    border: solid 1px var(--brand-color) !important;
    color: #000;
    background-color: #FFF !important;
    height: 38px;
    padding-left: 10px !important;
    padding-right: 10px !important;
    display: flex;
    align-items: center;
}

.nav-selected {
    text-decoration: underline !important;
}

.menu-selected {
    color: var(--brand-color) !important;
    text-decoration: underline !important;
}


/* === 3.2 Offcanvas (Menú lateral) === */

.offcanvas.offcanvas-start {
    background-color: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(15px);
    color: black;
}

.offcanvas-backdrop {
    background-color: rgba(0, 0, 0, 0.2);
}

.offcanvas-header {
    border-bottom: 1px solid #dee2e6;
    padding-left: 2.5rem !important;
}

.offcanvas-title {
    color: black;
    font-weight: bold;
}

.offcanvas-body {
    color: black;
    padding-left: 2.5rem !important;
}

.sideMenu {
    width: 100% !important;
    max-width: 700px;
}

.tree-menu,
.first-tree-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tree-menu>li,
.first-tree-menu>li {
    font-weight: 400;
    color: black;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}

.first-tree-menu>li {
    padding: 0.4rem 0;
}

.tree-menu>li>a,
.first-tree-menu>li>a {
    color: inherit;
    text-decoration: none;
    display: block;
    width: 100%;
}

.tree-menu>li:last-child,
.first-tree-menu>li:last-child {
    border-bottom: none;
}

.tree-menu .sub-menu,
.first-tree-menu .sub-menu {
    list-style: none;
    padding-left: 1.5rem;
    font-weight: normal;
}

.tree-menu .sub-menu li,
.first-tree-menu .sub-menu li {
    padding: 0.5rem 0;
}

.tree-menu .sub-menu a,
.first-tree-menu .sub-menu a {
    color: #495057;
    text-decoration: none;
    transition: color 0.2s;
}

.tree-menu .sub-menu a:hover,
.first-tree-menu .sub-menu a:hover {
    color: var(--brand-color);
}


/* === 3.3 Hero Sections === */

.hero-section,
.hero-top,
.hero-group-packages,
.hero-blog,
.hero-contact,
.hero-all-inclusive,
.hero-main-offers,
.hero-offers {
    height: 100vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section {
    background-image: url('https://tesoromanzanillo.com//webp/videobanner-MZO/');
}

.hero-section video {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
    filter: brightness(0.8);
    opacity: 0;
}

.hero-section video.visible {
    opacity: 1;
    filter: brightness(0.8);
}

.mzo-hero {
    background-image: url('/webp/MZO-stream-min/');
}

.hero-top {
    height: 50vh;
    min-height: 300px;
    align-items: flex-end;
    padding: 2rem;
}

.hero-group-packages,
.hero-blog,
.hero-contact,
.hero-all-inclusive,
.hero-main-offers,
.hero-offers {
    height: 65vh;
    min-height: 250px;
}

.hero-blog {
    min-height: 450px;
    align-items: end;
}

.hero-top::after,
.hero-group-packages::after,
.hero-blog::after,
.hero-contact::after,
.hero-all-inclusive::after,
.hero-main-offers::after,
.hero-offers::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0));
}

.hero-group-packages::after,
.hero-blog::after,
.hero-contact::after,
.hero-all-inclusive::after,
.hero-main-offers::after,
.hero-offers::after {
    background: rgba(0, 0, 0, 0.1);
}

.hero-main-offers::after,
.hero-offers::after {
    background: rgba(0, 0, 0, 0.3);
}

.hero-top-content,
.hero-group-packages-content,
.hero-blog-content,
.hero-contact-content,
.hero-all-inclusive-content,
.hero-main-offers-content,
.hero-offers-content {
    position: relative;
    z-index: 1;
}

.hero-top-content h1 {
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
}

.hero-top-content p {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 0.25rem;
}

.hero-group-packages-content h1,
.hero-blog-content h1,
.hero-contact-content h1,
.hero-all-inclusive-content h1,
.hero-main-offers-content h1,
.hero-offers-content h1 {
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.hero-blog-content p {
    font-size: 1.1rem;
    font-weight: 300;
}

.hero-detail-banner {
    background-size: cover;
    background-position: center;
    height: 40vh;
    min-height: 250px;
}


/* === 3.4 Footer === */

.mzo-footer {
    background-image: linear-gradient(180deg, rgba(0, 0, 2505, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 100%), url('/webp/MZO-footer-min/');
    background-size: cover;
    background-position: center;
    height: 65vh;
    min-height: 400px;
    display: flex;
    align-items: end;
    justify-content: center;
    padding-bottom: 130px;
}

.lcs-footer {
    background-image: linear-gradient(180deg, rgba(0, 0, 2505, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 100%), url('/webp/LCS-footer-min/');
    background-size: cover;
    background-position: center;
    height: 65vh;
    min-height: 400px;
    display: flex;
    align-items: end;
    justify-content: center;
    padding-bottom: 130px;
}

.ixt-footer {
    background-image: linear-gradient(180deg, rgba(0, 0, 2505, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 100%), url('/webp/IXT-footer-min/');
    background-size: cover;
    background-position: center;
    height: 65vh;
    min-height: 400px;
    display: flex;
    align-items: end;
    justify-content: center;
    padding-bottom: 130px;
}

.site-footer {
    padding: 3rem 0;
}

.footer-logo {
    width: 250px;
    margin-bottom: 1rem;
}

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

.footer-links-list li {
    margin-bottom: 0.5rem;
}

.footer-links-list a {
    color: #495057;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links-list a:hover {
    color: var(--brand-color);
}

.footer-social-icons a {
    color: #495057;
    font-size: 1.5rem;
    margin-right: 1rem;
    transition: color 0.2s;
}

.footer-social-icons a:hover {
    color: var(--brand-color);
}

.footer-contact-info {
    padding-top: 1.5rem;
    border-top: 1px solid #e9e9e9;
}

.footer-contact-info p {
    margin-bottom: 0;
}

.footer-awards-logos {
    padding-top: 1.5rem;
    border-top: 1px solid #e9e9e9;
}

.footer-awards-logos img {
    height: 50px;
    margin-right: 1rem;
    object-fit: contain;
}

.site-footer-bottom {
    padding: 1rem 0;
    text-align: center;
}

.site-footer-bottom .text-muted {
    font-size: 0.9rem;
}

.site-footer-bottom .footer-legal-links a {
    color: #495057;
    text-decoration: none;
    margin: 0 0.5rem;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.site-footer-bottom .footer-legal-links a:hover {
    color: var(--brand-color);
}


/* === 3.5 Containers y Separadores === */

.main-detail-container,
.contact-container,
.all-inclusive-container,
.packages-container,
.amenity-details-container,
.blog-list-container,
.post-container,
.offers-query-container,
.restaurant-details-container,
.room-details-container,
.welcome {
    position: relative;
    z-index: 2;
    margin-top: -3rem;
}

.room-details-container,
.amenity-details-container,
.restaurant-details-container {
    margin-top: -5rem;
}

.separator {
    border-top: 2px solid var(--brand-color);
    margin: 2rem 0;
    opacity: 0.3;
}

.section-detail-separator {
    border-top: 1px solid #ddd;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}


/******************************************
 * 4. COMPONENTES REUTILIZABLES
 ******************************************/


/* === 4.1 Botones === */

.btn-flex {
    flex-basis: 50%;
    flex-grow: 0;
    flex-shrink: 0;
}

.btn.p-0 small {
    margin-top: 0.1rem;
}

.btn-reserva {
    background-color: var(--brand-color);
    color: #000000 !important;
    padding: 0.5rem 1.5rem;
    font-weight: bold;
    transition: background-color 0.3s ease-in-out;
}

.btn-reserva:hover {
    background-color: #92734a;
}

.btn-solid-brand {
    background-color: var(--brand-color);
    border-color: var(--brand-color);
    color: #000;
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-solid-brand:hover {
    background-color: #92734a;
    border-color: #92734a;
    color: #000 !important;
}

.btn-outline-brand {
    background-color: transparent;
    border-color: var(--brand-color);
    color: #000;
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-outline-brand:hover {
    background-color: var(--brand-color);
    color: white !important;
}

.btn-outline-white-brand {
    background-color: #FFF;
    border-color: var(--brand-color);
    color: #000;
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-outline-white-brand:hover {
    background-color: var(--brand-color);
    color: white !important;
}

.btn-brand {
    background-color: var(--brand-color);
    color: #fff;
    padding: 0.75rem 2rem;
    border-radius: 0px !important;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-brand:hover {
    background-color: #92754c;
    color: #fff !important;
}

.btn-booking {
    font-weight: 400 !important;
    font-size: 18px;
}

.main-btn {
    font-weight: 400 !important;
    font-size: 16px !important;
}

.btn-newsletter-brand {
    background-color: var(--brand-color);
    border-color: white;
    color: #000;
    padding: 0.75rem 2rem;
    font-weight: 400 !important;
    border-radius: 0;
    transition: all 0.3s ease;
}

.btn-newsletter-brand:hover {
    background-color: #92734a;
    border-color: #92734a;
    color: #000 !important;
}

.offer-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    border: 2px solid white;
    color: white;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
}

.offer-button:hover {
    background-color: white;
    color: var(--brand-color);
}


/* === 4.2 Formularios === */

.form-control {
    border-radius: 0.25rem;
}

.form-control:focus {
    box-shadow: none;
    border-color: var(--brand-color);
}

.form-outline-brand {
    border-color: var(--brand-color) !important;
}

.booking-form-container {
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-top: -150px;
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
}

.booking-form-container .form-group {
    flex: 1 1 200px;
    margin-right: 1rem;
}

.booking-form-container .form-control {
    border: 1px solid #ced4da;
    padding: 0.75rem;
    width: 100%;
    height: auto;
}

.booking-form-container .btn-check-availability {
    flex: 1 1 200px;
}

.quantity-selector {
    display: flex;
    align-items: center;
}

.quantity-selector .btn {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 0.5rem 1rem;
}

.quantity-selector .form-control {
    text-align: center;
    width: 60px;
    border-left: none;
    border-right: none;
}

.quantity-selector .btn.btn-outline-brand {
    padding: 0.5rem 1rem;
    font-size: 1.25rem;
    font-weight: bold;
    border: 1px solid var(--brand-color);
    color: var(--brand-color);
}

.quantity-selector .btn.btn-outline-brand:hover {
    color: white;
}

.promo-code-container {
    position: relative;
}

.promo-code-container .dropdown-toggle::after {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.promo-code-container input {
    padding-right: 2rem;
}

.no-arrow-dropdown .dropdown-toggle::after {
    display: none !important;
}

.booking-form-label {
    font-weight: 200 !important;
    font-size: 16px !important;
}


/* === 4.3 Tarjetas === */

.card-shadowed {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
}

.main-content-card,
.sidebar-card,
.info-detail-card,
.offer-query-content-card {
    background-color: #fff;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.main-content-card,
.info-detail-card,
.offer-query-content-card {
    border-radius: 0.5rem;
}

.sidebar-card {
    margin-bottom: 2rem;
}

.horizontal-card {
    display: flex;
    align-items: stretch;
    margin-bottom: 2rem;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    background-color: #f8f9fa;
    border-radius: 0;
}

.horizontal-card .row {
    width: 100%;
    margin: 0;
}

.horizontal-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.horizontal-card .card-img {
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.odd .card-img-container {
    order: 2;
}

.odd .card-body-container {
    order: 1;
}

.even .card-img-container {
    order: 1;
}

.even .card-body-container {
    order: 2;
}


/* === 4.4 Carousels === */

.boxed-carousel,
.vertical-carousel,
.horizontal-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.boxed-carousel-track,
.vertical-carousel-track,
.horizontal-carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.boxed-carousel-item-container,
.vertical-carousel-item-container,
.horizontal-carousel-item-container {
    flex: 0 0 auto;
    box-sizing: border-box;
    padding: 1rem;
    width: 100%;
    transition: opacity 0.3s ease;
}

.boxed-carousel-item,
.vertical-carousel-item,
.horizontal-carousel-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
}

.boxed-carousel-item {
    padding-top: 85%;
}

.vertical-carousel-item {
    padding-top: 133.33%;
}

.horizontal-carousel-item {
    padding-top: 63.33%;
    margin-bottom: 1rem;
}

.boxed-carousel-item-image,
.vertical-carousel-item-image,
.horizontal-carousel-item-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease-out;
}

.boxed-carousel-item-container:hover .boxed-carousel-item-image,
.vertical-carousel-item-container:hover .vertical-carousel-item-image,
.horizontal-carousel-item-container:hover .horizontal-carousel-item-image {
    transform: scale(1.05);
}

.boxed-carousel-item-content,
.vertical-carousel-item-content,
.horizontal-carousel-item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    color: white;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0));
}

.boxed-carousel-nav-container,
.vertical-carousel-nav-container,
.horizontal-carousel-nav-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.boxed-carousel-nav[disabled],
.vertical-carousel-nav[disabled],
.horizontal-carousel-nav[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
}


/* Bar Cards Carousel */

.bar-cards-wrapper {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.bar-cards-wrapper::-webkit-scrollbar {
    display: none;
}

.bar-card {
    flex-shrink: 0;
    width: 90vw;
    max-width: 550px;
    margin-right: 0.8rem;
    scroll-snap-align: start;
    background-color: transparent;
}

.card-image-container {
    height: 320px;
    background-size: cover;
    background-position: center;
}

.bar-title {
    color: #2c2c2c;
    font-size: 1.5rem;
    font-weight: bold;
}

.bar-subtitle {
    color: var(--brand-color);
    font-size: 1rem;
    font-weight: normal;
}

.carousel-button-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* === 4.5 Modales === */

.modal-content.rounded-0 {
    overflow: hidden;
    border: none;
}

.modal-header.rounded-0 {
    background-color: #f7f7f7;
    border-bottom: 1px solid #e9e9e9;
    padding: 1rem 1.5rem;
}

.modal-footer.rounded-0 {
    background-color: #f7f7f7;
    border-top: 1px solid #e9e9e9;
    padding: 1rem 1.5rem;
}

.promo-modal {
    --modal-width: 320px;
    position: fixed;
    left: 5px;
    bottom: 5px;
    width: var(--modal-width);
    max-width: calc(100% - 10px);
    height: calc(var(--modal-width) * 3 / 3);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    transform: translateX(-105%);
    transition: transform 0.5s ease-out;
    z-index: 99999;
}

.promo-modal.show {
    transform: translateX(0);
}

.promo-modal .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 100;
}

.modal-foreground-content {
    position: relative;
    z-index: 5;
    color: white;
    text-align: center;
    height: 100%;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
}

.promo-modal h1 {
    font-size: 2rem;
    margin-bottom: 0;
}

.promo-modal p {
    margin-bottom: 1.5rem;
}


/* === 4.6 Acordeones === */

.accordion-brand.collapsed,
.accordion-brand:not(.collapsed) {
    background: none !important;
    border-top: 1px solid var(--brand-color);
    border-bottom: 1px solid var(--brand-color);
    color: var(--brand-color);
}

.accordion-brand::after {
    color: var(--brand-color);
    filter: brightness(0) saturate(100%) invert(58%) sepia(10%) saturate(1837%) hue-rotate(354deg) brightness(91%) contrast(83%);
}


/******************************************
 * 5. PÁGINAS Y ESTILOS ESPECÍFICOS
 ******************************************/


/* === 5.1 Welcome === */

.welcome {
    margin-top: 250px !important;
    z-index: 3;
}

.welcome-text {
    font-weight: 200 !important;
    font-size: 1.15rem;
    margin-left: 69px;
    margin-right: 48px;
    line-height: 1.6rem;
}


/* === 5.2 Room Details === */

.room-carousel-section {
    padding: 3rem 0;
}

.room-card-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
}

.room-image-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.room-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}

.room-image-container:hover .room-image {
    transform: scale(1.05);
}

.room-image-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    transition: all 0.5s ease-in-out;
}

.room-image-container:hover::after {
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(3px);
}

.main-room-image {
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.room-price-section {
    background-color: #f8f9fa;
    border-left: 5px solid var(--brand-color);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.room-price-section h3 {
    font-weight: 600;
    color: #333;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.room-price-section span {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--brand-color);
}


/* === 5.3 Offers / Packages === */

.package-title {
    font-weight: 700;
    color: var(--brand-color);
    margin-bottom: 1rem;
}

.package-description {
    font-weight: 400;
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.offer-card-title {
    font-size: 1.75rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.offer-card-text {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.offers-section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.offer-section-container {
    padding: 5rem 1rem;
}

.offer-title {
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 2rem;
}

.offer-cards-container {
    display: flex;
    overflow-x: auto;
    gap: 1.5rem;
    padding: 1rem 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.offer-card {
    flex: none;
    width: 80%;
    scroll-snap-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    padding-bottom: 133.33%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.offer-card:hover {
    transform: translateY(-5px);
}

.offer-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
}

.offer-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    color: white;
    z-index: 10;
}

.offer-query-card {
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.offer-query-card:hover,
.offer-query-shadow {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.offer-query-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.offer-query-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.offer-query-title {
    font-weight: 700;
    color: var(--brand-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.offer-query-date {
    color: #777;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.offer-query-description {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1rem;
    text-align: justify;
}


/* === 5.4 Blog / Post === */

.post-card-preview {
    background-color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.post-card-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.post-card-preview img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card-preview .card-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.post-card-preview .card-title {
    font-weight: 600;
    color: var(--brand-color);
}

.post-card-preview .card-text {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.6;
    flex-grow: 1;
}

.category-list .list-group-item {
    background-color: transparent;
    border: none;
    padding-left: 0;
    color: var(--text-color);
    transition: color 0.3s ease;
}

.category-list .list-group-item:hover {
    color: var(--brand-color);
}

.category-list .list-group-item.active {
    background-color: var(--brand-color);
    color: #fff;
    border-radius: 0.25rem;
}

.post-card-with-date {
    position: relative;
}

.post-date-overlay {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(255, 255, 255, 0.8);
    color: var(--brand-color);
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 5px;
}

.post-image {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.post-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}


/* === 5.5 Amenity / Restaurant Details === */

.amenity-main-image,
.restaurant-main-image {
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.restaurant-main-image {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.amenity-hours,
.info-card {
    background-color: #fff;
    border-left: 5px solid var(--brand-color);
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.info-card {
    color: var(--text-color);
}

.amenity-hours h3,
.info-card h3 {
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
    color: #333;
}

.info-card h3 {
    color: var(--brand-color);
}

.amenity-hours .icon-text,
.info-card .icon-text {
    display: flex;
    align-items: center;
}

.amenity-hours .icon-text i,
.info-card .icon-text i {
    color: var(--brand-color);
    font-size: 1.5rem;
    margin-right: 0.75rem;
}

.info-card .icon-text i {
    color: var(--light-gold);
}

.amenities-list,
.amenity-list-mice {
    list-style: none;
    padding: 0;
}

.amenities-list {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
}

.amenities-list li,
.amenity-list-mice li,
.all-inclusive-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.amenities-list li i,
.amenity-list-mice li i,
.all-inclusive-item i {
    font-size: 1.25rem;
    margin-right: 0.5rem;
    color: var(--brand-color);
}

.amenity-list-mice li {
    font-size: 1.1rem;
    color: var(--text-color);
}

.all-inclusive-item {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    background-color: transparent;
    border: none;
}

.all-inclusive-item .icon {
    margin-right: 0.75rem;
}

.list-group-item.all-inclusive-item {
    padding: 0.5rem 0;
}

.all-inclusive-image {
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: auto;
}


/* === 5.6 Chatbot === */

.chatbot-container {
    max-width: 90vw;
    margin: 5px auto;
    padding: 1rem;
}

.chatbot-header {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--brand-color);
    font-size: 1.5rem;
    font-weight: 400;
}

.chatbot-messages {
    height: 400px;
    overflow-y: auto;
    border-radius: 0px !important;
    padding: 1rem;
    background-color: #f1f5f9;
    margin-bottom: 1rem;
    scroll-behavior: smooth;
    position: relative;
}

.chatbot-message {
    margin-bottom: 1rem;
    max-width: 80%;
    border-radius: 0px !important;
    padding: 0.75rem 1rem;
}

.user-message {
    background-color: var(--brand-color);
    color: #000;
    align-self: flex-end;
    margin-left: auto;
}

.bot-message {
    background-color: #fff;
    border: 1px solid #e2e8f0;
    margin-right: auto;
}

.chatbot-input-group {
    display: flex;
}

.chatbot-input {
    flex-grow: 1;
    border-radius: 0px !important;
}

.chatbot-send-btn {
    background-color: transparent;
    color: var(--brand-color);
    border: 1px solid var(--brand-color);
    border-radius: 0px !important;
    margin-left: 0.5rem;
}

.chatbot-send-btn:hover {
    background-color: var(--brand-color);
    color: #FFF !important;
}

.spinner {
    display: none;
    text-align: center;
    margin-top: 1rem;
}

.confirmation-buttons {
    display: none;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.typing-indicator-message {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: #fff;
    border: 1px solid #e2e8f0;
    padding: 0.5rem 1rem;
    border-radius: 0.75rem;
    display: none;
}

.typing-indicator-message span {
    display: inline-block;
    background-color: #5d4a34;
    width: 8px;
    height: 8px;
    margin: 0 2px;
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite;
}

.typing-indicator-message span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator-message span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}


/* === 5.7 MICE / Gallery (Meetings, Incentives, Conferences, Exhibitions) === */

.gallery-item-mice {
    cursor: pointer;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item-mice:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.gallery-item-mice img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-group-image {
    width: 100%;
    height: 50vh;
    object-fit: cover;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}


/******************************************
 * 6. UTILIDADES / HELPERS
 ******************************************/


/* === 6.1 Colores y Fondos === */

.brand-bg {
    background-color: var(--brand-color);
    color: #000;
}

.text-brand {
    color: var(--brand-color) !important;
}


/* === 6.2 Filtros === */

.gold-filter {
    filter: invert(57%) sepia(72%) saturate(278%) hue-rotate(354deg) brightness(82%) contrast(84%) !important;
}

.white-filter {
    filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(1%) hue-rotate(283deg) brightness(109%) contrast(101%) !important;
}

.black-filter {
    filter: brightness(0) saturate(100%) !important;
}


/* === 6.3 Márgenes y Paddings (Spacing) === */

.ms-15 {
    margin-left: 15px;
}

.me-15 {
    margin-right: 15px;
}

.ms-20 {
    margin-left: 20px;
}

.me-20 {
    margin-right: 20px;
}

.ms-30 {
    margin-left: 30px;
}

.me-30 {
    margin-right: 30px;
}

.mt-30 {
    margin-top: 30px !important;
}

.mt-40 {
    margin-top: 40px !important;
}

.mt-50 {
    margin-top: 50px !important;
}

.mb-30 {
    margin-bottom: 30px !important;
}

.mb-40 {
    margin-bottom: 40px !important;
}

.mb-50 {
    margin-bottom: 50px !important;
}

.pt-10 {
    padding-top: 10px !important;
}

.pt-20 {
    padding-top: 20px !important;
}

.pt-30 {
    padding-top: 30px !important;
}

.pt-40 {
    padding-top: 40px !important;
}

.pt-50 {
    padding-top: 50px !important;
}

.pb-10 {
    padding-bottom: 10px !important;
}

.pb-20 {
    padding-bottom: 20px !important;
}

.pb-30 {
    padding-bottom: 30px !important;
}

.pb-40 {
    padding-bottom: 40px !important;
}

.pb-50 {
    padding-bottom: 50px !important;
}

.ps-md-20 {
    padding-left: 20px;
}

.ps-md-30 {
    padding-left: 30px;
}

.ps-md-40 {
    padding-left: 40px;
}

.amenities-gap {
    gap: 1rem;
}


/* === 6.4 Tipografía === */

.highlight-title {
    font-size: 3.2rem !important;
    line-height: 3.2rem !important;
}

.fnt-300 {
    font-weight: 300 !important;
}

.fnt-350 {
    font-weight: 350 !important;
}

.fnt-400 {
    font-weight: 400 !important;
}

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

.fnt-aesthetic {
    font-family: 'aesthetic', serif;
}

.text-justify {
    text-align: justify !important;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--brand-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    text-align: center;
}

.section-detail-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    color: var(--brand-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.text-truncate-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* === 6.5 Bordes === */

.rounded-0 {
    border-radius: 0 !important;
}

.no-shadow {
    box-shadow: none !important;
    border: none !important;
}

.border-brand {
    border: 2px solid var(--brand-color);
}

.border-bottom-brand {
    border-bottom: 1px solid var(--brand-color);
}

.border-top-brand {
    border-top: 1px solid var(--brand-color);
}

.border-start-brand {
    border-left: 1px solid var(--brand-color);
}

.border-end-brand {
    border-right: 1px solid var(--brand-color);
}

.link-underline {
    text-decoration: none;
    padding-bottom: 0px;
    border-bottom: 1px solid var(--brand-color);
}


/* === 6.6 Varios === */

.ratio-4x3 {
    width: 100%;
    position: relative;
    height: 0;
    padding-top: 75%;
    /* Esto crea la relación 4:3 (3 / 4 = 0.75) */
}

.ratio-4x3>img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.sticky-top-custom {
    top: 150px;
    position: sticky;
}

.image-detail-container {
    position: relative;
    width: 100%;
    padding-bottom: 75%;
    overflow: hidden;
    border-radius: 0.5rem;
}

.image-detail-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.icon-detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.icon-detail-item i {
    font-size: 1.5rem;
    color: var(--brand-color);
    margin-right: 1rem;
}

.notice-detail-box {
    background-color: #f1f1f1;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 5px solid var(--brand-color);
    position: relative;
}

.notice-detail-warning-box {
    background-color: #f1f1f1;
    padding: 1.5rem;
    border-radius: 0.5rem;
    border-left: 5px solid var(--bs-warning);
    position: relative;
}


/******************************************
 * 7. MEDIA QUERIES / ADAPTABILIDAD
 ******************************************/

@media (max-width: 991.98px) {
    .booking-form-container {
        flex-direction: column;
    }
    .booking-form-container .form-group,
    .booking-form-container .btn-check-availability {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    .room-card-content {
        order: 2;
        text-align: center;
    }
    .room-image-container {
        order: 1;
        height: 300px;
        margin-bottom: 1.5rem;
    }
    .footer-contact-info .row>div,
    .footer-awards-logos .row>div {
        text-align: center;
    }
}

@media (min-width: 768px) {
    .offer-cards-container {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 2rem;
        overflow-x: unset;
        scroll-snap-type: none;
        padding: 0;
    }
    .offer-card {
        width: auto;
    }
    .bar-cards-wrapper {
        overflow-x: hidden;
        scroll-snap-type: none;
        flex-wrap: nowrap;
        margin-right: 0;
    }
    .bar-card {
        width: calc((100% / 2) - 1rem);
        margin-right: 0.8rem;
    }
}

@media (max-width: 767.98px) {
    .horizontal-card {
        flex-direction: column;
    }
    .odd .card-img-container,
    .odd .card-body-container,
    .even .card-img-container,
    .even .card-body-container {
        order: unset !important;
    }
    .horizontal-card .card-img-container {
        height: 250px;
    }
    .ps-md-20 {
        padding-left: 5px;
    }
    .ps-md-30 {
        padding-left: 5px;
    }
    .ps-md-40 {
        padding-left: 5px;
    }
}


/* * 1. CLASES PARA HABILITAR EL SCROLL HORIZONTAL (SWIPE) EN MÓVIL
 */

.nav--tesorotab-swipe-container {
    overflow-x: auto;
    /* Permite el scroll horizontal */
    -webkit-overflow-scrolling: touch;
    /* Mejora la experiencia de swipe en iOS */
    /* Opcional: Oculta la barra de scroll para una apariencia más limpia */
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.nav--tesorotab-swipe-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, Opera */
}


/* Base de los nav-pills/tabs */

.nav-pills--tesorotab-custom {
    display: flex;
    /* Fuerza la visualización en fila */
    flex-wrap: nowrap;
    /* Evita que los items salten de línea en móvil */
    gap: 1rem;
    /* Espacio entre los botones en móvil */
    /*padding-bottom: 0.5rem;*/
    /* Espacio para evitar corte de sombras o bordes */
}


/* Item de navegación: define el ancho para que el swipe funcione */

.nav-item--tesorotab-custom {
    flex-shrink: 0;
    /* IMPEDIR: Evita que los botones se encojan en móvil */
    min-width: 150px;
    /* Ancho mínimo de cada botón en móvil para facilitar el toque */
}


/*
 * 2. ESTILOS VISUALES DEL BOTÓN (NAV-LINK)
 */

.nav-link--tesorotab-button {
    /* Estilos base */
    background-color: transparent !important;
    color: var(--brand-color) !important;
    font-family: 'aesthetic', serif;
    /* Texto negro por defecto */
    border: 0px solid #dee2e6;
    /* Borde sutil en inactivo */
    border-radius: 0px !important;
    /* Bordes redondeados */
    text-align: center;
    padding: 1rem 1.5rem;
    font-size: var(--title-fontsize);
    /* Flexbox para alinear ícono y texto verticalmente */
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}


/* Estado Activo: Aplica el color de fondo ("fill") y resalta el texto */

.nav-link--tesorotab-button.active {
    background-color: var(--brand-color) !important;
    color: #ffffff !important;
    /* Texto blanco en estado activo */
    border-color: var(--brand-color) !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Sombra sutil para destacar */
}


/* Estilo para los iconos dentro del botón */

.nav-link--tesorotab-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 0.5rem;
}


/*
 * 3. MEDIA QUERY PARA ESCRITORIO (BREAKPOINT 'lg' DE BOOTSTRAP)
 * Aplica el 'fill' y 'justify-content-between'
 */

@media (min-width: 992px) {
    .nav-pills--tesorotab-custom {
        flex-wrap: wrap;
        /* Permite que los items usen todo el ancho */
        justify-content: space-between;
        /* Distribuye el espacio entre los botones */
        gap: 0;
        /* Elimina el gap entre botones */
    }
    /* Aplica la lógica de 'nav-fill' para que los ítems crezcan */
    .nav-pills--tesorotab-custom.nav-fill .nav-item--tesorotab-custom {
        /* flex-basis: 0 y flex-grow: 1 fuerza el ancho equitativo */
        flex: 1 1 0%;
        /* Permite que el item crezca para llenar */
        min-width: unset;
        /* Anula el min-width de móvil */
        margin: 0rem;
        /* Espacio horizontal para simular el 'justify-content-between' */
    }
    /* Ajuste fino: Elimina el margen de los extremos para un 'fill' perfecto */
    .nav-pills--tesorotab-custom.nav-fill .nav-item--tesorotab-custom:first-child {
        margin-left: 0;
    }
    .nav-pills--tesorotab-custom.nav-fill .nav-item--tesorotab-custom:last-child {
        margin-right: 0;
    }
}