/* Estilos globales para header y footer */

/* Estilos para navegación moderna */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: #66ccff;
    background-color: rgba(102, 204, 255, 0.1);
}

/* Botón CTA principal - solo "Escríbeme" */
.cta-btn {
    background-color: #66ccff;
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(102, 204, 255, 0.3);
}

.cta-btn:hover {
    background-color: #4db8ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(102, 204, 255, 0.4);
}

/* Dropdown para calculadoras */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 8px 0;
    z-index: 1000;
    border: 1px solid #e0e0e0;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.dropdown-content a:hover {
    background-color: #f8f9fa;
    color: #66ccff;
}

/* Menú mobile - hamburguesa */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 36px;
    height: 36px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    overflow: visible;
    -webkit-appearance: none;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
}

.mobile-menu-btn span {
    width: 24px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
    -webkit-transform-origin: center;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    -webkit-transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
    -webkit-transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    padding: 20px;
    z-index: 999;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav-link, .mobile-dropdown-btn {
    display: block;
    color: #333;
    text-decoration: none;
    padding: 12px 0;
    font-weight: 500;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-size: 16px;
    cursor: pointer;
}

.mobile-dropdown-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-dropdown-btn .arrow {
    transition: transform 0.3s ease;
}

.mobile-dropdown-btn.active .arrow {
    transform: rotate(180deg);
}

.mobile-dropdown-content {
    display: none;
    padding-left: 20px;
    background-color: #f8f9fa;
    border-radius: 6px;
    margin-top: 8px;
}

.mobile-dropdown-content.active {
    display: block;
}

.mobile-dropdown-content a {
    display: block;
    color: #666;
    text-decoration: none;
    padding: 8px 0;
    font-size: 14px;
}

.mobile-cta-btn {
    background-color: #66ccff;
    color: white !important;
    text-decoration: none;
    font-weight: 600;
    padding: 12px 20px;
    border-radius: 25px;
    text-align: center;
    margin-top: 16px;
    display: block;
}

/* Footer EEAT específico */
.footer-content-eeat {
    background-color: #f9f9f9;
    padding: 30px 20px;
    text-align: center;
    border-top: 1px solid #ddd;
}

.footer-main-title {
    margin: 0 0 20px 0;
    font-size: 22px;
    font-weight: bold;
    color: #333;
    text-align: center;
}

.footer-section {
    margin: 20px 0;
    text-align: center;
}

.footer-section p {
    margin: 8px 0;
    color: #555;
}

.footer-link {
    color: #66ccff;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: #777;
    font-size: 14px;
}

.autor-info {
    max-width: 600px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.autor-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.autor-details {
    text-align: left;
}



.autor-name {
    margin: 0;
    font-weight: bold;
    color: #333;
}

.autor-description {
    margin: 5px 0 0;
    font-size: 14px;
    color: #555;
}

.sobre-link {
    color: #66ccff !important;
    text-decoration: none;
}

.sobre-link:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        border-radius: 4px;
    }

    .navbar .container {
        position: relative;
    }

    .autor-info {
        flex-direction: column;
        text-align: center;
    }

    .autor-details {
        text-align: center;
    }
} 