/* Estilos específicos para index.html */

/* Sección de Introducción */
.intro-section {
    padding: 4rem 0;
    text-align: center;
    background-color: #f9fafb;
}

/* Sección de Productos */
.products-section {
    padding: 4rem 0 6rem;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 columna en móvil por defecto */
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    text-align: center;
    padding: 2rem 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.product-card-image {
    width: 8rem;
    height: 8rem;
    object-fit: contain;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 10px 8px rgba(0,0,0,0.1));
}

.product-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.product-card-type {
    font-size: 0.875rem;
    font-weight: 500;
    color: #059669;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-card-description {
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1; /* Hace que la descripción ocupe el espacio disponible */
}

.product-card-button {
    display: inline-block;
    background: #059669;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.3s ease;
}

.product-card-button:hover {
    background: #047857;
}

/* Footer */
.footer {
    background-color: #111827;
    color: #d1d5db;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
}

.footer-col .footer-heading {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-logo {
    width: 50px;
    height: auto;
    margin-bottom: 0.5rem;
}

.footer-brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-tagline {
    font-size: 0.875rem;
    color: #9ca3af;
}

#footer-contact p {
    margin-bottom: 0.5rem;
    color: #d1d5db;
}

#footer-contact p i {
    color: #10b981;
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.social-icons a {
    color: #d1d5db;
    font-size: 1.25rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #374151;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #10b981;
    border-color: #10b981;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #374151;
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: #9ca3af;
}

/* Responsive Design */

/* Tablet */
@media (min-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablet */
    }

    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
    }
    
    #footer-brand {
       text-align: left;
    }

    .social-icons {
        justify-content: flex-start;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr); /* 4 columnas en PC */
    }
}