@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --secondary-color: #f3eded;
    --primary-color: #590303;
    --dark-color: #000000;
    --light-color: #ffffff;
    --terciary-color: #bdbdbd;
}

* {
    font-family: 'Montserrat', sans-serif;
    scroll-behavior: smooth;
    font-size: 16px;
}
html {
    scroll-behavior: smooth; /* Habilitar desplazamiento suave */
    scroll-padding-top: 60px; /* Ajusta al tamaño de tu navbar */
  }
  


.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-color: transparent;
    z-index: 1000;
    transition: transform 0.3s ease;
    height: 90px;
}

.navbar-fixed {
    position: fixed;
    top: -90px;
    left: 0;
    width: 100%;
    background-color: var(--light-color);
    z-index: 1000;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, top 0.5s ease;
    height: 90px;
}
.nav-link{
    color: var(--primary-color) !important;
    font-weight: bold;
}

.nav-link:hover{
    color: #d58282 !important;
}

.navbar-fixed.visible {
    top: 0; 
}


.mobile-menu {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background-color: #667eea !important;
}

.section {
    opacity: 0;
    transform: translateX(-50px); /* Desplazamiento horizontal */
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  }
.section.visible {
    opacity: 1;
    transform: translateX(0);
  }

.whatsapp-button {
    position: fixed;
    bottom: 100px;
    right: 20px;
    background: #25d366;
    color: #fff;
    padding: 10px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.whatsapp-button img {
    width: 60px;
    height: 60px;
}
.hero {

    background-image: url('/assets/ri_1.png');
}
.hero {
    background-image: url('/assets/ri_1.png');
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 100px 0;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(89, 3, 3, 0.303); /* Color primario con transparencia */
}

.hero .container {
    position: relative;
    z-index: 1;
}

/* hero section */
.hero > .container
{
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}
.hero > .container > h1
{
    font-size: 6rem;
    margin-bottom: 1rem;
    text-shadow: #000000 1px 10px 10px;
}
.hero > .container > p
{
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: #000000 1px 2px 2px;
}
.btn-menssage a
{
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
    background-color:var(--primary-color) !important;
    
    color: #fff !important;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.btn-menssage:hover
{
    background-color:var(--secondary-color) !important;
    color: var(--primary-color) !important;
    transition: all 0.3s ease;
}

.bg-gradient {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  }
  .rounded {
    border-radius: 15px;
  }
  .shadow-lg {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  }
  .animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  }
  .animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
  }
.sub-title
{
    color: var(--primary-color);
}
.section-3 {
    background-color:#aa8b89;
    background-image: url('/assets/ri_1.png');
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 1rem 0;
    min-height: 80vh !important;
}
.section-3 > .container > h1
{
    color: var(--secondary-color);
}
.servicios > .row > h1
{
    font-size: 6rem;
    margin-bottom: 1rem;
    background-image: url('/assets/ri_1.png');
    --webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    
}
.section-3 > .container > .row > .col-lg-6 > p
{
    color: var(--secondary-color);
}
.section-3 > .container > .row > .col-lg-6 > a
{   
    padding: 0.5rem 1rem;
    font-size: 1.2rem;
    background-color:var(--primary-color) !important;
    
    color: #fff !important;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.section-4
{
    background-color: var(--light-color);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 90vh !important;

}

.logo-cliente {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .logo-cliente:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .section-5
  {
    background-color: var(--secondary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.section-6{
    background-image: url('/assets/ri_26.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.btn-menssage{
        background-color: var(--primary-color) !important;
        color: #fff !important;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: all 0.3s ease;
}

  .footer
  {
    background-color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }



@keyframes navbarIn {
    form {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

/* Animación para el menú */
@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-100%);
    }
}



@media (max-width: 768px) {
    .whatsapp-button {
       button {
        position: fixed;
        bottom: 10px;
        right: 10px;
        z-index: 1000;
      }
    }
}
.offcanvas-btn-color{
    color: var(--primary-color) !important;
}
.offcanvas-title {
    color: var(--primary-color) !important;
}   

.offcanvas-start {
    width: 300px !important;
    background-color: var(--secondary-color) !important;
    animation: slideIn 0.3s ease-out;
}

.offcanvas-start.closing {
    animation: slideOut 0.3s ease-out;
}

.offcanvas-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.offcanvas-body {
    padding: 20px;
}

.offcanvas-body .nav-link {
    color: var(--primary-color) !important;
    font-size: 1.1rem;
    margin: 10px 0;
}

.offcanvas-body .nav-link:hover {
    color: var(--primary-color) !important;
}
