/* ===========================================
   main.css – Estilos base ToolsParaNegocio
   Minimalista + Humana + Inteligente
   =========================================== */

/* ------------------------------
   Tipografía y base
--------------------------------*/
body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
    /* gris muy claro */
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: #007bff;
}

a:hover {
    text-decoration: underline;
}

/* ------------------------------
   Header
--------------------------------*/
header {
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    z-index: 999;
}

header .nav-link {
    padding: 0.5rem 0.75rem;
    font-weight: 500;
}

/* ------------------------------
   Formulario de búsqueda
--------------------------------*/
header form input[type="search"] {
    border-radius: 0.25rem;
}

header form button {
    border-radius: 0.25rem;
}

/* ------------------------------
   Contenedor principal
--------------------------------*/
main.container {
    max-width: 1200px;
}

/* ------------------------------
   Cards de herramientas
--------------------------------*/
.tool-card {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    /* sombra mínima */
    padding: 1rem;
    margin-bottom: 1.5rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tool-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tool-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.tool-card p {
    font-size: 0.95rem;
    color: #555;
}

.tool-card .btn {
    margin-top: 0.75rem;
}

/* ------------------------------
   Footer
--------------------------------*/
footer {
    background-color: #f1f3f5;
    color: #6c757d;
    font-size: 0.875rem;
}

/* ------------------------------
   Buttons
--------------------------------*/
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

/* ------------------------------
   Responsive adjustments
--------------------------------*/
@media (max-width: 768px) {
    header form {
        flex-grow: 1;
        margin: 0.5rem 0;
    }

    .tool-card {
        padding: 0.75rem;
    }
}

@media (max-width: 576px) {
    header .nav {
        display: none;
        /* ocultar menú para móvil, luego puedes agregar offcanvas */
    }
}