/* General */
body {
    background-color: #FFFFFF;
    line-height: 1.6;
    font-family: "Lora", serif;
    color: #000000;
}

a {
    text-decoration: none;
}
a.text-contact {
    color: #000000;
    transition: color 0.3s ease, transform 0.3s ease;
}
a.text-contact:hover {
    color: #4F5941;
    transform: scale(1.02);
}

/* Navbar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}
.navbar {
    transition: background-color 0.3s ease, color 0.3s ease;
}
.navbar-dark-mode .nav-link {
    color: #FFFFFF !important;
}
.navbar-light-mode .nav-link {
    color: #000000 !important;
}
.navbar-light-on-partners .nav-link {
    color: #FFFFFF !important;
}
.navbar-toggler {
    background-color: #FFFFFF !important;
}
header nav ul li a {
    font-size: 17px !important;
    transition: transform 0.2s ease;
}
header nav ul li a:hover {
    transform: scale(1.1);
}

/* Home Video */
.home-video {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}
.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.home-image {
    width: 40%;
    height: auto;
}

/* About Us */
.text-about-us {
    font-size: 60px;
    font-weight: 300;
    color: #4F5941;
}
.border-start {
    border-left: 2px solid #4F5941 !important;
}
.text-quantity {
    font-size: 40px;
    font-weight: 500;
}

/* Services */
#services {
    position: relative;
    background-color: #f8f9fa;
}
.bg-marco {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.carousel {
    width: 90%;
    max-width: 600px;
    aspect-ratio: 1 / 1;
    z-index: 2;
}
.interior-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
}
.imagen-interior {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}
.overlay-text {
    background-color: rgba(34, 54, 34, 0.95);
    color: white;
    position: absolute;
    inset: 0;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
    overflow-y: auto;
    width: 33vw;
    height: 81vh;
    margin: 0 auto;
}
.interior-container:hover .imagen-interior {
    opacity: 0;
}
.interior-container:hover .overlay-text {
    opacity: 1;
}
.text-services,
.subtitle-services {
    color: #FFFFFF;
    font-size: 14px;
    margin: 5px 0;
}
.subtitle-services {
    font-weight: 600;
    font-size: 16px;
}
.carousel-control-prev.flecha-outside,
.carousel-control-next.flecha-outside {
    color: #FFFFFF;
    font-size: 2rem;
    opacity: 1;
    margin: 0px;
    position: absolute;          
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;                 
    cursor: pointer;
}
.carousel-control-prev.flecha-outside:hover,
.carousel-control-next.flecha-outside:hover {
    opacity: 1;
}
.text-overlay {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    color: #000000;
    z-index: 5;
}
#carouselServices {
    z-index: 2;
    padding: 20px;
}
.carousel-caption {
    color: #fff;
    font-size: 1rem;
}
#carouselServices .carousel-item img {
    max-height: 81vh;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
    display: block !important;
    border-radius: 3px;
}

/* Partners */
#partners {
    background-color: #2B3526;
}
.title-partners {
    font-size: 40px;
}
.text-partners {
    font-size: 16px;
}
.stars {
    color: #4F5941;
}
.keen-arrow i {
    font-size: 2rem;
    color: #FFFFFF;
    transition: transform 0.2s ease;
}
.keen-arrow:hover i {
    transform: scale(1.2);
}
.card:hover {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

/* Contact */
#contact input:focus,
#contact textarea:focus {
    box-shadow: none;
    border-color: #334233;
}
#contact label {
    font-weight: 500;
    color: #334233;
}
.title-contact {
    font-size: 36px;
    font-family: "Montserrat", sans-serif;
    color: #4F5941;
    font-weight: 500;
}
.d-movil {
    display: none;
}
.btn-contact {
    display: flex;
    justify-content: center;
}

/* Responsive */
@media  (min-width: 993px) and (max-width: 1200px) {
    .text-about-us {
        font-size: 42px;
    }
    .text-quantity {
        font-size: 30px;
    }
    .home-image {
        width: 80%;
    }
    .carousel {
        width: 90%;
        aspect-ratio: auto;
    }
    .interior-container {
        aspect-ratio: auto;
        height: auto;
    }
    .text-services,
    .subtitle-services {
        font-size: 13px;
    }
    .navbar-nav {
        flex-direction: row;
        display: flex;
        justify-content: center;
    }
    .overlay-text {
        width: 42vw;
    } 
}
@media (min-width: 769px) and (max-width: 992px) {
    .container {
        margin: 0;
        max-width: 100%;
    }
    .navbar-nav {
        flex-direction: row;
        display: flex;
        justify-content: end;
    }
    .navbar>.container {
        flex-wrap: nowrap !important;
    }
    #services {
        display: flex;
        justify-content: center;
    }
    .overlay-text {
        width: 59vw;
    }
    .btn-contact {
        display: flex;
        justify-content: end;
    }
}
@media (min-width: 576px) and (max-width: 768px) { 
    .container {
        margin: 0;
        max-width: 100%;
    }
    .navbar-nav {
        flex-direction: row;
        display: flex;
        justify-content: end;
    }
    .navbar>.container {
        flex-wrap: nowrap !important;
    }
    .border-start {
        border-left: 0px !important;
    }
    .d-desk {
        display: none;
    }
    .d-movil {
        display: flex;
    }
    #services {
        display: flex;
        justify-content: center;
    }
    .overlay-text {
        width: 76vw;
    }
    .home-image {
        width: 76%;
    }
    .btn-contact {
        display: flex;
        justify-content: center;
    }
    .carousel-control-prev.flecha-outside, .carousel-control-next.flecha-outside {
        margin: 0px;
    }
}
@media (max-width: 575px) {
    .text-about-us {
        font-size: 32px;
    }
    .text-quantity {
        font-size: 26px;
    }
    .text-services,
    .subtitle-services {
        font-size: 12px;
    }
    .navbar-nav {
        flex-direction: row;
        display: flex;
        justify-content: end;
    }
    .navbar>.container {
        flex-wrap: nowrap !important;
    }
    .border-start {
        border-left: 0px !important;
    }
    .d-desk {
        display: none;
    }
    .d-movil {
        display: flex;
    }
    #services {
        display: flex;
        justify-content: center;
    }
    .overlay-text {
        width: 73vw;
        height: 43vh;
    }
    .home-image {
        width: 76%;
    }
    .btn-contact {
        display: flex;
        justify-content: center;
    }
    .carousel-control-prev.flecha-outside, .carousel-control-next.flecha-outside {
        margin: 0px;
    }
}
