/* Estilos personalizados para Juntaly */

/* Espaciador para separar el contenido del menú */
.content-spacer {
    margin-top: 100px;
}

@media (max-width: 991px) {
    .content-spacer {
        margin-top: 70px;
    }
}

@media (max-width: 767px) {
    .content-spacer {
        margin-top: 50px;
    }
}

/* Estilos para el logo en el menú - Simplificados */
.header-logo {
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    flex-direction: row; /* Mantiene logo y texto en horizontal */
}

.header-logo img {
    margin-right: 8px;
    transition: transform 0.3s ease;
    max-height: 40px;
    width: auto;
}

.header-logo:hover img {
    transform: scale(1.05);
}

/* Ajustes para tablets */
@media (max-width: 991px) {
    .header-logo h2 {
        font-size: 1.6rem;
    }
    .header-logo img {
        max-height: 36px;
    }
}

/* Ajustes para móviles - Simplificados */
@media (max-width: 767px) {
    .header-logo h2 {
        font-size: 1.4rem;
    }
    .header-logo img {
        max-height: 30px;
    }
}

/* Ajustes para móviles pequeños */
@media (max-width: 480px) {
    .header-logo h2 {
        font-size: 1.2rem;
        white-space: nowrap; /* Evita que el texto se rompa */
    }
    .header-logo img {
        max-height: 24px;
        margin-right: 5px;
    }
    
    /* Ajustes para el menú offcanvas en móvil */
    .offcanvas__logo .header-logo img {
        max-height: 28px;
        margin-right: 6px;
    }
}

/* Ajustes para móviles muy pequeños */
@media (max-width: 360px) {
    .header-logo h2 {
        font-size: 1.1rem;
    }
    .header-logo img {
        max-height: 20px;
        margin-right: 4px;
    }
    
    .main-logo, .mobile-logo {
        max-height: 22px;
    }
    
    /* Garantiza que el logo esté a la izquierda del texto en pantallas pequeñas */
    .header-logo {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
}

/* Logos con clases específicas */
.main-logo {
    height: auto;
    max-height: 40px;
    margin-right: 8px;
}

.mobile-logo {
    height: auto;
    max-height: 30px;
    margin-right: 6px;
}

/* Estilos para servicios premium */
.premium-service {
    border: 2px solid var(--theme);
    box-shadow: 0 5px 20px rgba(152, 211, 193, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.premium-service:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(79, 149, 157, 0.25);
}

.premium-badge {
    position: absolute;
    top: 10px;
    right: -35px;
    background-color: var(--theme2);
    color: white;
    font-weight: 600;
    font-size: 12px;
    padding: 5px 40px;
    transform: rotate(45deg);
    z-index: 5;
}

.section-sub-header .title-shape {
    height: 8px;
    width: 100%;
    background-color: rgba(79, 149, 157, 0.2);
}

/* Ajustes de fondos para diferentes secciones */

/* Explícitamente restaurando el fondo amarillo para la sección de servicios */
.service-section.section-bg {
    background-color: #F6F7D5 !important;
}

/* Manteniendo el fondo amarillo claro para las tarjetas de servicios */
.team-items.section-bg {
    background-color: #FCFDF1 !important;  /* Un tono ligeramente más claro para las tarjetas */
}

/* Aplicar fondo personalizado solo a secciones específicas */
.whatdow-section.custom-bg,
.choose-partner-section {
    background-color: rgba(152, 211, 193, 0.05) !important;
}

/* Secciones con fondo más sutil */
.custom-bg {
    background-color: #f9f9f9 !important;
}

/* Mejorar visibilidad del breadcrumb */
.breadcrumb-banner.section-bg {
    background-color: white !important; /* Cambiado de var(--bg) a blanco */
    padding: 20px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(79, 149, 157, 0.2);
    position: relative;
    display: block;
    visibility: visible;
    z-index: 1030; /* Valor superior al del header sticky para evitar que se oculte */
    margin-top: 70px; /* Dar espacio para el menú sticky */
}

/* Adaptar los iconos a la paleta de colores */
.work-list-item .icon svg path {
    fill: var(--theme) !important;
}

/* Colores adicionales para mantener consistencia */
.theme-clr {
    color: var(--theme) !important;
}

.theme-clr2 {
    color: var(--theme2) !important;
}

.theme-clr3 {
    color: var(--theme3) !important;
}

.theme-bg2 {
    background-color: var(--theme2) !important;
}

/* Estilos adicionales para el breadcrumb */
.breadcrumb-banner .boxes {
    max-width: 270px;
    margin-left: auto;
    position: relative;
    background-color: transparent;
    display: block;
    visibility: visible;
}

.breadcrumb-banner .breadcrumb-cont {
    position: relative;
    padding: 10px 0;
    display: flex;
    visibility: visible;
    color: var(--theme3);
}

.breadcrumb-banner .breadcrumb-cont li {
    list-style: none;
    color: var(--theme3);
}

.breadcrumb-banner .breadcrumb-cont li a {
    color: var(--theme2);
    font-weight: 600;
    text-decoration: none;
}

.breadcrumb-banner .breadcrumb-cont li a:hover {
    color: var(--theme);
}

/* Ajustes para el header sticky */
.header-section.sticky {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1020;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}

/* Espaciador para páginas internas */
.content-spacer {
    margin-top: 100px; /* Espacio estándar para escritorio */
}

/* Ajustes responsivos para el espaciador */
@media (max-width: 991px) {
    .content-spacer {
        margin-top: 80px; /* Espacio reducido para tablets */
    }
}

@media (max-width: 767px) {
    .content-spacer {
        margin-top: 70px; /* Espacio aún más reducido para móviles */
    }
}
