:root {
    --color-institucional: #aa8453;
    --color-hover: #9c6116;
    --font-family-outfit: 'Outfit', sans-serif;
    --base-font-size: 1.3rem;
    --title-size: 2.5rem;
}


/* Regla global para no tener border-radius */

div,
button,
.card,
.carousel-item,
.modal-content {
    border-radius: 0 !important;
}

body {
    font-family: var(--font-family-outfit);
    font-weight: 300;
    font-size: var(--base-font-size);
}


/* Regla global para forzar todas las tipografías a 300 */

h1,
h2,
h3,
h4,
h5,
h6,
.fw-bold {
    font-weight: 300 !important;
}


/* Estilos del navbar - Estado inicial */

.navbar-custom {
    transition: background-color 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    background-color: transparent;
}

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

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


/* Estilos del navbar - Estado con scroll */

.navbar-custom.scrolled {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-custom.scrolled .navbar-brand,
.navbar-custom.scrolled .nav-link {
    color: black;
}

#logo-img {
    width: 200px;
}


/* Clases de utilidad */

.golden-text {
    color: var(--color-institucional);
}

.text-shadow-subtle {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}


/* Estilos para el hero banner */

.hero-banner-80 {
    height: 80vh;
    background: url('https://tesororesorts.info/jpg/tlc-main-banner-2025/') no-repeat center center/cover;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 5rem;
    color: white;
}

.hero-banner {
    height: 80vh;
    position: relative;
    /* Esencial para el posicionamiento del video y el overlay */
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 5rem;
    color: white;
}


/* Overlay para el video, para que el texto sea legible */

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1;
    /* Asegura que el overlay esté encima del video */
}


/* Estilos para el video de fondo */

.hero-banner video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Mantiene la proporción del video y lo recorta para llenar el contenedor */
    z-index: 0;
    /* Asegura que el video esté detrás del contenido y del overlay */
}

.hero-banner-40 {
    height: 40vh;
    background: url('https://tesororesorts.info/jpg/tlc-main-banner-2025/') no-repeat center center/cover;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 5rem;
    color: white;
}


/* Estilo para los números de la lista numerada */

.golden-list {
    counter-reset: my-counter;
    padding-left: 0;
    list-style: none;
}

.golden-list li {
    position: relative;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.golden-list li::before {
    content: counter(my-counter);
    counter-increment: my-counter;
    position: absolute;
    left: 0;
    top: 0;
    font-weight: 400;
    font-size: 2rem !important;
    /* Se cambió la densidad de la tipografía a 600 */
    color: var(--color-institucional);
}


/* Estilo para los botones */

.btn-institucional {
    background-color: var(--color-institucional);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    font-size: var(--base-font-size);
    border-radius: 0px !important;
    transition: background-color 0.3s ease;
}

.btn-institucional:hover {
    background-color: var(--color-hover);
    color: white;
}

.btn-institucional-outline {
    background-color: transparent;
    color: var(--color-institucional);
    border: 1px solid var(--color-institucional);
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-institucional-outline:hover {
    background-color: var(--color-institucional);
    color: white;
}


/* Estilos para el carrusel de testimonios */

.testimonial-carousel .carousel-item {
    padding: 2rem;
    text-align: center;
    font-style: italic;
}

.testimonial-carousel blockquote {
    border-left: 5px solid var(--color-institucional);
    padding-left: 1rem;
}


/* Estilos del footer */

.footer-custom {
    background-color: var(--color-institucional);
    color: white;
}

.footer-custom a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-custom a:hover {
    color: #ccc;
}

.social-icon {
    font-size: 1.5rem;
    margin: 0 0.5rem;
}


/* Estilos del modal (tipo iOS) */

.modal-ios .modal-content {
    border-radius: 14px;
    padding: 20px;
}

.modal-ios .modal-header {
    border-bottom: none;
    text-align: center;
    padding-bottom: 0;
}

.modal-ios .modal-body {
    padding-top: 0;
}

.modal-ios .modal-footer {
    border-top: none;
    text-align: center;
    padding-top: 0;
}

.modal-ios .modal-header .btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 0;
    margin: 0;
}


/* Estilos para los campos de formulario dentro del modal */


/* Nueva regla para que los inputs solo tengan borde inferior */

.modal-ios .form-control {
    border-radius: 0 !important;
    border: none;
    border-bottom: 1px solid var(--color-institucional);
    background-color: transparent;
}

.modal-ios .form-control:focus {
    outline: none;
    box-shadow: none;
    border-bottom-color: var(--color-hover);
}


/* Custom styles for destination section */

.brand-carousel-container {
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    /* For smoother scrolling on iOS */
}

.brand-carousel-container a {
    display: inline-block;
    width: 300px;
    /* Adjust size as needed */
    margin-right: 15px;
}

.brand-carousel-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.brand-carousel-container img:hover {
    transform: scale(1.05);
}


/* Custom style for room amenities icons */

.amenity-item i {
    color: var(--color-institucional);
    font-size: 1.25rem;
    margin-right: 0.5rem;
}

.amenity-item span {
    font-weight: 400;
}


/* Custom styles for points table */

.points-table th {
    background-color: var(--color-institucional);
    color: white;
    font-weight: 400 !important;
}

.points-table td,
.points-table th {
    border: 1px solid #dee2e6;
    padding: 0.75rem;
    text-align: center;
}

.points-table tr:nth-child(even) {
    background-color: #f8f9fa;
}


/* Estilos para las tarjetas de actividades */

.activity-card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.activity-card-body {
    flex-grow: 1;
}

.activity-card .card-icon {
    font-size: 2.5rem;
    color: var(--color-institucional);
    margin-bottom: 1rem;
}

.activity-card .card-text i {
    color: var(--color-institucional);
    margin-right: 0.5rem;
}

.title-fnt {
    font-size: var(--title-size);
}


/* Estilos para el loader-overlay */

#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 1050;
    /* Mayor que los modales */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}


/* Estilos para el nuevo loader de 3 círculos */

.loader-container {
    position: relative;
    width: 80px;
    /* Ajusta el tamaño del contenedor si es necesario */
    height: 80px;
}

.loader-circle {
    position: absolute;
    border: 4px solid transparent;
    border-radius: 50%;
}


/* Círculo 1 (más grande) */

.loader-circle:nth-child(1) {
    width: 80px;
    height: 80px;
    border-top-color: var(--color-institucional);
    animation: spin 1.5s linear infinite;
}


/* Círculo 2 (mediano) */

.loader-circle:nth-child(2) {
    width: 60px;
    height: 60px;
    border-right-color: #d4a974;
    /* Un tono un poco más claro */
    animation: spin-reverse 2s linear infinite;
    top: 10px;
    left: 10px;
}


/* Círculo 3 (pequeño) */

.loader-circle:nth-child(3) {
    width: 40px;
    height: 40px;
    border-bottom-color: #aa8453;
    /* El color original */
    animation: spin 2.5s linear infinite;
    top: 20px;
    left: 20px;
}


/**Display fonts sizes*/

.display-1 {
    line-height: calc(5rem - 0.2rem);
}

.display-2 {
    line-height: calc(4.5rem - 0.2rem);
}

.display-3 {
    line-height: calc(4rem - 0.2rem);
}

.display-4 {
    line-height: calc(3.5rem - 0.2rem);
}

.display-5 {
    line-height: calc(3rem - 0.2rem);
}

.display-6 {
    line-height: calc(2.5rem - 0.2rem);
}


/**Benefits*/

.benefits-icon {
    max-width: 58px;
    max-height: 58px;
}

.amenities-fnt {
    font-size: 1rem;
}


/* Estilos para la sección de Error 404 */

.error-404-section {
    height: 100vh;
    background-color: #f8f9fa;
    /* Un fondo claro para esta sección */
    color: #343a40;
    /* Texto oscuro para contraste */
}

.error-404-section h1 {
    font-size: 10rem;
    font-weight: 700;
    color: var(--color-institucional);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.error-404-section h2 {
    font-weight: 400;
}