/* Colors */
:root {
    --orangeALS: #f04923;
    --orangeHover: #ea684d;
    --whihte: #FFF;
    --lightGray: #f4f4f4;
    --darkGray: #d1d3d4;
    --black: #000;
}

/* Scroll */

body {
    scroll-behavior: smooth !important;
}

/* Typography */
strong {
    font-weight: 600 !important;
}
h1, h2, h3, h4, h5, h6, p {
    color: #000000 !important;
    font-family: 'Open Sans', sans-serif;
}
h1 {
    font-size: clamp(30px, 3vw, 40px) !important;
}
h2 {
    font-size: clamp(28px, 3vw, 35px) !important;
}
h3 {
    font-size: clamp(26px, 3vw, 33px) !important;
}
h4 {
    font-size: clamp(24px, 3vw, 28px) !important;
}
p {
    font-size: clamp(14px, 2vw, 16px) !important;
    font-weight: 300 !important;

}
/* Header*/

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Asegúrate de que esté por encima de otros elementos */
    background-color: white; /* Fondo para evitar transparencia si es necesario */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Opcional: añade sombra para diferenciarlo */
}
.tpl-header {
    padding: 20px 0 !important;
    margin-bottom: -90px;
}
.tpl-header .navbar-collapse {
   justify-content: right;
    grid-gap: 10px;
}
.tpl-header .navbar-nav a  {
    color: var(--whihte) !important;
}
.tpl-header-btn {
    background-color: var(--orangeALS) !important;
    border-color: var(--orangeALS) !important;
    font-size: clamp(14px, 1vw, 15px) !important;
    font-weight: 500 !important;
    color: var(--whihte) !important;
    border-radius: 8px !important;
}
.tpl-header-btn:hover  {
    background-color: var(--orangeALSHover) !important;
    border-color: var(--orangeHover) !important;
}

.navbar-scrolled {
    background-color: black !important;
    transition: background-color 0.3s ease-in-out; /* Para una transición suave */
}
.navbar-light .navbar-toggler-icon {
    background-image: url("../icon/menu.png") !important;
}
button.navbar-toggler.custom-toggler {
    border-color: transparent !important;
}
/* Hero */
.tpl-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 70px;
}
.tpl-hero img {
    width: 100% !important;
    z-index: -1;
}
.tpl-hero .container {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}
.tpl-hero .container h1 {
    color: var(--whihte) !important;
    width: 50% !important;
    font-weight: 600;
    margin-bottom: 40px;
    background-color: rgba(52, 58, 64, 0.35);
    padding: 2%;
    border-radius: 20px;
}

.tpl-hero .container h2 {
    color: var(--whihte) !important;
    width: 50% !important;
    font-weight: 600;
    margin-bottom: 40px;
    background-color: rgba(52, 58, 64, 0.35);
    padding: 2%;
    border-radius: 20px;
    font-size: clamp(20px, 3vw, 30px) !important;
}

/* Block 1 */
.tpl-block1 {
    margin-bottom: 70px;
}
.tpl-block1 img {
    aspect-ratio: 1/1 !important;
    object-fit: cover !important;
}
.tpl-block1 h2 {
    color: var(--orangeALS) !important;
    font-weight: 600;
    margin-bottom: 30px;
}
.tpl-block1 p {
    margin-left: 0 !important;
}
.tpl-block1 .tpl-btn {
    margin-top: 30px;
    background-color: var(--orangeALS) !important;
    border-color: var(--orangeALS) !important;
    font-size: clamp(14px, 1vw, 15px) !important;
    font-weight: 500 !important;
    color: var(--whihte) !important;
    border-radius: 8px !important;
}

/* Block 2 */
.tpl-block2 {
    margin-bottom: 130px;
}
.tpl-block2 .container {
    background-color: var(--orangeALS) !important;
    border-radius: 14px;
    padding: 50px 100px 25px;
}
.tpl-block2 .container p {
    margin-left: 0 !important;
    margin-bottom: 0 !important;
}
.tpl-block2 h3 {
    color: var(--whihte) !important;
    font-weight: 600;
}

.tpl-block2-img {
    margin-bottom: -100px;
}

#insight {
    color: white !important;
}

/* Block 3 */
.tpl-block3 {
    background-color: var(--lightGray) !important;
    background-image: url("https://assets.alliancelaundry.com/wp-content/SpeedQueen/de/de-2024/assets/SQLS_TPL_Assets/SQLS_stores-map.png");
    background-size: 40%;
    background-repeat: no-repeat;
    background-position: right;
}
.tpl-block3 .tpl-block3-text {
    padding: 100px 0 100px 50px;
    width: 50%;
}
.tpl-block3 .tpl-block3-text h4 {
    font-weight: 600;
    color: var(--orangeALS) !important;
}
.tpl-block3 .tpl-block3-text p {
    margin-left: 0 !important;
}
.tpl-block3 .tpl-block3-text p {
    margin-left: 0 !important;
}
.tpl-block3 .tpl-block3-text strong {
    color: var(--orangeALS) !important;
    font-weight: 600;
}
.tpl-block3 .tpl-block3-text ul {
    padding-left: 20px;
    margin: 30px auto;
    list-style: url("https://assets.alliancelaundry.com/wp-content/SpeedQueen/de/de-2024/assets/icon/right-arrow.png");
}
.tpl-block3 .tpl-block3-text li {
    padding-left: 15px;
    margin-bottom: 10px;
}

/* Block 4 */
.tpl-block4 {
    margin: 50px auto;
}
.tpl-block4 p {
    margin-left: 0;
}
.tpl-block4-text {
    text-align: center;
    margin: auto auto 50px;
    width: 80%;
}
.tpl-block4-columns h5 {
   color: var(--orangeALS) !important;
    margin-bottom: 20px !important;
}
.tpl-block4-columns img {
    max-width: 50px !important;
}

/* Block 5 */
.tpl-block5 .row  {
    background-color: var(--darkGray);
    border-radius: 14px;
    padding: 50px 50px 20px;
    margin: 0 10px;
}
.tpl-block5-img {
    border-radius: 100% !important;
    aspect-ratio: 1/1 !important;
    overflow: hidden;
    margin-bottom: 10px;
}
.tpl-block5 .carousel-item img {
     object-fit: cover !important;
    width: 100%;
    height: 100%;
 }
.carousel-control-prev, .carousel-control-next {
    width: 7% !important;
}
.tpl-block5 {
    margin-bottom: 80px;
    margin-top: 130px;
}
.tpl-block5 a {
    color: var(--black) !important;
}
.tpl-block5-img {
    margin-top: -130px !important;
}
.tpl-block5-img img {
    margin-bottom: 20px !important;
}
.tpl-block5-img p {
    margin-bottom: 0 !important;
}
.tpl-block5  .carousel-inner {
    overflow: visible !important;
}
.tpl-block5-text h6 {
    color: var(--orangeALS) !important;
    margin-bottom: 20px !important;
}


/* Formulario */
#contact h2 {
    margin-top: 50px;
}
.tpl-formulario-img {
    display: flex;          
    justify-content: center;     
    align-items: center;         
}

.tpl-formulario-img img {
    margin: auto;
    width: 100%;
}

/* Footer */
footer {
    background-color: var(--lightGray);
    padding: 50px 0;
    margin-top: 20px;
}
footer .tpl-footer-logo img {
    max-width: 300px;
}
.tpl-footer-copy p {
    margin-top: 20px;
    text-align: left !important;
    font-size: 12px !important;
}
.tpl-footer-legal p {
    margin-top: 20px;
    text-align: right !important;
    font-size: 12px !important;
}
.tpl-footer-copy p a, .tpl-footer-legal p a {
   color: var(--black) !important;
}
.tpl-footer-menu a {
    color: var(--black) !important;
    text-decoration: none !important;
    font-weight: 500;
    margin-left: 15px;
}

/* 1200 */
@media (max-width: 1200px) {
    .tpl-header {
        margin-bottom: -104px;
    }
    .tpl-header .navbar-brand img {
        max-height: 30px !important;
    }
}

/* 992 */
@media (max-width: 992px) {
    nav.tpl-header.navbar.navbar-expand-lg.navbar-light {
        background-color: black !important;
    }
    div#navbarNav {
        padding: 20px 0;
    }
    ul.navbar-nav.ml-3 {
        margin-bottom: 20px;
        margin-left: 0 !important;
    }
    ul.navbar-nav.ml-3 {
        margin-bottom: 20px !important;
    }
    button:focus {
        outline: none !important;
    }
    tpl-header img {
        max-height: 30px !important;
    }
    .tpl-hero .container h1 {
        width: 100% !important;
    }
    .tpl-block2 {
        margin-top: 120px;
    }
    .tpl-block2-text {
        padding-bottom: 30px;
    }
    .tpl-block2-img {
        margin-bottom: 30px;
        margin-top: -100px;
    }
    .tpl-block4-columns img {
        max-width: 40px !important;
    }
    footer .tpl-footer-logo {
        margin-bottom: 20px !important;
    }
    footer .tpl-footer-menu a {
        margin-left: 0 !important;
        margin-right: 10px !important;
    }
    footer .tpl-footer-logo img {
        max-width: 200px !important;
    }
    .navbar-toggler-icon {
        background-color: white; /* Ajuste para que el ícono sea visible en fondo negro */
    }

    /* Aseguramos que la barra de navegación esté completamente visible */
    .navbar-collapse {
        background-color: transparent !important;
    }

    .navbar-scrolled .navbar-collapse {
        background-color: black !important; /* Fondo negro también para el menú desplegado en móvil */
    }
    .tpl-formulario-img img{
        margin: auto;
        max-width: 100%;
        height: auto;
        display: block;
    }
}
/* 768 */
@media (max-width: 768px) {
    .tpl-header .navbar-brand img {
        max-height: 20px !important;
    }
    .tpl-hero .container h1 {
        width: 100% !important;
    }
    .tpl-hero .container h2 {
        width: 100% !important;
    }
    .tpl-hero .container {
        top: 150px !important;
    }
    .tpl-block1 .tpl-btn {
        margin-bottom: 50px;
        margin-top: 25px;
    }
    .tpl-hero img {
        width: 130% !important;
    }
    .tpl-hero {
        overflow: hidden !important;
    }
    .tpl-block1 {
         margin-top: 50px;
     }
    .tpl-block2 {
        margin-bottom: 50px;
    }
    .tpl-block3-text {
        padding: 50px !important;
        width: 100% !important;
    }
    .tpl-block3 {
        background-position: right bottom;
    }
    .tpl-block5-img {
        margin-bottom: 30px;
    }
    .tpl-block4-columns img {
        margin: 10px auto;

    }
    .tpl-block4-columns div {
        margin: 0 auto !important;
        text-align: center !important;
    }
    .tpl-block4-columns h5 {
        margin-bottom: 10px !important;
    }
    .tpl-formulario-img img{
        margin: auto;
        max-width: 100%;
        height: auto;
        display: block;
    }
}
@media (max-width: 576px) {
    .carousel-control-prev, .carousel-control-next {
        width: 13% !important;
    }
    button.tpl-header-btn {
        padding: 7px 20px !important;
    }
    .tpl-hero img {
        width: 160% !important;
        height: 85vh !important;
        object-fit: cover;
        object-position: left;
    }
    .tpl-hero {
        overflow: hidden !important;
    }
    .tpl-header .container {
        margin: 0 3% !important;
        top: 15% !important;
    }
    .tpl-block2 .container {
        padding: 25px !important;
    }
    .tpl-block3-text {
        padding: 25px !important;
    }
    .tpl-block4-text {
        height: 100% !important;
    }
    .tpl-block4 h5 {
        margin-top: 20px;
    }
    .tpl-block5 .row {
        padding: 20px;
    }
    .tpl-block5 {
        margin-top: 160px;
    }
    .tpl-formulario-img img{
        margin: auto;
        max-width: 100%;
        height: auto;
        display: block;
    }
}