/* Scroll behavior */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; 
}
/* Divider */
.divider {
    width: 80px;
    height: 4px;
    background-color: #0d6efd;
    margin-bottom: 24px;
}
header {
    padding-top: 110px; 
}
/* Titulo */
.custom-h1 {
    font-size: 4rem;
    line-height: 1.2;
    text-align: center; 
}
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
.custom-h1 {
    animation: fadeInUp 1s ease-out;
}
.textologo {
    color: #060842ec;
    text-transform: uppercase;
    font-family: 'Big Shoulders', sans-serif; 
    font-weight: 700;
}
.textologo span {
    margin: 0; 
}

.textologo .d-block {
    display: block;
    margin-bottom: -2px; 
    line-height: 1.1; 
}
/* Enlace */
.enlace:hover {
    color: blue;
}
.navbar-toggler {
    margin-left: auto;
}
/* Iconos de características */
.feature-icon {
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.feature-icon i {
    color: #0d6efd;
    font-size: 20px;
}
/* Iconos de servicios */
.service-icon {
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-icon i {
    color: #0d6efd;
    font-size: 24px;
}
/* Tarjetas con efecto zoom */
.zoom-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}
.zoom-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}
/* Contenedor de imagen con zoom */
.img-zoom-container {
    overflow: hidden;
    border-radius: 8px 8px 0 0;
}
.img-zoom-container img {
    transition: transform 0.5s ease;
    width: 100%;
}
.zoom-card:hover .img-zoom-container img {
    transform: scale(1.05);
}

/* Iconos de contacto */
.contact-icon {
    background-color: rgba(13, 110, 253, 0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-icon i {
    color: #0d6efd;
    font-size: 18px;
}

/* Botón de scroll to top */
#scrollTopBtn {
    width: 45px;
    height: 45px;
    right: 30px;
    bottom: 30px;
    z-index: 999;
    opacity: 0;
    transition: all 0.3s ease;
}
#scrollTopBtn.show {
    opacity: 1;
    bottom: 30px;
}
/* Estilos para el slider/carrusel */
.hero-slider {
    margin-top:0; 
}

.carousel-item {
    height: 80vh;
    min-height: 500px;
    background: no-repeat center center scroll;
    background-size: cover;
}
.carousel-item img {
    object-fit: cover;
    height: 80vh;
    min-height: 500px;
    filter: brightness(0.7); 
}
.carousel-caption {
    bottom: 0;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    text-align: center;
    z-index: 10;
}
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
/* menú offcanvas */
.offcanvas {
    width: 100%;
    max-width: 100%;
}
.offcanvas-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.offcanvas-body {
    padding: 1.5rem;
}
.offcanvas .nav-link {
    font-size: 1.2rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.offcanvas .nav-link:last-child {
    border-bottom: none;
}
.tam {
    font-size: 14px;
}
/* Fondo */
.fondo {
    background-image: url('../img/macetas/bg-macetasold.jpg'); 
    background-position: bottom;
    background-size: cover;
    background-repeat: no-repeat;
    
}
/* Estilos página de productos */
.products-header {
    margin-top: 76px;
}
.filter-btn {
    transition: all 0.3s ease;
}
.filter-btn.active {
    background-color: #0d6efd;
    color: white;
}
.fondoproducto {
    background-image: url('../img/productos/tanquedeaclimatacion.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}
.custom-span {
    font-size: 1.25rem;
}
.product-advantages {
    padding: 50px;
    text-align: center;
    background-color: #f4f4f4;
}
.advantages-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.advantage-item {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 22%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.advantage-item i {
    font-size: 2em;
    color: #003a75;
}
.advantage-item h3 {
    font-size: 1em;
    margin-top: 15px;
    color: #333;
}
.advantage-item p {
    font-size: 1em;
    margin-top: 10px;
    color: #555;
}
.contact-description {
    max-width: 700px;
}
.whatsapp-float {
    		
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 110px;
    right: 25px;
    background-color: #3DBB2A;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 2px 2px 3px #111;
    z-index: 100;
}

/**/
.img-zoom-container {
    width: 100%;
    height: 250px; 
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-zoom-container img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    object-position: center; 
}  

/**/
.img-about img {
    width: 100%;
    height: auto;
    object-fit: cover;
}




/* Media */
@media (max-width: 1200px) and (min-width: 992px) {
    .navbar .navbar-brand img {
        max-width: 95px;
        max-height: auto;
    }
    nav .textologo {
        color: #000e4b;
        font-family: 'Big Shoulders', sans-serif;
        font-size: 1.6rem;
    }

}
@media (min-width: 992px) {
    .navbar .container-fluid {
        display: flex;
        justify-content: flex-start;  
        align-items: center;  
    }
   
}
@media (max-width: 991px) {
    .navbar .container-fluid {
        flex-direction: row;  
        justify-content: flex-start;  
    }

    .textologo {
        margin-left: 10px;  
    }
    nav .textologo{
        font-size: 1.6rem;
        color: #000e4b;
        font-family: 'Big Shoulders', sans-serif; 
    }

    .navbar .navbar-brand img {
        max-width: 95px;
        max-height: 85px;
    }
    
}
@media (max-width: 768px) {
    .carousel-item {
        height: 70vh;
    }
    .carousel-item img {
        height: 70vh;
    }
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    nav .textologo{
        font-size: 3.2vw;
        color: #000e4b;
        font-family: 'Big Shoulders', sans-serif; 
    }
}

@media (min-width: 768px) {
    .custom-h1 {
      flex-direction: row; 
    }
    .custom-span {
        font-size: 2rem; 
    }
    .advantage-item {
        width: 22%; /* 4 elementos por fila */
    }
    .advantage-item h3 {
        text-align: center;
    }
}
@media (min-width: 577px) and (max-width: 685px) {
    .product-advantages h3 {
        font-size: 1em; 
        word-wrap: break-word; 
        text-align: center; 
        white-space: normal; 
        margin: 0 auto; 
    }
    .advantages-container .advantage-item i {
        font-size: 2rem;
    }
    .advantages-container {
        display: flex;
        flex-wrap: wrap; 
        justify-content: center;
        gap: 20px; 
    }
    .advantage-item {
        width: 100%;
        max-width: 300px; 
        text-align: center;     
    }
}
@media (max-width: 576px) {
    .carousel-item {
        height: 60vh;
    }
    .carousel-item img {
        height: 60vh;
    }
    .carousel-caption h1 {
        font-size: 2rem;
    }
    .carousel-caption p {
        font-size: 1rem;
    }
    .carousel-caption .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    .carousel-caption p.textologo {
        margin-left: 10px; 
        font-size: 1.7rem;
    }
    nav .textologo{
        font-size: 3.6vw;
        color: #000e4b;
        font-family: 'Big Shoulders', sans-serif; 
    }
    .navbar .navbar-brand img {
        width: 35%;
        height: auto;
    }
    .advantage-item {
        width: 100%; 
    }
    .advantage-item h3 {
        font-size: 1em;
        margin-top: 15px;
        color: #333;
        text-align: center;
    }

}
