/* ==========================================
   ESTILOS GLOBALES E IMPORTACIONES
   ========================================== */

/* --- 1. IMPORTACIONES (DEBEN IR PRIMERO SIEMPRE) --- */
@import url('variables.css'); /* <--- LO PRIMERO SIEMPRE */
@import url('components/navbar.css');
@import url('components/hero.css');
@import url('components/tools-section.css');
/*@import url('../tools/rod-finder/rod-finder.css'); */

/* --- 2. ESTILOS GENERALES Y BASE (DESPUÉS DE LAS IMPORTACIONES) --- */
body {
    background-color: #121212;
    color: #f0f0f0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    text-align: center;
    margin: 0;
}

.main-footer {
    background-color: var(--color-surface);
    padding: 30px;
    margin-top: 50px;
    border-top: 1px solid var(--color-border);
}

.contact-info {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
    color: var(--color-text-muted);
}

.contact-info a {
    color: var(--color-primary);
    text-decoration: none;
}

.main-footer {
    background-color: #1a1a1a;
    color: #b3b3b3;
    padding: 40px 20px 20px;
    margin-top: 60px;
    border-top: 1px solid #333;
    text-align: center;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto 30px;
    gap: 20px;
}

.footer-logo {
    height: 40px;
    margin-bottom: 10px;
    filter: grayscale(100%) brightness(1.5); /* Estilo elegante */
}

.footer-brand span {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: #f0f0f0;
}

.footer-link {
    color: #1e63b3;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-link:hover {
    color: #ffc107;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #333;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icon.linkedin:hover {
    background: #0077b5; /* Azul LinkedIn */
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid #222;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #666;
}