:root {
    --primary-color: #87CEEB;
    --text-color: #333;
    --background-color: #f5f5f5;
    --card-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: var(--background-color);
}

.navbar {
    width: 100%;
    background-color: #fff;
}

.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.header-btn {
    background-color: #66ccff;
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    display: inline-block;
    text-decoration: none;
}

.header-btn:hover {
    background-color: #5bb8e5;
}

.hero {
    text-align: center;
    padding: 3rem 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: var(--text-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.hero-text {
    color: #666;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7;
}

.calculadoras-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.calculadora-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: #66ccff;
    border-radius: 12px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.calculadora-card:hover {
    transform: translateY(-5px);
}

.icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
}

.icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.calculadora-card h2 {
    color: #ffffff;
    margin: 1rem 0;
    text-align: center;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 2rem;
    width: 90%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
}

.close {
    position: absolute;
    right: 1rem;
    top: 0.5rem;
    font-size: 2rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .calculadoras-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        padding: 1rem;
    }
}

/* Estilos del Footer */
footer {
    background-color: #f5f5f5;
    padding: 3rem 0 1rem 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-section {
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #666;
    margin: 0.5rem 0;
}

.social-links {
    margin-top: 1rem;
}

.social-links a {
    display: inline-block;
    margin: 0 0.5rem;
}

.social-links img {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.social-links img:hover {
    opacity: 1;
}

.footer-bottom {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #ddd;
}

.footer-bottom p {
    color: #888;
    font-size: 0.9rem;
}

/* Ajustes responsive */
@media (max-width: 768px) {
    footer {
        padding: 2rem 0 1rem 0;
    }
    
    .footer-section h3 {
        font-size: 1.2rem;
    }
}

.calculadora-btn {
    background-color: white;
    color: #66ccff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    margin-top: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-decoration: none;
    display: inline-block;
    z-index: 1; /* Para asegurar que el botón esté por encima */
}

.calculadora-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.footer-link {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #66ccff;
} 