﻿/**
* Template Name: Tempo
* Template URL: https://bootstrapmade.com/tempo-free-onepage-bootstrap-theme/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
    --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --heading-font: "Nunito", sans-serif;
    --nav-font: "Poppins", sans-serif;
    --special-font: "Montserrat", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #ffffff;
    /* Background color for the entire website, including individual sections */
    --default-color: #444444;
    /* Default color used for the majority of the text content across the entire website */
    --heading-color: #493c3e;
    /* Color for headings, subheadings and title throughout the website */
    --accent-color: #ffffff;
    /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff;
    /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff;
    /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
    --btn-bg-color: #2D6A4F;
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
    --nav-color: #ffffff;
    /* The default color of the main navmenu links */
    --nav-hover-color: #faf6f7;
    /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff;
    /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff;
    /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #444444;
    /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #daed0e;
    /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat/Montserrat-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

/* Montserrat Bold (700) */
@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat/Montserrat-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/MontserratOther/Montserrat-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/MontserratOther/Montserrat-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/MontserratOther/Montserrat-Thin.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
    --background-color: none;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #000000;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #252525;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
}

.banner-Bienvenidos-title {
    font-family: 'Montserrat';
    font-weight: 300;
    font-size: 60px;
}

.banner-Bienvenidos-title-phone {
    font-family: 'Montserrat';
    font-weight: 300;
    font-size: 28px;
}

.banner-Bienvenidos-title-bold {
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 60px;
}

.banner-Bienvenidos-title-bold-phone {
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 28px;
}

.banner-Bienvenidos-text-top {
    font-family: 'Montserrat';
    font-weight: 400;
    font-size: 24px !important;
}

.banner-Bienvenidos-text-top-phone {
    font-family: 'Montserrat';
    font-weight: 300;
    font-size: 16px !important;
}

.banner-Bienvenidos-text-bottom {
    font-family: 'Montserrat';
    font-weight: 300;
    font-size: 16px !important;
}

.banner-Bienvenidos-text-bottom-phone {
    margin-top: 20px !important;
    font-family: 'Montserrat';
    font-weight: 300;
    font-size: 14px !important;
}

.banner-Bienvenidos-text-bottom span {
    margin-top: 30px !important;
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 16px !important;
}

.banner-Bienvenidos-text-bottom-phone span {
    font-family: 'Montserrat';
    font-weight: 500;
    font-size: 14px !important;
}

.banner-white-line {
    height: 3px;
    /* thickness of the line */
    background-color: #929e91;
    /* color of the line */
    width: 100%;
    /* relative width (adjustable) */
    max-width: 620px;
    /* max width */
    /* margin: 20px auto;          centers the line horizontally with vertical spacing */
    margin-top: 18px;
    margin-bottom: 30px;
}

.banner-white-line-phone {
    height: 3px;
    /* thickness of the line */
    background-color: #929e91;
    /* color of the line */
    width: 100%;
    /* relative width (adjustable) */
    max-width: 620px;
    /* max width */
    /* margin: 20px auto;          centers the line horizontally with vertical spacing */
    margin-top: 20px;
    margin-bottom: 10px;
}

.dft-btn,
.dft-btn-full-size {
    color: white;
    background-color: var(--btn-bg-color);
    border-radius: 8px;
    height: 44px;
    padding-left: 30px;
    padding-right: 30px;
    border: none;
}

.dft-btn:hover,
.dft-btn-full-size:hover {
    background-color: #eae7e7;
    color: black;
}

.margin-back-section4 .text-center {
    margin-top: -70px;
}

.reserve-btn-overlap {
    top: -70px;
}

@media (max-width: 767.98px) {
    .reserve-btn-overlap {
        top: -30px;
    }
}

a {
    color: var(--accent-color);
    text-decoration: none;
}

a:hover {
    color: color-mix(in srgb, var(--accent-color), transparent 25%);
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--heading-color);
    font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
    --background-color: rgba(255, 255, 255, 0);
    --default-color: #ffffff;
    --heading-color: #ffffff;
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 0px 0;
    transition: all 0.5s;
    z-index: 997;
}

.header .logo {
    line-height: 1;
}

.header .logo img {
    max-height: 100%;
    /* margin-right: 8px; */
}

.header .logo h1 {
    font-size: 30px;
    margin: 0;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--heading-color);
}

.scrolled .header {
    box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.change-page-btn:hover {
    cursor: pointer;
    opacity: 0.5;
}

.header .hhh{
    display: none;
}
.scrolled .header .hhh{
    display: block;
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
    --background-color: rgba(0, 0, 0, 0.8);
}

.logo {
    height: 80px;
    /* normal size */
    transform: scale(1);
    /* default scale */
    transition: height 0.9s ease, transform 0.9s ease;
    /* enable animation */
}

@media (max-width: 767.98px) {
    .logo {
        height: 46px;
    }
}

.scrolled .logo {
    /* smaller size */
    transform: scale(0.9);
    /* smooth shrink effect */
}

.top-contact-bar {
    /* height: 50px; */
    /* normal height */
    background-color: #2D6A4F;
    overflow: hidden;
    transition: height 0.8s ease, opacity 0.8s ease;
    opacity: 0.9;
}

.top-contact-bar.hidden {
    height: 0;
    opacity: 0;
}

.top-landing-page {
    margin: auto;
    height: 254px;
    border-radius: 16px;
    background-color: #F3ECDC;
    margin-top: -400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.top-landing-page-mobile {
    margin: auto;
    max-width: 600px;
    height: auto;
    border-radius: 16px;
    background-color: #F3ECDC;
    margin-top: -40px;
    padding-top: 20px;
    padding-bottom: 20px;
    position: relative;
    z-index: 6;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.rating-badge {
    height: 26px;
    width: auto;
}

.trust-logos-row {
    flex-wrap: nowrap;
}

.trust-logo {
    height: 22px;
    width: auto;
    flex-shrink: 0;
}

.bottom-landing-page {
    margin: auto;
    min-height: 300px;
    border-radius: 25px;
    background-color: #2D6A4F;
    margin-top: 100px;
    margin-bottom: 100px;
    color: white;
    /* background image */
    background-image: url('../img/rrrr.png');
    /* replace with your PNG path */
    background-repeat: no-repeat;
    /* don’t repeat the image */
    background-position: center;
    /* center the image */
    background-size: cover;
    /* scale image to cover the div */
}

.electricity-laws {
    overflow: visible;
    /* allow child elements to extend outside */
}

.description-banner-text {
    font-family: "Montserrat";
    font-size: 32px;
    padding: 22px;
    padding-bottom: 15px;
}

.description-banner-text-phone {
    font-family: "Montserrat";
    font-size: 16px;
    padding: 22px;
    padding-bottom: 15px;
}

#house {
    background-color: transparent;
    position: relative;
    z-index: 5;
    overflow: visible;
}

.section2-bottom-background {
    margin-top: 160px !important;
    width: 100%;
    height: 100%;
    background-image: url('../img/section2Background.png');
    background-size: cover;
    /* cover full div */
    background-position: center;
    background-repeat: no-repeat;
    /* must set height for empty div */
}

@media (max-width: 1199.98px) {
    .section2-bottom-background {
        margin-top: 30px !important;
    }
}

.font-text300 {
    font-family: "Montserrat";
    font-weight: 300;
}

.bottom-banner-title {
    font-family: "Montserrat";
    font-weight: 700;
    font-size: 50px;
    color: white;
}

.site-section-dft-title-phone {
    word-wrap: break-word;
    line-height: 1;
    font-family: "Montserrat";
    font-weight: 700;
    font-size: 35px;
    color: #014F86;
}

.town-slider {
    font-family: 'Montserrat';
    font-weight: 700;
    font-size: 20px;
}

.activiti-text-title {
    font-family: "Montserrat";
    font-weight: 500;
    font-size: 40px;
}

.activiti-text {
    min-height: 80px;
}

.top-bar-small-text{
    text-align: center;
    font-size: 15px;
}

@media (max-width: 767.98px) {
    .top-contact-bar .container {
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }
    .top-bar-small-text {
        font-size: 12px;
    }
}
/*--------------------------------------------------------------
# Ajustes de secciones en móvil
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {

    .margin-back-section4 .text-center {
        margin-top: 60px !important;
    }

    .dft-btn-full-size {
        width: 100% !important;
    }

    .margin-back-section4 {
        margin-top: 0px !important;
    }

    .modal-content {
        margin: 20px;
    }

    .gallery-text-height {
        max-height: none !important;
        min-height: 0 !important;
        height: auto !important;
    }

}

.gallery-text-height {
    max-height: 200px;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ruta-group-map {
    background-image: url('../img/map/2sectionback.png');
    /* replace with your PNG path */
    background-repeat: no-repeat;
    /* don’t repeat the image */
    background-position: center;
    /* center the image */
    background-size: cover;
}

.gastronomic-map {
    border-radius: 16px;
}

@media (max-width: 767.98px) {
    .gastronomic-map-container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .gastronomic-map {
        height: 380px;
        object-fit: cover;
        border-radius: 20px;
    }

    #Gastronomic,
    #review,
    #last {
        margin-top: 30px !important;
    }
}

.hover-opacity:hover {
    opacity: 0.5;
}

.testimonial-card {
    border-radius: 20px !important;
    position: relative;
    padding-top: 50px;
    /* space for image */
}

.testimonial-card .user-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 3px solid #fff;
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
}

.last-back {
    margin: auto;
    min-height: 300px;
    border-radius: 25px;
    background-color: #014F86;
    margin-top: 100px;
    margin-bottom: 100px;
    color: white;
    /* background image */
    background-image: url('../img/last_section_back.png');
    /* replace with your PNG path */
    background-repeat: no-repeat;
    /* don’t repeat the image */
    background-position: center;
    /* center the image */
    background-size: cover;
    /* scale image to cover the div */
}

.last-sec-title {
    font-family: "Montserrat";
    font-weight: 500;
    font-size: 40px;
}

.last-sec-title-phone {
    font-family: "Montserrat";
    font-weight: 500;
    font-size: 20px;
}

/* ----------------- modal css ---------------------------- */
.right-background-modal-home {
    background-image: url('../img/modal/homemodal.png');
    /* replace with your PNG path */
    background-repeat: no-repeat;
    /* don’t repeat the image */
    background-position: center;
    /* center the image */
    background-size: cover;
}

.modal-title-dft {
    font-family: "Montserrat";
    font-weight: 700;
    font-size: 20px;
    color: #014F86;
}

.modal2-house-img {
    min-height: 200px;
    object-fit: cover;
    border-radius: 10px;
}

@media (max-width: 767.98px) {
    .modal2-house-img {
        min-height: 150px;
    }

    #first-load-modal2 .modal-content {
        margin: 10px;
    }

    #first-load-modal2 .modal-body {
        padding: 14px;
    }

    #first-load-modalLabel2 {
        font-size: 22px;
    }
}

.first-modal-big-text {
    font-family: "Montserrat";
    font-weight: 400;
    font-size: 16px;
}

.container__main {
    width: 100% !important;
}

.container__months {
    justify-content: center !important;
    width: 100% !important;
    gap: 40px !important;
}

.litepicker {
    width: 100%;
}

/* Remove default calendar icon (Chrome, Edge, Safari) */
input[type="date"].custom-date::-webkit-calendar-picker-indicator {
    opacity: 0;
    cursor: pointer;
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
}

/* Remove spinner in Firefox */
input[type="date"].custom-date {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    position: relative;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
}

input {
    padding: 8px 10px;
    font-size: 1rem;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 6px;
}

input.invalid {
    border-color: #d9534f;
    background: #fff5f5;
}

.error {
    color: #d9534f;
    font-size: 0.9rem;
    margin-top: 6px;
    display: none;
}

.error.active {
    display: block;
}

.section2-small-font {
    font-size: 16px;
    font-weight: 500;
}

.section3houses-lineback {
    height: 160px;
    width: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 160' preserveAspectRatio='none'%3E%3Cpath d='M0,120 C150,95 250,110 350,130 C500,150 650,145 750,120 C820,100 850,65 900,40 C960,12 1050,0 1150,8 C1180,10 1195,16 1200,20' fill='none' stroke='%23e2e2e2' stroke-width='2.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.margin-back-section4 {
    margin-top: 20px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {

    .navmenu {
        padding: 0;
    }

    .navmenu ul {
        margin: 0;
        padding: 0;
        display: flex;
        list-style: none;
        align-items: center;
    }

    .navmenu li {
        position: relative;
    }

    .navmenu>ul>li {
        white-space: nowrap;
        padding: 15px 14px;
    }

    .navmenu>ul>li:last-child {
        padding-right: 0;
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-color);
        font-size: 15px;
        padding: 0 2px;
        font-family: var(--nav-font);
        font-weight: 400;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
        position: relative;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        transition: 0.3s;
    }

    .navmenu>ul>li>a:before {
        content: "";
        position: absolute;
        height: 2px;
        bottom: -6px;
        left: 0;
        background-color: var(--nav-hover-color);
        visibility: hidden;
        width: 0px;
        transition: all 0.3s ease-in-out 0s;
    }

    .navmenu a:hover:before,
    .navmenu li:hover>a:before,
    .navmenu .active:before {
        visibility: visible;
        width: 100%;
    }

    .navmenu li:hover>a,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-color);
    }

}

/* Mobile Navigation */
@media (max-width: 1199px) {
    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 28px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
    }

    .navmenu ul {
        display: none;
        list-style: none;
        position: absolute;
        inset: 60px 20px 20px 20px;
        padding: 10px 0;
        margin: 0;
        border-radius: 6px;
        background-color: var(--nav-mobile-background-color);
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
        box-shadow: none;
        overflow-y: auto;
        transition: 0.3s;
        z-index: 9998;
    }

    .navmenu a,
    .navmenu a:focus {
        color: var(--nav-dropdown-color);
        padding: 10px 20px;
        font-family: var(--nav-font);
        font-size: 17px;
        font-weight: 500;
        display: flex;
        align-items: center;
        justify-content: space-between;
        white-space: nowrap;
        transition: 0.3s;
    }

    .navmenu a i,
    .navmenu a:focus i {
        font-size: 12px;
        line-height: 0;
        margin-left: 5px;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: 0.3s;
        background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    }

    .navmenu a i:hover,
    .navmenu a:focus i:hover {
        background-color: var(--accent-color);
        color: var(--contrast-color);
    }

    .navmenu a:hover,
    .navmenu .active,
    .navmenu .active:focus {
        color: var(--nav-dropdown-hover-color);
    }

    .navmenu .active i,
    .navmenu .active:focus i {
        background-color: var(--accent-color);
        color: var(--contrast-color);
        transform: rotate(180deg);
    }

    .mobile-nav-active {
        overflow: hidden;
    }

    .mobile-nav-active .mobile-nav-toggle {
        color: #fff;
        position: absolute;
        font-size: 32px;
        top: 15px;
        right: 15px;
        margin-right: 0;
        z-index: 9999;
    }

    .mobile-nav-active .navmenu {
        position: fixed;
        overflow: hidden;
        inset: 0;
        background: rgba(33, 37, 41, 0.8);
        transition: 0.3s;
    }

    .mobile-nav-active .navmenu>ul {
        display: block;
    }
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 0px 0;
    scroll-margin-top: 92px;
    overflow: clip;
}

@media (max-width: 1199px) {

    section,
    .section {
        scroll-margin-top: 76px;
    }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    width: 100%;
    min-height: 100vh;
    position: relative;
    padding: 80px 0;
}

@media (max-width: 1199.98px) {
    .hero {
        min-height: auto;
        padding: 20px 0 30px 0;
    }
}

.hero-content-offset {
    margin-top: 150px;
}

@media (max-width: 1199.98px) {
    .hero-content-offset {
        margin-top: 110px;
    }
}

@media (max-width: 767.98px) {
    .hero-content-offset {
        margin-top: 90px;
    }
}

.hero img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.container-xl {
    padding-top: 20px;
}

.scrolled .container-xl {
    padding-top: 0px !important;
    /* removed when scrolled */
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero p {
    margin: 10px 0 0 0;
    font-size: 24px;
    color: var(--heading-color);
}

/* ==========================================================================
   CORRECCIONES RESPONSIVAS Y FLUIDEZ MÓVIL
   ========================================================================== */

/* Evita desbordamiento horizontal en móviles */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* Título adaptativo de sección */
.site-section-dft-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 4vw, 55px);
    color: #014F86;
    line-height: 1.1;
}

/* Imágenes de sliders y galerías responsivas */
.rural-house-slider img,
.town-slider img,
.visitar-slider img,
.activity-img-gallery img {
    width: 100% !important;
    height: 250px !important;
    object-fit: cover;
    border-radius: 12px;
}

@media (min-width: 768px) {
    .rural-house-slider img,
    .town-slider img,
    .visitar-slider img {
        height: 300px !important;
    }
    .activity-img-gallery img {
        height: 350px !important;
    }
}

/* Ancho del panel de selección de casa en el modal de bienvenida */
.modal-first {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 768px) {
    .modal-first {
        width: 52%;
        padding-left: 0;
        padding-right: 0;
    }
}
