/* Custom CSS for Limalinen */

:root {
    --primary-color: #1F433B; /* Nuevo color verde */
    --dark-grey: #333;
    --light-grey: #f8f9fa;
    --text-color: #555;
    --star-color: #ffc107;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    position: relative;
    /* El padding-top se ajusta dinámicamente con JS */
}

/* --- Header Section --- */
.header-section {
    background-color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    padding: 10px 0;
    z-index: 1030;
}

.header-logo {
    height: 80px;
    margin-bottom: 5px;
    transition: all 0.3s ease-in-out;
}
.header-logo-mobile {
    height: 35px;
}

.header-slogan {
    color: white;
    margin-bottom: 10px;
    font-size: 1.2rem;
    font-weight: 500;
}

.header-section .nav-link {
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 5px 15px;
    transition: color 0.3s ease;
}

.header-section .nav-link:hover {
    color: #4a8d7e;
}

/* Header al hacer scroll */
.header-shrink {
    padding: 5px 0;
}
.header-shrink .header-logo {
    height: 35px;
}
.header-shrink .header-slogan {
    display: none; /* Ocultar slogan al hacer scroll */
}

/* --- Mobile Menu --- */
.navbar-toggler {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
}
.offcanvas {
    background-color: var(--primary-color);
}
.offcanvas-header {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.offcanvas .btn-close {
    background-color: white;
    border-radius: 50%;
}
.offcanvas .nav-link {
    color: white;
    font-size: 1.1rem;
    padding: 1rem 1.5rem;
}

/* --- Hero Slider Section --- */
#heroSlider {
    width: 100%;
}

.carousel-item img {
    height: calc(100vh - 150px); /* Ajustar altura del slider */
    max-height: 700px;
    object-fit: cover;
}

/* --- General Section Styles --- */
.section-title {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 40px;
}

/* --- Product Section --- */
.section-productos .container-fluid {
    padding-left: 30px;
    padding-right: 30px;
}
.product-card {
    background-color: transparent;
    border: none;
    box-shadow: none;
}
.product-thumbnail {
    width: 100%;
    aspect-ratio: 1 / 1; /* Para hacer las imágenes cuadradas */
    object-fit: cover;
    margin-bottom: 10px;
}
.product-title {
    color: var(--dark-grey);
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
}

/* --- "Súmate" Banner --- */
.sumate-banner {
    background-color: var(--primary-color);
}
.sumate-text {
    font-weight: 500;
    font-size: 1.5rem;
}

/* --- Icon Section --- */
.icon-section {
    background-color: #fff;
}
.icon-img {
    height: 50px; /* Ajusta el tamaño de tus íconos */
}
.icon-title {
    color: var(--dark-grey);
    font-weight: 600;
    font-size: 1rem;
}
.icon-text {
    font-size: 0.9rem;
}

/* --- Testimonials Section --- */
.testimonials-section {
    background-color: var(--primary-color);
}
.testimonials-section .carousel-item {
    padding: 20px 15%; /* Espaciado para centrar el texto */
}
.testimonials-section .stars {
    color: var(--star-color);
    font-size: 1.2rem;
}
.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1rem;
}
.testimonial-author {
    font-weight: 600;
}

/* --- Contact Section --- */
.section-contacto {
    background-color: #f7f7f7;
}
.contact-form-frame {
    background-color: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}
.text-primary-custom {
    color: var(--primary-color) !important;
}
.section-contacto .form-label {
    font-weight: 500;
    color: var(--dark-grey);
}
.form-control {
    border-radius: 4px;
    border: 1px solid #ccc;
}
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(31, 67, 59, 0.25);
}

.btn-primary-custom-lg-full {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    width: 100%;
    transition: background-color 0.3s ease;
}
.btn-primary-custom-lg-full:hover {
    background-color: #2a5a4f;
    border-color: #2a5a4f;
    color: white;
}

/* --- Footer --- */
.footer-section {
    background-color: var(--dark-grey);
}

/* --- Utility & Scroll Button --- */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--primary-color);
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: none;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1040;
    transition: background-color 0.3s ease;
    text-align: center;
    line-height: 45px;
    text-decoration: none;
}
.scroll-to-top:hover {
    background-color: #2a5a4f;
    color: white;
}

/* --- Responsive Adjustments --- */
@media (max-width: 991.98px) {
    body {
       /* padding-top se ajusta con JS */
    }
    .header-section {
        padding: 5px 0;
    }
    .header-logo {
        height: 35px;
    }
    .carousel-item img {
        height: 300px;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .sumate-text {
        font-size: 1.2rem;
    }
}

footer {
    background-color: var(--primary-color);
    padding: 20px 0;
    color: #fff !important;
    font-size: 14px;
}
.sep_holder {
    border-color: rgba(255, 255, 255, 0.06);
    height: 1px;
    position: relative;
    -webkit-box-flex: 1;
    -webkit-flex: 1 1 auto;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-width: 10%;    
}
.widget h2 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
}
h3.widget-title {
    padding-left: 14px;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 500;
    line-height: 30px;
    color: #fff;  
}
.widget ul {
    margin: 0 0 20px 50px;
    margin-top: 0px;
    padding: 0;
    list-style: none;
    right: 0;
    left: 0;
    margin-top: 10px;
}
.widget ul > li {
  padding: 0 0 5px 0px;
  position: relative;
  color: #fff;
}
.widget ul li a {
  padding-left: 0px;
  font-weight: 400;
  font-size: 15px;
  color: #fff;
  text-decoration: none;
}
.widget p {
    font-size: 16px;
    color: #fff;
}
.copyright {
    font-size: 14px !important;
}
.copyright-right {
    text-align: right !important;
}
.copyright-right a {
    color: #fc0;
}