/* ============================================
   Custom Lava Widget - Main Stylesheet
   Author: Custom Lava Widget
   ============================================ */

/* Grid Container - Flexible según configuración del usuario */
.lava-items-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

/* Asegurar responsividad en tablets */
@media (max-width: 1023px) {
    .lava-items-container {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* 1 columna en móviles */
@media (max-width: 767px) {
    .lava-items-container {
        grid-template-columns: 1fr !important;
    }
}

/* Item Card */
.lava-item {
    background-color: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.3s ease;
    height: 410px;
    display: flex;
    justify-content: center;
}

/* Hover effect */
.lava-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Logo Container */
.lava-item-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.lava-item-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Title */
.lava-item-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    margin-top: 0;
    line-height: 1.4;
}

/* Description */
.lava-item-description {
    color: #cccccc;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .lava-item {
        padding: 20px;
    }

    .lava-item-title {
        font-size: 16px;
    }

    .lava-item-description {
        font-size: 13px;
    }

    .lava-item-logo {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
}
